Villen-Lab / pyAscore

A python package for fast post translational modification localization, powered by Cython.
https://pyascore.readthedocs.io/
MIT License
18 stars 5 forks source link

Allow terminal mods #22

Closed AnthonyOfSeattle closed 2 years ago

AnthonyOfSeattle commented 2 years ago

Currently, pyAscore can handle mods on residues of a defined type. However, n and c-terminal mods are a special breed which can be any amino acid, but are still modified. This PR will allow these terminal mods, and will just define them as a modification associated with the first or last amino acid in a peptide sequence. Currently, the command line interface assumes a lot in that if a mod is found in the sequence, and your mod mass matches that mod, pyAscore will attempt to localize it. This matches intuition so I will not change it in this current update.

AnthonyOfSeattle commented 2 years ago

Using a series of test files which I analyzed at commit ae06cd06ba6c5286257819752422ea8d3960a0ab, I confirmed that this PR has identical output on phospho data.