diff --git a/tools/peptideshaker/fasta_cli.xml b/tools/peptideshaker/fasta_cli.xml index af30c6394..e3da860cc 100755 --- a/tools/peptideshaker/fasta_cli.xml +++ b/tools/peptideshaker/fasta_cli.xml @@ -1,4 +1,8 @@ - + Appends decoy sequences to FASTA files @@ -11,7 +15,6 @@ > $temp_stderr && - mv '${output_db_name}' output && - cat $temp_stderr 2>&1; + searchgui -Djava.awt.headless=true eu.isas.searchgui.cmd.FastaCLI --exec_dir="./bin/" -temp_folder `pwd` -in '${input_database.display_name}' -decoy -decoy_flag $database_processing_options.decoy_tag -suffix $database_processing_options.decoy_type -decoy_suffix $database_processing_options.decoy_file_tag && + mv '${output_db_name}' output ]]> diff --git a/tools/peptideshaker/ident_params.xml b/tools/peptideshaker/ident_params.xml index 07e972fb1..6e6accd04 100755 --- a/tools/peptideshaker/ident_params.xml +++ b/tools/peptideshaker/ident_params.xml @@ -1,4 +1,8 @@ - + Sets the identification parameters to be used in SearchGUI and PeptideShaker apps @@ -12,7 +16,6 @@ $temp_stderr && echo 'running Identification Parameters CLI' && ##################################################### ## generate IdentificationParameters for SearchGUI ## ##################################################### - (searchgui eu.isas.searchgui.cmd.IdentificationParametersCLI + searchgui eu.isas.searchgui.cmd.IdentificationParametersCLI --exec_dir="./bin/" -out './IdentificationParametersOutput.par' @@ -614,10 +616,6 @@ #end if -fasta_target_decoy 0 -fasta_decoy_file_tag $advanced_options.database_processing_options.decoy_file_tag - - 2> $temp_stderr) && - - cat $temp_stderr 2>&1; ]]> diff --git a/tools/peptideshaker/macros_basic.xml b/tools/peptideshaker/macros_basic.xml index a3aa02edc..ae2ded89e 100755 --- a/tools/peptideshaker/macros_basic.xml +++ b/tools/peptideshaker/macros_basic.xml @@ -2,17 +2,18 @@ + - + - + 4 - 4.0.12 + 4.0.22 0 - 2.0.9 + 2.0.15 0 diff --git a/tools/peptideshaker/peptide_shaker.xml b/tools/peptideshaker/peptide_shaker.xml index 45e567862..78aea7f04 100755 --- a/tools/peptideshaker/peptide_shaker.xml +++ b/tools/peptideshaker/peptide_shaker.xml @@ -1,4 +1,9 @@ - + + Perform protein identification using various search engines based on results from SearchGUI @@ -11,22 +16,23 @@ unzip - - +--> + +&2 cat resources/*.log" EXIT; mkdir output_reports && cwd=`pwd` && export HOME=\$cwd && - echo "" > $temp_stderr && - ln -s '$searchgui_input' searchgui_input.zip && ## OPTIONAL MAIN PARAMETERS @@ -64,7 +70,7 @@ ###################### ## PeptideShakerCLI ## ###################### - (peptide-shaker -Djava.awt.headless=true eu.isas.peptideshaker.cmd.PeptideShakerCLI + peptide-shaker -Djava.awt.headless=true eu.isas.peptideshaker.cmd.PeptideShakerCLI -gui 0 -temp_folder \$cwd/PeptideShakerCLI -log \$cwd/resources @@ -182,8 +188,6 @@ #end if #end if - 2>> $temp_stderr) - ## If the user chose to zip the results but also export reports out of the zip, we have to unzip them #if $exporting_options.zip_conditional.zip_output_boolean == 'zip' and $exporting_options.zip_conditional.export_reports_when_zip and (len(output_reports_list)>0 or $exporting_followup_boolean): ## This unzipping command creates a reports folder into the current folder! @@ -238,6 +242,10 @@ #if '11' in $output_reports_list: && find \$cwd/output_reports -name '*Extended_PSM_Report.txt' -exec bash -c 'mv "$0" "psmx.txt"' {} \; #end if + ## the last ; is removed from the generated command line + ## thus we need to make sure that the above `find ... -exec ... \;` + ## is not the last command + && true #end if ## Moving followup analysis to the root folder (it is necessary if zip option was not chosen, or it was chosen but also exporting out of the zip) @@ -259,7 +267,6 @@ && mv \$cwd/output_reports/inclusion_list.txt \$cwd/inclusion_list.txt #end if #end if - && cat $temp_stderr 2>&1; ]]> @@ -626,7 +633,6 @@ - diff --git a/tools/peptideshaker/searchgui.xml b/tools/peptideshaker/searchgui.xml index dfbd6006f..07b865eb5 100755 --- a/tools/peptideshaker/searchgui.xml +++ b/tools/peptideshaker/searchgui.xml @@ -1,4 +1,8 @@ - + Perform protein identification using various search engines and prepare results for input to Peptide Shaker @@ -11,24 +15,24 @@ + &2 cat log_folder/*.log" EXIT; + cwd=`pwd`; export HOME=\$cwd; - echo "" > $temp_stderr && - ## echo the search engines to run (single quotes important because X!Tandem) echo '$search_engines_options.engines'; echo 'DB: ${input_fasta_file.element_identifier} sequences: ${input_fasta_file.metadata.sequences}'; @@ -59,7 +63,7 @@ ## Search CLI ## ################ echo 'running search gui' && - (searchgui -Djava.awt.headless=true eu.isas.searchgui.cmd.SearchCLI + searchgui -Djava.awt.headless=true eu.isas.searchgui.cmd.SearchCLI --exec_dir="\$cwd/${bin_dir}" -spectrum_files \$cwd -fasta_file "\$cwd/input_fasta_file.fasta" @@ -150,17 +154,17 @@ ## mgf and database in output -output_data 1 - 2>> $temp_stderr) - && - (mv output/searchgui_out.zip searchgui_out.zip 2>> $temp_stderr) + echo '>log_folder:' && - && + ls -l \$cwd/log_folder && + + mv output/searchgui_out.zip searchgui_out.zip - (zip -u searchgui_out.zip searchgui.properties 2>> $temp_stderr); + && - cat $temp_stderr 2>&1; + zip -u searchgui_out.zip searchgui.properties ]]>