New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of Gapped in PhyloXML as proxy for if aligned #2944
Comments
In |
It's nice to be able to guess It might be all right to make the is_aligned option mandatory, or default to |
I wasn't aware of any code using Note in practise the old |
True, the I see the That change might break round-tripping of |
That sounds worth trying - can I leave it with you? |
For #2046 I am trying to remove the use of the
Gapped
class, and adding explicit defaulting to"-"
as a gap character where necessary.The
to_alignment
method tests intest_PhyloXML.py
show that the PhyloXML code uses theGapped
alphabet encoded class as a proxy for if the sequence is aligned - possibly meaning it is part of an alignment (but not if it has a gap character).e.g. this does not work:
The test fails:
This has left out the ungapped sequence "AACCTTC" which was part of the alignment.
The text was updated successfully, but these errors were encountered: