MSGFPlus / msgfplus

MS-GF+ (aka MSGF+ or MSGFPlus) performs peptide identification by scoring MS/MS spectra against peptides derived from a protein sequence database.
Other
72 stars 36 forks source link

Problem with MzidToTsvConverter in WSL #149

Closed JannikSchneider12 closed 5 months ago

JannikSchneider12 commented 5 months ago

Hey,

I installed msgf+ in WSL and ran the tool on my mgf file. But now when I want to convert it, I am getting this error and I dont know why:

(base) jannik@DELLXPS:~/msgfplus/MzidToTsvConverter$ mono MzidToTsvConverter.exe -mzid /home/jannik/data/consensus_spectra/falcon_run_1_50_conservative.mzid

Error: Unrecognized argument name: home/jannik/data/consensus_spectra/falcon_run_1_50_conservative.mzid

Argument parsing failed: Unknown arguments found

Does someone has an idea what could be the problem?

Thanks for your time and help:)

FarmGeek4Life commented 5 months ago

Please put the argument in quotes, like "/home/jannik/data/consensus_spectra/falcon_run_1_50_conservative.mzid"


From: Jannik Schneider @.> Sent: Tuesday, January 9, 2024 3:47:23 AM To: MSGFPlus/msgfplus @.> Cc: Subscribed @.***> Subject: [MSGFPlus/msgfplus] Problem with MzidToTsvConverter in WSL (Issue #149)

Check twice before you click! This email originated from outside PNNL.

Hey,

I installed msgf+ in WSL and ran the tool on my mgf file. But now when I want to convert it, I am getting this error and I dont know why:

(base) @.***:~/msgfplus/MzidToTsvConverter$ mono MzidToTsvConverter.exe -mzid /home/jannik/data/consensus_spectra/falcon_run_1_50_conservative.mzid

Error: Unrecognized argument name: home/jannik/data/consensus_spectra/falcon_run_1_50_conservative.mzid

Argument parsing failed: Unknown arguments found

Does someone has an idea what could be the problem?

Thanks for your time and help:)

— Reply to this email directly, view it on GitHubhttps://github.com/MSGFPlus/msgfplus/issues/149, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABPPX5MDEMDL4UAL7IOMBVDYNUU4XAVCNFSM6AAAAABBS7DFBCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TEMRRGQZTANY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

JannikSchneider12 commented 5 months ago

Hey,

I also tried it, but the same error occurs:

(base) jannik@DELLXPS:~/msgfplus/MzidToTsvConverter$ mono MzidToTsvConverter.exe -mzid "/home/jannik/data/consensus_spectra/falcon_run_1_50_conservative.mzid"

Error: Unrecognized argument name: home/jannik/data/consensus_spectra/falcon_run_1_50_conservative.mzid

Argument parsing failed: Unknown arguments found

FarmGeek4Life commented 5 months ago

What is happening is the command line parser it uses supports both '-mzid' and '/mzid', and because the path starts with '/' it thinks it's an argument name, not the value, and I hoped the quotes would bypass that but they did not.

Possible options for you to get around this: change -mzid /home/jannik/data/consensus_spectra/falcon_run_1_50_conservative.mzid to:

JannikSchneider12 commented 5 months ago

The second option worked for me. Thank you for the explanation and your help