Add API + tests for Swarm

You should close the file. You have two option here, either use a context manager so the file gets automatically closed, or just pass the `seq_path` variable directly to `parse_fasta` and it will take care of opening/closing the file.