Read FASTA files with BioPython
Wednesday, December 5th, 2007Here are several ways to parse a FASTA file into BioPython Seq objects.
Getting a FASTA file into Python is as simple as importing the necessary functions from BioPython, opening the file, and calling a parser on the file. Then you have sequences in BioPython that can be readily used. There are a couple of different ways to parse the file, depending on your preference. Choices are: (more…)