[Biopython-dev] Bio.Motif and FASTA output

Bartek Wilczynski barwil at gmail.com
Wed Oct 27 10:34:52 UTC 2010


Thanks for spotting the problem. Fixed now.

cheers
Bartek

On Wed, Oct 27, 2010 at 12:22 PM, Peter <biopython at maubp.freeserve.co.uk>wrote:

> 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
>



-- 
Bartek Wilczynski
==================
Postdoctoral fellow
EMBL, Furlong group
Meyerhoffstrasse 1,
69012 Heidelberg,
Germany
tel: +49 6221 387 8433



More information about the Biopython-dev mailing list