Closed timholy closed 1 year ago
Note this requires #64
Hi Tim!
That is intended; when using generatemapping=true
and useidcoordinates=true
we are using the sequence coordinates in the sequence name of the Pfam MSA for generating the residue mapping. But, it fails because some columns have been removed. Therefore, the Pfam names indicate more residues than those in the sequences (as we do not change sequence names). So, the last read
should not include the generatemapping
and useidcoordinates
keyword arguments, as MIToS already saved the mapping annotations in the alignment (when we use the Stockholm format):
I have added a warning to inform the user about the pre-existing modifications and made the error a little more explicit:
Best regards
Thanks for the explanation, and the warning!
If I load a Pfam file, perform some manipulations, and then write it back out to disk, I can't load what I write: