-
Notifications
You must be signed in to change notification settings - Fork 49
Handling / reporting of the peptide-spectrum-matches in case when peptide can originate both from target and decoy sequence #176
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
Comments
Hi Matteo, In the case you described, only the target match is retained. You should never see a PSM that is assigned to both a target and decoy protein. If you find such a case, please report it. The relevant pieces of code are below. We create a set of all target peptides and remove any decoy peptides that match a target peptide (line 203). sage/crates/sage/src/database.rs Lines 175 to 205 in 5e0a069
With recent updates to fasta chunking, we might need to add an additional check to prevent decoy annotations from being retained here (line 227) sage/crates/sage/src/database.rs Lines 221 to 235 in 5e0a069
This would be a good opportunity to add an extra test-case to Sage to confirm that fasta file chunking doesn't mess up decoy/target annotations. |
Hi!
I have here more of a question than a bug report.
Together with @theGreatHerrLebert we went through the source code in order to check what is the status of peptide-spectral-matches where the peptide could have both a target and a decoy protein parent.
It seems to us, that nothing is done in that case, both being likely reported. Could you confirm that is the case?
It seems there are multiple ways of dealing with that cases, which we would like to investigate. But in order to do so, we need to know what we start with. I don't if that situation requires any action, but perhaps adding column to the output containing either 0 for case of psms being uniquely from one source and some number > 0 for determining the other peptide for which that happened could be an option, though of course it all is easily track-able by simply sorting outputs.
Best wishes!
Matteo Lacki
The text was updated successfully, but these errors were encountered: