rambaut / Seq-Gen

Sequence simulator
51 stars 17 forks source link

terminal whitespace in an input sequence causes failure to find tree #5

Closed ChrisHIV closed 7 years ago

ChrisHIV commented 7 years ago

When supplying relaxed phylip-format input sequences to act as ancestral sequences, SeqGen allows whitespace inside sequences, but crashes - "Tree is missing from end of sequence file" - if there's whitespace between the end of the sequence and the end of the line. e.g. "ACG T" is fine but "ACG T " is not. (Biopython inserts a space every 10 bases when outputting phylip, including one at the end if the number of bases is a multiple of 10.)