[Biopython] need help ,parse fasta format
ning luwen
bioinformaticsing at gmail.com
Wed May 5 04:50:43 EDT 2010
Hi,
the code like bellow:
x=SeqRecord(Seq(temp),id=rec.id,description=rec.description)
y=x.format('fasta')
print type(y)
z=SeqIO.parse(y,'fasta')
I generator a fasta sequence y, but y is str type, then can not be
parse by SeqIO.
Is there anyway not save y into a file, then parse it by open the saved file?
--
regards,
luwening,bioinformatics center in uestc:
www.bioinformaticsinuestc.cz.cc
More information about the Biopython
mailing list