Closed kudpolser closed 3 years ago
Could you format your mgf files to only keep something like "20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.5.5.2" in titles of all spectra in your mgf file and then redo the peptide identification?
Before formatting: TITLE=20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.5.5.2 File:"20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.raw", NativeID:"controllerType=0 controllerNumber=1 scan=5"
After formatting: TITLE=20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.5.5.2
Bo
Thank you!
Dear developers,
I've got one more question. I tried to run your tool on our own data, but I got an error
Exception in thread "main" java.io.IOException: Spectrum '20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.3515.3515.2 File:20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.raw, NativeID:controllerType=0 controllerNumber=1 scan=3515' in mgf file '20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.mgf' not found!
Now my titles in the mgf file look like this:
TITLE=20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.5.5.2 File:"20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.raw", NativeID:"controllerType=0 controllerNumber=1 scan=5"
, but there are no"
characters in the error message.I pasted below the whole log message from nextflow.
log message from nextflow
``` executor > local (5) [7e/fbce9b] process > calc_basic_features (d2) [100%] 1 of 1 ✔ [aa/e8b050] process > pga_fdr_control (d2) [100%] 1 of 1 ✔ [49/cb2f1c] process > generate_train_prediction_data (d2) [100%] 1 of 1 ✔ [e7/20a741] process > run_pdeep2 (d2) [100%] 1 of 1 ✔ [5d/b364fe] process > process_pDeep2_results (d2) [100%] 1 of 1, failed: 1 ✘ [- ] process > train_autoRT - [- ] process > predicte_autoRT - [- ] process > generate_percolator_input - [- ] process > run_percolator - [- ] process > generate_pdv_input - Error executing process > 'process_pDeep2_results (d2)' Caused by: Process `process_pDeep2_results (d2)` terminated with an error exit status (2) Command executed: #!/bin/sh mv d2_pdeep2_prediction_results.txt d2_pdeep2_prediction_results.txt.mgf Rscript /home/pkudryavtseva/DeepRescore/bin/format_pDeep2_titile.R d2_pdeep2_prediction.txt d2-rawPSMs.txt ./d2_format_titles.txt java -Xmx92g -cp /home/pkudryavtseva/DeepRescore/bin/PDV-1.6.1.beta.features/PDV-1.6.1.beta.features-jar-with-dependencies.jar PDVGUI.GenerateSpectrumTable ./d2_format_titles.txt 20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.mgf d2_pdeep2_prediction_results.txt.m gf ./d2_spectrum_pairs.txt comet mkdir sections sections_results Rscript /home/pkudryavtseva/DeepRescore/bin/similarity/devide_file.R ./d2_spectrum_pairs.txt 16 ./sections/ for file in ./sections/* do name=`basename $file` Rscript /home/pkudryavtseva/DeepRescore/bin/similarity/calculate_similarity_SA.R $file ./sections_results/${name}_results.txt & done wait awk 'NR==1 {header=$_} FNR==1 && NR!=1 { $_ ~ $header getline; } {print}' ./sections_results/*_results.txt > ./d2_similarity_SA.txt Command exit status: 2 Command output: (empty) Command error: Exception in thread "main" java.io.IOException: Spectrum '20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.3515.3515.2 File:20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.raw, NativeID:controllerType=0 controllerNumber=1 scan=3515' in mgf file '20150410_QE3_UPLC9_DBJ_SA_46fractions_Rep1_1.mgf' not found! ✖ dplyat com.compomics.util.experiment.massspectrometry.SpectrumFactory.getSpectrum(SpectrumFactory.java:788) ✖ dplyat com.compomics.util.experiment.massspectrometry.SpectrumFactory.getSpectrum(SpectrumFactory.java:730) ✖ dplyat PDVGUI.GenerateSpectrumTable.process(GenerateSpectrumTable.java:84) ✖ dplyat PDVGUI.GenerateSpectrumTable.I would be grateful if you can help me with this problem. Best regards, Polina