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.
Using a series of test files which I analyzed at commit ae06cd06ba6c5286257819752422ea8d3960a0ab, I confirmed that this PR has identical output on phospho data.
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.