[Biopython] SeqIO.dict

Willis, Jordan R jordan.r.willis at Vanderbilt.Edu
Thu Jun 10 22:47:36 UTC 2010


Hello Community.

I was wonderig if you could convert a dictionary object back into a fasta file.


Dictionary = SeqIO.to_dict(SeqIO.parse('my.file', "fasta")

Removed some objects from dictionary....

SeqIO.write(Dictionary, 'my.file', "fasta")


This is how I have removed items from my.file but I need to convert it back into a fasta file so it can be read by blast.

Thanks.




More information about the Biopython mailing list