Closed ypriverol closed 3 months ago
This option is supported, but only if you use a parameter file
(using the -conf
switch, as described at https://msgfplus.github.io/msgfplus/MSGFPlus.html)
Browse parameter files at: https://github.com/MSGFPlus/msgfplus/blob/master/docs/ParameterFiles/
Example parameter file with this option (though it's currently commented out using #
):
MSGFPlus_PartTryp_MetOx_20ppmParTol.txt
@alchemistmatt do you think would be possible to implement this in the command-line, I could try to do a PR?
The parameter is technically usable from the command line, with "-minNumPeaks n", but it's hidden from all of the help documentation.
https://github.com/MSGFPlus/msgfplus/blob/master/src/main/java/edu/ucsd/msjava/params/ParamManager.java See lines 112, 708, and 803
From: Yasset Perez-Riverol @.> Sent: Tuesday, March 26, 2024 2:36:34 AM To: MSGFPlus/msgfplus @.> Cc: Subscribed @.***> Subject: Re: [MSGFPlus/msgfplus] number of peaks per spectrum (Issue #152)
Check twice before you click! This email originated from outside PNNL.
@alchemistmatthttps://github.com/alchemistmatt do you think would be possible to implement this in the command-line, I could try to do a PR?
— Reply to this email directly, view it on GitHubhttps://github.com/MSGFPlus/msgfplus/issues/152#issuecomment-2019940590, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABPPX5KSXRMZAGVA4BNSXK3Y2EXQ3AVCNFSM6AAAAABFHZY6PCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJZHE2DANJZGA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Yes. Actually, I was checking the code now and in fact all the parameters can be used from the code ;) I was actually reading that line now. Thanks a lot.
I will test that line now:
-minNumPeaks 15
I will close the issue ;)
I updated the documentation to mention -minNumPeaks
https://msgfplus.github.io/msgfplus/MSGFPlus.html
Hi @alchemistmatt :
We are using msgf+ in combination with other search engines like comet and SAGE and I just saw that those search engines have a filter for the number of peaks in the spectrum, comet = 10, sage = 15. Im wondering if this could be possible to be implemented in msgf+ or if is already possible to filter based in number of peaks.
Regards Yasset