# HG changeset patch # User galaxyp # Date 1521536976 14400 # Node ID f35bb9d0c93eab852b8196a1e6f8e2ccaa9002b7 # Parent 7963340ab569bcb0da4025ede6193df3d89b54f7 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 981be1bde91d6d565693cd691553f77465e653bb diff -r 7963340ab569 -r f35bb9d0c93e peptide_shaker.xml --- a/peptide_shaker.xml Mon Mar 05 10:09:34 2018 -0500 +++ b/peptide_shaker.xml Tue Mar 20 05:09:36 2018 -0400 @@ -1,4 +1,4 @@ - + Perform protein identification using various search engines based on results from SearchGUI @@ -6,7 +6,7 @@ macros.xml - peptide-shaker + peptide-shaker @@ -36,6 +36,20 @@ -id_params \$cwd/SEARCHGUI_IdentificationParameters.par -out \$cwd/peptideshaker_output.cpsx -zip \$cwd/peptideshaker_output.zip + #set $cleaned_list = str($outputs).split(',') + #if 'cps' in $cleaned_list: + #silent $cleaned_list.remove('cps') + #end if + #if 'mzidentML' in $cleaned_list: + #silent $cleaned_list.remove('mzidentML') + #end if + #if 'zip' in $cleaned_list: + #silent $cleaned_list.remove('zip') + #end if + #if len($cleaned_list) > 0 + ## Only numbers are left over. These corresponds to different reports. + -reports #echo ','.join($cleaned_list)# + #end if -threads "\${GALAXY_SLOTS:-12}" @@ -107,12 +121,12 @@ -organization_email "galaxyp@umn.edu" -organization_address "Minneapolis, MN 55455, Vereinigte Staaten" #end if - 2>> $temp_stderr) + 2>> $temp_stderr) && #end if ## Generate Reports if the user has selected one of the 8 additional reports - ## 'cps', 'mzidentML' and 'zip' are not valid options for PeptideShaker + ## 'cps', 'mzidentML' and 'zip' are not valid options for PeptideShaker ## and will not be passed to the command line #if set(["0","1","2","3","4","5","6","7"]).intersection( set( str( $outputs ).split(',') ) ): @@ -305,7 +319,7 @@ 'mzidentML' in outputs - + 'cps' in outputs @@ -406,6 +420,18 @@ + + + + + + + + + + + + **What it does** diff -r 7963340ab569 -r f35bb9d0c93e searchgui.xml --- a/searchgui.xml Mon Mar 05 10:09:34 2018 -0500 +++ b/searchgui.xml Tue Mar 20 05:09:36 2018 -0400 @@ -1,4 +1,4 @@ - + Perform protein identification using various search engines and prepare results for input to Peptide Shaker @@ -200,9 +200,10 @@ #end if *# - #* Not working in tests #if $advanced_options.tide.tide_advanced == "yes" - -tide_num_ptms ${advanced_options.tide.tide_num_ptms} + #if str($advanced_options.tide.tide_max_spectrum_mz).strip() != '': + -tide_num_ptms ${advanced_options.tide.tide_max_spectrum_mz} + #end if -tide_num_ptms_per_type ${advanced_options.tide.tide_num_ptms_per_type} -tide_min_pep_length ${advanced_options.tide.tide_min_pep_length} -tide_max_pep_length ${advanced_options.tide.tide_max_pep_length} @@ -210,8 +211,6 @@ -tide_max_prec_mass ${advanced_options.tide.tide_max_prec_mass} -tide_decoy_format ${advanced_options.tide.tide_decoy_format} -tide_keep_terminals ${advanced_options.tide.tide_keep_terminals} - - -tide_output_folder ${advanced_options.tide.tide_output_folder} -tide_print_peptides ${advanced_options.tide.tide_print_peptides} -tide_verbosity ${advanced_options.tide.tide_verbosity} -tide_monoisotopic ${advanced_options.tide.tide_monoisotopic} @@ -221,7 +220,9 @@ -tide_max_psms ${advanced_options.tide.tide_max_psms} -tide_compute_p ${advanced_options.tide.tide_compute_p} -tide_min_spectrum_mz ${advanced_options.tide.tide_min_spectrum_mz} - -tide_max_spectrum_mz ${advanced_options.tide.tide_max_spectrum_mz} + #if str($advanced_options.tide.tide_max_spectrum_mz).strip() != '': + -tide_max_spectrum_mz ${advanced_options.tide.tide_max_spectrum_mz} + #end if -tide_min_spectrum_peaks ${advanced_options.tide.tide_min_spectrum_peaks} -tide_spectrum_charges ${advanced_options.tide.tide_spectrum_charges} -tide_remove_prec ${advanced_options.tide.tide_remove_prec} @@ -232,14 +233,21 @@ -tide_mz_bin_width ${advanced_options.tide.tide_mz_bin_width} -tide_mz_bin_offset ${advanced_options.tide.tide_mz_bin_offset} -tide_concat ${advanced_options.tide.tide_concat} - -tide_export_text ${advanced_options.tide.tide_export_text} - -tide_export_sqt ${advanced_options.tide.tide_export_sqt} - -tide_export_pepxml ${advanced_options.tide.tide_export_pepxml} - -tide_export_mzid ${advanced_options.tide.tide_export_mzid} - -tide_export_pin ${advanced_options.tide.tide_export_pin} + + #set $formats = ["tide_export_text", "tide_export_sqt", "tide_export_pepxml", "tide_export_mzid", "tide_export_pin"] + #for $format in $formats: + #if str($advanced_options.tide.tide_export).strip() == $format: + -$format 1 + #else: + -$format 0 + #end if + + #end for + -tide_remove_temp ${advanced_options.tide.tide_remove_temp} + #end if - *# + #if $advanced_options.comet.comet_advanced == "yes" @@ -439,7 +447,7 @@ help="Select appropriate MGF dataset(s) from history" /> -
+
Comet and Tide shouldn't both be selected since they use a similar algoritm. @@ -447,8 +455,6 @@ - @@ -748,7 +754,6 @@ - + + + - --> +