Skip to content

Commit 7d77653

Browse files
committed
Update syntax shown at the command line
1 parent f7b29dd commit 7d77653

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/main/java/edu/ucsd/msjava/params/ParamManager.java

+9-3
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ public void printUsageInfo() {
9292
System.out.println(example);
9393

9494
System.out.println();
95-
System.out.println("Documentation: https://github.com/MSGFPlus/msgfplus");
95+
System.out.println();
96+
System.out.println("For Thermo .raw files, obtain a centroided .mzML file using MSConvert, which is part of ProteoWizard (http://proteowizard.sourceforge.net/)");
97+
System.out.println(" MSConvert.exe DatasetName.raw --filter \"peakPicking true 1-\" --mzML --32");
98+
System.out.println();
99+
System.out.println("Documentation: https://msgfplus.github.io/msgfplus/");
100+
System.out.println("Releases: https://github.com/MSGFPlus/msgfplus/releases");
96101
}
97102

98103
public void printValues() {
@@ -150,6 +155,7 @@ public void addSpecFileParam() {
150155
specFileParam.addFileFormat(SpecFileFormat.DTA_TXT);
151156
specFileParam.addFileFormat(FileFormat.DIRECTORY);
152157
specFileParam.fileMustExist();
158+
specFileParam.setAdditionalDescription("Spectra should be centroided (see below for MSConvert example). Profile spectra will be ignored.");
153159
addParameter(specFileParam);
154160
}
155161

@@ -372,8 +378,8 @@ public void addMSGFPlusParams() {
372378
maxMissedCleavages.defaultValue(-1);
373379
addParameter(maxMissedCleavages);
374380

375-
addExample("Example (high-precision): java -Xmx3500M -jar MSGFPlus.jar -s test.mzML -d IPI_human_3.79.fasta -inst 1 -t 20ppm -ti -1,2 -ntt 2 -tda 1 -o testMSGFPlus.mzid");
376-
addExample("Example (low-precision): java -Xmx3500M -jar MSGFPlus.jar -s test.mzML -d IPI_human_3.79.fasta -inst 0 -t 0.5Da,2.5Da -ntt 2 -tda 1 -o testMSGFPlus.mzid");
381+
addExample("Example (high-precision): java -Xmx3500M -jar MSGFPlus.jar -s test.mzML -d IPI_human_3.79.fasta -inst 1 -t 20ppm -ti -1,2 -ntt 2 -tda 1 -o testMSGFPlus.mzid -mod Mods.txt");
382+
addExample("Example (low-precision): java -Xmx3500M -jar MSGFPlus.jar -s test.mzML -d IPI_human_3.79.fasta -inst 0 -t 0.5Da,2.5Da -ntt 2 -tda 1 -o testMSGFPlus.mzid -mod Mods.txt");
377383

378384
// Hidden parameters
379385
FileParameter dbIndexDirParam = new FileParameter("dd", "DBIndexDir", "Path to the directory containing database index files");

0 commit comments

Comments
 (0)