# HG changeset patch # User galaxyp # Date 1615907523 0 # Node ID da885ca16cb27a33e1f39e3e4f9da22de9863dbe # Parent 1beff3ddce588dd7a39f5afc193c0740c32b4fb3 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 44a20633e04b2396fad4b568904a257769b2bbc1" diff -r 1beff3ddce58 -r da885ca16cb2 fasta_cli.xml --- a/fasta_cli.xml Wed Jan 20 13:29:07 2021 +0000 +++ b/fasta_cli.xml Tue Mar 16 15:12:03 2021 +0000 @@ -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 -r 1beff3ddce58 -r da885ca16cb2 ident_params.xml --- a/ident_params.xml Wed Jan 20 13:29:07 2021 +0000 +++ b/ident_params.xml Tue Mar 16 15:12:03 2021 +0000 @@ -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 -r 1beff3ddce58 -r da885ca16cb2 macros_basic.xml --- a/macros_basic.xml Wed Jan 20 13:29:07 2021 +0000 +++ b/macros_basic.xml Tue Mar 16 15:12:03 2021 +0000 @@ -2,17 +2,18 @@ + - + - + 4 - 4.0.12 + 4.0.22 0 - 2.0.9 + 2.0.15 0 diff -r 1beff3ddce58 -r da885ca16cb2 peptide_shaker.xml --- a/peptide_shaker.xml Wed Jan 20 13:29:07 2021 +0000 +++ b/peptide_shaker.xml Tue Mar 16 15:12:03 2021 +0000 @@ -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 -r 1beff3ddce58 -r da885ca16cb2 searchgui.xml --- a/searchgui.xml Wed Jan 20 13:29:07 2021 +0000 +++ b/searchgui.xml Tue Mar 16 15:12:03 2021 +0000 @@ -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) + && + + echo '>log_folder:' && + + ls -l \$cwd/log_folder && + + mv output/searchgui_out.zip searchgui_out.zip && - (mv output/searchgui_out.zip searchgui_out.zip 2>> $temp_stderr) - - && - - (zip -u searchgui_out.zip searchgui.properties 2>> $temp_stderr); - - cat $temp_stderr 2>&1; + zip -u searchgui_out.zip searchgui.properties ]]>