[BioPython] Sequence from Fasta
Stefanie Lück
lueck at ipk-gatersleben.de
Sun Jun 29 14:42:47 UTC 2008
Hi!
Is there a way to extract only the sequence (full length) from a fasta file?
If I try the code from page 10 in the tutorial, I get of course this:
Seq('CGTAACAAGGTTTCCGTAGGTGAACCTGCGGAAGGATCATTGATGAGACCGTGGAATAAA ...', SingleLetterAlphabet())
But I'm looking for something like this:
Name Sequence without linebreak
Example:
MySequence atgcgcgctcggcgcgctcgfcgcgccccccatggctcgcgcactacagcg
MySequence2 atgcgctctgcgcgctcgatgtagaatatgagatctctatgagatcagcatca
etc.
Regards
Stefanie
More information about the Biopython
mailing list