xflouris / libpll

Phylogenetic Likelihood Library
GNU Affero General Public License v3.0
26 stars 6 forks source link

FASTA parser: problem with DOS lile endings #71

Closed amkozlov closed 8 years ago

amkozlov commented 8 years ago

FASTA parser doesn't handle dos/windows style newlines (0x0D 0x0A) properly.

xflouris commented 8 years ago

This is handled by the map pll_map_fasta (in maps.c) and 10,13 are silently stripped in the sequence. For the sequence headers I've added the trimming.