[BioPython] how to send a seq object to an outgoing Fasta stream

Andrew Nunberg anunberg at oriongenomics.com
Fri Sep 19 17:51:12 EDT 2003


stillnew to biopython and i am coming from the other biop project..

If i have a seq object or a seqrecord object and I want to then print 
it in FASTA format, what should I do?
I noticed that the Fasta.Record object does not take any arguments when 
intialized and I cant seem to find a way to define an outward going 
FASTA stream(or do you even do this in pythone) like in bioperl :
$out=Bio::SeqIO->new(-format=>'fasta);
$out->write_seq($seq_obj)

What is the equiv in biopython?
Thanks

---------------------------------------------------
Andrew Nunberg Ph.D
Bioinfomagician
Orion Genomics
4041 Forest Park
St Louis, MO
314-615-6989
anunberg at oriongenomics.com
www.oriongenomics.com



More information about the BioPython mailing list