# HG changeset patch # User galaxyp # Date 1502283494 14400 # Node ID 974dec16eb84ee1cbe40ab6a4602bb8dd5946728 # Parent 566046627ebfc420ddb24fa71a8f574bb930747b planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14 diff -r 566046627ebf -r 974dec16eb84 OpenSwathRTNormalizer.xml --- a/OpenSwathRTNormalizer.xml Wed Mar 01 12:16:05 2017 -0500 +++ b/OpenSwathRTNormalizer.xml Wed Aug 09 08:58:14 2017 -0400 @@ -1,7 +1,7 @@ - + This tool will take a description of RT peptides and their normalized retention time to write out a transformation file on how to transform the RT space into the normalized space. OpenSwathRTNormalizer @@ -65,7 +65,12 @@ -algorithm:TransitionGroupPicker:PeakPickerMRM:gauss_width $param_algorithm_TransitionGroupPicker_PeakPickerMRM_gauss_width #end if #if $param_algorithm_TransitionGroupPicker_PeakPickerMRM_use_gauss: - -algorithm:TransitionGroupPicker:PeakPickerMRM:use_gauss $param_algorithm_TransitionGroupPicker_PeakPickerMRM_use_gauss + -algorithm:TransitionGroupPicker:PeakPickerMRM:use_gauss + #if " " in str($param_algorithm_TransitionGroupPicker_PeakPickerMRM_use_gauss): + "$param_algorithm_TransitionGroupPicker_PeakPickerMRM_use_gauss" + #else + $param_algorithm_TransitionGroupPicker_PeakPickerMRM_use_gauss + #end if #end if #if $param_algorithm_TransitionGroupPicker_PeakPickerMRM_peak_width: -algorithm:TransitionGroupPicker:PeakPickerMRM:peak_width $param_algorithm_TransitionGroupPicker_PeakPickerMRM_peak_width @@ -80,13 +85,23 @@ -algorithm:TransitionGroupPicker:PeakPickerMRM:sn_bin_count $param_algorithm_TransitionGroupPicker_PeakPickerMRM_sn_bin_count #end if #if $param_algorithm_TransitionGroupPicker_PeakPickerMRM_write_sn_log_messages: - -algorithm:TransitionGroupPicker:PeakPickerMRM:write_sn_log_messages $param_algorithm_TransitionGroupPicker_PeakPickerMRM_write_sn_log_messages + -algorithm:TransitionGroupPicker:PeakPickerMRM:write_sn_log_messages + #if " " in str($param_algorithm_TransitionGroupPicker_PeakPickerMRM_write_sn_log_messages): + "$param_algorithm_TransitionGroupPicker_PeakPickerMRM_write_sn_log_messages" + #else + $param_algorithm_TransitionGroupPicker_PeakPickerMRM_write_sn_log_messages + #end if #end if #if $param_algorithm_TransitionGroupPicker_PeakPickerMRM_remove_overlapping_peaks: -algorithm:TransitionGroupPicker:PeakPickerMRM:remove_overlapping_peaks #end if #if $param_algorithm_TransitionGroupPicker_PeakPickerMRM_method: - -algorithm:TransitionGroupPicker:PeakPickerMRM:method $param_algorithm_TransitionGroupPicker_PeakPickerMRM_method + -algorithm:TransitionGroupPicker:PeakPickerMRM:method + #if " " in str($param_algorithm_TransitionGroupPicker_PeakPickerMRM_method): + "$param_algorithm_TransitionGroupPicker_PeakPickerMRM_method" + #else + $param_algorithm_TransitionGroupPicker_PeakPickerMRM_method + #end if #end if #if $param_algorithm_DIAScoring_dia_extraction_window: -algorithm:DIAScoring:dia_extraction_window $param_algorithm_DIAScoring_dia_extraction_window @@ -110,7 +125,12 @@ -algorithm:DIAScoring:peak_before_mono_max_ppm_diff $param_algorithm_DIAScoring_peak_before_mono_max_ppm_diff #end if #if $param_outlierDetection_outlierMethod: - -outlierDetection:outlierMethod $param_outlierDetection_outlierMethod + -outlierDetection:outlierMethod + #if " " in str($param_outlierDetection_outlierMethod): + "$param_outlierDetection_outlierMethod" + #else + $param_outlierDetection_outlierMethod + #end if #end if #if $param_outlierDetection_useIterativeChauvenet: -outlierDetection:useIterativeChauvenet @@ -159,10 +179,18 @@ -algorithm:TransitionGroupPicker:min_peak_width $adv_opts.param_algorithm_TransitionGroupPicker_min_peak_width #end if #if $adv_opts.param_algorithm_TransitionGroupPicker_background_subtraction: - -algorithm:TransitionGroupPicker:background_subtraction $adv_opts.param_algorithm_TransitionGroupPicker_background_subtraction + -algorithm:TransitionGroupPicker:background_subtraction + #if " " in str($adv_opts.param_algorithm_TransitionGroupPicker_background_subtraction): + "$adv_opts.param_algorithm_TransitionGroupPicker_background_subtraction" + #else + $adv_opts.param_algorithm_TransitionGroupPicker_background_subtraction + #end if #end if #if $adv_opts.param_algorithm_TransitionGroupPicker_recalculate_peaks: - -algorithm:TransitionGroupPicker:recalculate_peaks "$adv_opts.param_algorithm_TransitionGroupPicker_recalculate_peaks" + -algorithm:TransitionGroupPicker:recalculate_peaks +#end if + #if $adv_opts.param_algorithm_TransitionGroupPicker_use_precursors: + -algorithm:TransitionGroupPicker:use_precursors #end if #if $adv_opts.param_algorithm_TransitionGroupPicker_recalculate_peaks_max_z: -algorithm:TransitionGroupPicker:recalculate_peaks_max_z $adv_opts.param_algorithm_TransitionGroupPicker_recalculate_peaks_max_z @@ -171,7 +199,7 @@ -algorithm:TransitionGroupPicker:minimal_quality $adv_opts.param_algorithm_TransitionGroupPicker_minimal_quality #end if #if $adv_opts.param_algorithm_TransitionGroupPicker_compute_peak_quality: - -algorithm:TransitionGroupPicker:compute_peak_quality "$adv_opts.param_algorithm_TransitionGroupPicker_compute_peak_quality" + -algorithm:TransitionGroupPicker:compute_peak_quality #end if #if $adv_opts.param_algorithm_EMGScoring_interpolation_step: -algorithm:EMGScoring:interpolation_step $adv_opts.param_algorithm_EMGScoring_interpolation_step @@ -189,38 +217,91 @@ -algorithm:EMGScoring:statistics:variance $adv_opts.param_algorithm_EMGScoring_statistics_variance #end if #if $adv_opts.param_algorithm_Scores_use_shape_score: - -algorithm:Scores:use_shape_score $adv_opts.param_algorithm_Scores_use_shape_score + -algorithm:Scores:use_shape_score + #if " " in str($adv_opts.param_algorithm_Scores_use_shape_score): + "$adv_opts.param_algorithm_Scores_use_shape_score" + #else + $adv_opts.param_algorithm_Scores_use_shape_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_coelution_score: - -algorithm:Scores:use_coelution_score $adv_opts.param_algorithm_Scores_use_coelution_score + -algorithm:Scores:use_coelution_score + #if " " in str($adv_opts.param_algorithm_Scores_use_coelution_score): + "$adv_opts.param_algorithm_Scores_use_coelution_score" + #else + $adv_opts.param_algorithm_Scores_use_coelution_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_rt_score: - -algorithm:Scores:use_rt_score $adv_opts.param_algorithm_Scores_use_rt_score + -algorithm:Scores:use_rt_score + #if " " in str($adv_opts.param_algorithm_Scores_use_rt_score): + "$adv_opts.param_algorithm_Scores_use_rt_score" + #else + $adv_opts.param_algorithm_Scores_use_rt_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_library_score: - -algorithm:Scores:use_library_score $adv_opts.param_algorithm_Scores_use_library_score + -algorithm:Scores:use_library_score + #if " " in str($adv_opts.param_algorithm_Scores_use_library_score): + "$adv_opts.param_algorithm_Scores_use_library_score" + #else + $adv_opts.param_algorithm_Scores_use_library_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_elution_model_score: - -algorithm:Scores:use_elution_model_score $adv_opts.param_algorithm_Scores_use_elution_model_score + -algorithm:Scores:use_elution_model_score + #if " " in str($adv_opts.param_algorithm_Scores_use_elution_model_score): + "$adv_opts.param_algorithm_Scores_use_elution_model_score" + #else + $adv_opts.param_algorithm_Scores_use_elution_model_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_intensity_score: - -algorithm:Scores:use_intensity_score $adv_opts.param_algorithm_Scores_use_intensity_score + -algorithm:Scores:use_intensity_score + #if " " in str($adv_opts.param_algorithm_Scores_use_intensity_score): + "$adv_opts.param_algorithm_Scores_use_intensity_score" + #else + $adv_opts.param_algorithm_Scores_use_intensity_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_nr_peaks_score: - -algorithm:Scores:use_nr_peaks_score $adv_opts.param_algorithm_Scores_use_nr_peaks_score + -algorithm:Scores:use_nr_peaks_score + #if " " in str($adv_opts.param_algorithm_Scores_use_nr_peaks_score): + "$adv_opts.param_algorithm_Scores_use_nr_peaks_score" + #else + $adv_opts.param_algorithm_Scores_use_nr_peaks_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_total_xic_score: - -algorithm:Scores:use_total_xic_score $adv_opts.param_algorithm_Scores_use_total_xic_score + -algorithm:Scores:use_total_xic_score + #if " " in str($adv_opts.param_algorithm_Scores_use_total_xic_score): + "$adv_opts.param_algorithm_Scores_use_total_xic_score" + #else + $adv_opts.param_algorithm_Scores_use_total_xic_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_sn_score: - -algorithm:Scores:use_sn_score $adv_opts.param_algorithm_Scores_use_sn_score + -algorithm:Scores:use_sn_score + #if " " in str($adv_opts.param_algorithm_Scores_use_sn_score): + "$adv_opts.param_algorithm_Scores_use_sn_score" + #else + $adv_opts.param_algorithm_Scores_use_sn_score + #end if #end if #if $adv_opts.param_algorithm_Scores_use_dia_scores: - -algorithm:Scores:use_dia_scores $adv_opts.param_algorithm_Scores_use_dia_scores + -algorithm:Scores:use_dia_scores + #if " " in str($adv_opts.param_algorithm_Scores_use_dia_scores): + "$adv_opts.param_algorithm_Scores_use_dia_scores" + #else + $adv_opts.param_algorithm_Scores_use_dia_scores + #end if #end if #if $adv_opts.param_algorithm_Scores_use_ms1_correlation: -algorithm:Scores:use_ms1_correlation #end if + #if $adv_opts.param_algorithm_Scores_use_sonar_scores: + -algorithm:Scores:use_sonar_scores +#end if #if $adv_opts.param_algorithm_Scores_use_ms1_fullscan: -algorithm:Scores:use_ms1_fullscan #end if @@ -305,24 +386,11 @@ - - - - - - - - + + - - - - - - - - + @@ -364,11 +432,12 @@ - + + diff -r 566046627ebf -r 974dec16eb84 datatypes_conf.xml --- a/datatypes_conf.xml Wed Mar 01 12:16:05 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 566046627ebf -r 974dec16eb84 filetypes.txt --- a/filetypes.txt Wed Mar 01 12:16:05 2017 -0500 +++ b/filetypes.txt Wed Aug 09 08:58:14 2017 -0400 @@ -14,7 +14,7 @@ consensusXML consensusxml galaxy.datatypes.proteomics:ConsensusXML application/xml edta tabular galaxy.datatypes.tabular:Tabular featureXML featurexml galaxy.datatypes.proteomics:FeatureXML application/xml -idXML idxml galaxy.datatypes.proteomics:IdXM application/xml +idXML idxml galaxy.datatypes.proteomics:IdXML application/xml mzML mzml galaxy.datatypes.proteomics:MzML application/xml mzXML mzxml galaxy.datatypes.proteomics:MzXML application/xml pepXML pepxml galaxy.datatypes.proteomics:PepXml application/xml @@ -26,4 +26,4 @@ msp msp galaxy.datatypes.proteomics:Msp mzid mzid galaxy.datatypes.proteomics:MzIdentML application/xml png png galaxy.datatypes.images:Png image/png -mgf mgf galaxy.datatypes.proteomics:Mgf \ No newline at end of file +mgf mgf galaxy.datatypes.proteomics:Mgf diff -r 566046627ebf -r 974dec16eb84 macros.xml --- a/macros.xml Wed Mar 01 12:16:05 2017 -0500 +++ b/macros.xml Wed Aug 09 08:58:14 2017 -0400 @@ -2,7 +2,7 @@ - openms + openms xtandem fido msgf_plus diff -r 566046627ebf -r 974dec16eb84 readme.md --- a/readme.md Wed Mar 01 12:16:05 2017 -0500 +++ b/readme.md Wed Aug 09 08:58:14 2017 -0400 @@ -14,15 +14,29 @@ Generating OpenMS wrappers ========================== - * install OpenMS (you can do this automatically through the Tool Shed) + * install OpenMS (you can do this automatically through Conda) * create a folder called CTD - * inside of your new installed openms/bin folder, execute the following command: + * if you installed openms as a binary in a specific directory, execute the following command in the `openms/bin` directory: ```bash for binary in `ls`; do ./$binary -write_ctd /PATH/TO/YOUR/CTD; done; ``` - * `MetaProSIP.ctd` includes a not supported character: To use it, search for `²` and replace it (e.g. with `^2`). + * if there is no binary release (e.g. as with version 2.2), download and unpack the Conda package, find the `bin` folder and create a list of the tools as follow: + + ```bash + ls >> tools.txt + ``` + + * search for the `bin` folder of your conda environment containing OpenMS and do: + + ```bash + while read p; do + ./PATH/TO/BIN/$p -write_ctd /PATH/TO/YOUR/CTD; + done ``` - * In `PeakPickerHiRes.xml`, the parameter `report_FWHM_unit` has to be put in quotation marks. Look for the following line + + * In `IDFileConverter.xml` the following is needed in the command section at the beginning (check your file to know what to copy where): - -algorithm:report_FWHM_unit $param_algorithm_report_FWHM_unit - - and change it to + ``` + + ``` + + * In `IDFileConverter.xml` and `FileConverter.xml` add `auto_format="true"` to the output, e.g.: - + - `` + - `` * To add an example test case to `DecoyDatabase.xml` add the following after the output section. If standard settings change you might have to adjust the options and/or the test files. diff -r 566046627ebf -r 974dec16eb84 tool.conf --- a/tool.conf Wed Mar 01 12:16:05 2017 -0500 +++ b/tool.conf Wed Aug 09 08:58:14 2017 -0400 @@ -6,13 +6,7 @@ -
- - -
- - @@ -22,13 +16,17 @@ + + +
+ @@ -44,7 +42,6 @@ - @@ -62,12 +59,14 @@ + + @@ -78,6 +77,7 @@ +
@@ -154,9 +154,7 @@ - -