Skip to content
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

The number of target peptides is not the same as the number of decoy peptides #468

Open
zrolfs opened this issue Mar 25, 2019 · 0 comments

Comments

@zrolfs
Copy link
Contributor

zrolfs commented Mar 25, 2019

This appears to be an N-terminal Methionine related issue. It is observed independent of variable modifications, but disappears without an M on the N-terminus. I suspect there are two problems: one with an N-terminal duplication and another with variable modifications generating combinations (Example: MARM -> MAR, M(Ox)AR, M, and M(Ox) [4] vs the decoy MMRA -> MMR, M(Ox)MR, MM(Ox)R, M(Ox)M(Ox)R, and A [5]).

Here's a unit test that fails:
[Test]
public static void DecoyIsBroken()
{
Protein targetProtein = new Protein("MPRTEINSEQENCEWITHAKANDANRANDSMSTFF", "accession1");
var decoyProtein = DecoyProteinGenerator.GenerateDecoys(new List { targetProtein }, DecoyType.Reverse)[0];
DigestionParams dp = new DigestionParams();
var targetPeptides = targetProtein.Digest(dp, new List(), new List()).ToList();
var decoyPeptides = decoyProtein.Digest(dp, new List(), new List()).ToList();
Assert.AreEqual(targetPeptides.Count, decoyPeptides.Count);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant