When working with a start loss variant and using the AssemblyMapper to obtain the p. genotype the return value is hard coded to return the tree letter amino acid value "Met1?" even when configured to return changes using single letter amino acids.
Expected behavior
When the SequenceVariant is configured to use single letter amino acids then the call to var_p.format should return a single letter amino acid representation of the change.
Additional context
The fix for this issue will be fairly simple. In edit.py we just need to check the configuration and return "p.Met?" or "p.M?".
When working with a start loss variant and using the AssemblyMapper to obtain the p. genotype the return value is hard coded to return the tree letter amino acid value "Met1?" even when configured to return changes using single letter amino acids.
To Reproduce
Expected behavior When the SequenceVariant is configured to use single letter amino acids then the call to
var_p.format
should return a single letter amino acid representation of the change.Additional context The fix for this issue will be fairly simple. In edit.py we just need to check the configuration and return "p.Met?" or "p.M?".