[BioPython] Fasta parser, minor (bug/feature?)
Sebastian Bassi
sbassi at genesdigitales.com
Thu Aug 25 14:59:12 EDT 2005
Peter Wilkinson wrote:
> It seems that the fasta parser retains the os specific line endings when
> it stores the title and sequence in the Record object, so I have to
> write out something like this when I read a file from working in windows
> (eeeeek), then display using a true text editor like Context:
....
I've just run into this problem too!. But this seems that is something
that changed. And I will tell why I think so:
I made a script on June 2004 and it worked as expected (without showing
double spacing). Then I change PC and installed Py2.4 and last biopython
(1.4). Today I run the same program and it printed the fasta format with
double space (see atached example).
So I think this a bug caused by either Python 2.4 or BioPy1.4 :)
>QH_CA_Contig1507for
ATTACGGTCGGGGAGTGGATCCGATATCGATATGATGGTAGGGATCCCTAACTCGCGATCTTCAATACGT
TGCTGCAAGTCGTGACAATTCATTTGATTGGGTATGGAGAAACATCATGAGTTATCCGGATGTCAAATTT
CCTTACATAGCAGTTGGTAACGAGGTCAACCCATCCGATGGCACATTGGCTCCATTGGTTCATCCGGCTT
TGACCAACATCCAAGAAGCTGTCTCGTTTTATGGCCTCAAGGATCAAATCAAAGTTTCAACTTCGATCGA
CACATCTATGATTGGAGTTAGTTATCCTCCGTCACAAGGTGCATTCAGCGATGATGCCCGTGCGTACATA
GACCCGATCATCGGGTTCCTAGTTGCCATCAATGCACCATTGTTGGTTAATGTCTATCCATATTTCAGTT
ACACAGGAAATCCGACACAGATATCACTAGCCTATGCAACATTTACTTCTCCTGGAACCGTAGTACAAGA
TGGAGCAAATGGATACCAAAACCTTTTTGACGCGATAGTAGATGCGATGTACTCAGCGTTAGAGAGGGCC
More information about the BioPython
mailing list