[Biopython-dev] Bio.Motif and FASTA output
Peter
biopython at maubp.freeserve.co.uk
Wed Oct 27 06:22:59 EDT 2010
Hi Bartek,
I noticed a concern with one of your examples in the tutorial, going
from a Motif object to FASTA format,
>>> print m.format("fasta")
> instance 0
TATAA
> instance 1
TATTA
> instance 2
TATAA
> instance 3
TATAA
Our FASTA parser will treat that has having no identifiers (because
it goes greater than sign, space, text). How about this:
>>> print m.format("fasta")
>instance0
TATAA
>instance1
TATTA
>instance2
TATAA
>instance3
TATAA
With the above output, each sequence gets a unique identifier.
Peter
More information about the Biopython-dev
mailing list