# HG changeset patch # User galaxyp # Date 1537015855 14400 # Node ID fec15a483a5c86eda143404713a4413eec708120 # Parent f63401dd6cbb53f73b27c488636d5876051932fe planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 69b2ae0ff05482e85ee086005462e7859b383064 diff -r f63401dd6cbb -r fec15a483a5c macros.xml --- a/macros.xml Wed Jul 11 08:14:05 2018 -0400 +++ b/macros.xml Sat Sep 15 08:50:55 2018 -0400 @@ -2,7 +2,10 @@ - + + + + @@ -55,51 +58,31 @@
- - - - + - - - - - - - - - - - + + - - - - - - - - - - - + + + + + + + + + + - - - - - - diff -r f63401dd6cbb -r fec15a483a5c searchgui.xml --- a/searchgui.xml Wed Jul 11 08:14:05 2018 -0400 +++ b/searchgui.xml Sat Sep 15 08:50:55 2018 -0400 @@ -6,11 +6,11 @@ macros.xml - searchgui - zip + searchgui + zip - + > searchgui.properties; + echo 'searchgui.version=@SEARCHGUI_VERSION@' >> searchgui.properties; #for $mgf in $peak_lists: #set $input_name = $mgf.display_name.split('/')[-1].replace(".mgf", "") + ".mgf" ln -s -f '${mgf}' '${input_name}'; #set $encoded_id = $__app__.security.encode_id($mgf.id) - echo "Spectrums:${mgf.display_name}(API:${encoded_id}) "; + echo 'Spectrums:${mgf.display_name}(API:${encoded_id})'; #end for ##ln -s "${input_database}" input_database.fasta; cp "${input_database}" input_database.fasta; ########################################### + #### Set paths #### + ########################################### + echo 'Setting paths' && + searchgui eu.isas.searchgui.cmd.PathSettingsCLI + --exec_dir="\$cwd/${bin_dir}" + -temp_folder \$cwd + -log \$cwd/searchgui.log 2>> $temp_stderr && + + ########################################### #### Creating decoy database #### ########################################### #if $protein_database_options.create_decoy: - echo "Creating decoy database."; - searchgui eu.isas.searchgui.cmd.FastaCLI --exec_dir="\$cwd/${bin_dir}" -in input_database.fasta -decoy && + echo 'Creating decoy database.' && + searchgui eu.isas.searchgui.cmd.FastaCLI + --exec_dir="\$cwd/${bin_dir}" + -in input_database.fasta + -decoy 2>> $temp_stderr && rm input_database.fasta && cp input_database_concatenated_target_decoy.fasta input_database.fasta && ## ln -sf input_database_concatenated_target_decoy.fasta input_database.fasta; @@ -53,6 +65,7 @@ ##################################################### ## generate IdentificationParameters for SearchGUI ## ##################################################### + echo 'setting identification parameters' && (searchgui eu.isas.searchgui.cmd.IdentificationParametersCLI --exec_dir="\$cwd/${bin_dir}" -out SEARCHGUI_IdentificationParameters.par @@ -323,9 +336,9 @@ ################ ## Search CLI ## ################ + echo 'running search gui' && (searchgui -Djava.awt.headless=true eu.isas.searchgui.cmd.SearchCLI --exec_dir="\$cwd/${bin_dir}" - -temp_folder `pwd` -spectrum_files \$cwd -output_folder \$cwd/output -id_params SEARCHGUI_IdentificationParameters.par @@ -1097,7 +1110,7 @@ - + @@ -1107,7 +1120,7 @@ - +