# HG changeset patch # User galaxyp # Date 1502286736 14400 # Node ID 190554cf21950313815d078b516fcf86b7c45030 # Parent 380ced982ec717e374b556882e9d305cd431fdee planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14 diff -r 380ced982ec7 -r 190554cf2195 OpenSwathWorkflow.xml --- a/OpenSwathWorkflow.xml Wed Mar 01 12:53:40 2017 -0500 +++ b/OpenSwathWorkflow.xml Wed Aug 09 09:52:16 2017 -0400 @@ -1,7 +1,7 @@ - + Complete workflow to run OpenSWATH OpenSwathWorkflow @@ -34,7 +34,10 @@ -out_features $param_out_features #end if #if $param_out_tsv: - -out_tsv "$param_out_tsv" + -out_tsv $param_out_tsv +#end if +#if $param_out_osw: + -out_osw $param_out_osw #end if #if $param_out_chrom: -out_chrom $param_out_chrom @@ -48,6 +51,9 @@ #if $param_ppm: -ppm #end if +#if $param_sonar: + -sonar +#end if #if $param_Scoring_stop_report_after_feature: -Scoring:stop_report_after_feature $param_Scoring_stop_report_after_feature #end if @@ -67,10 +73,20 @@ -Scoring:TransitionGroupPicker:min_peak_width $param_Scoring_TransitionGroupPicker_min_peak_width #end if #if $param_Scoring_TransitionGroupPicker_background_subtraction: - -Scoring:TransitionGroupPicker:background_subtraction $param_Scoring_TransitionGroupPicker_background_subtraction + -Scoring:TransitionGroupPicker:background_subtraction + #if " " in str($param_Scoring_TransitionGroupPicker_background_subtraction): + "$param_Scoring_TransitionGroupPicker_background_subtraction" + #else + $param_Scoring_TransitionGroupPicker_background_subtraction + #end if #end if #if $param_Scoring_TransitionGroupPicker_recalculate_peaks: - -Scoring:TransitionGroupPicker:recalculate_peaks "$param_Scoring_TransitionGroupPicker_recalculate_peaks" + -Scoring:TransitionGroupPicker:recalculate_peaks + #if " " in str($param_Scoring_TransitionGroupPicker_recalculate_peaks): + "$param_Scoring_TransitionGroupPicker_recalculate_peaks" + #else + $param_Scoring_TransitionGroupPicker_recalculate_peaks + #end if #end if #if $param_Scoring_TransitionGroupPicker_recalculate_peaks_max_z: -Scoring:TransitionGroupPicker:recalculate_peaks_max_z $param_Scoring_TransitionGroupPicker_recalculate_peaks_max_z @@ -79,7 +95,12 @@ -Scoring:TransitionGroupPicker:minimal_quality $param_Scoring_TransitionGroupPicker_minimal_quality #end if #if $param_Scoring_TransitionGroupPicker_compute_peak_quality: - -Scoring:TransitionGroupPicker:compute_peak_quality "$param_Scoring_TransitionGroupPicker_compute_peak_quality" + -Scoring:TransitionGroupPicker:compute_peak_quality + #if " " in str($param_Scoring_TransitionGroupPicker_compute_peak_quality): + "$param_Scoring_TransitionGroupPicker_compute_peak_quality" + #else + $param_Scoring_TransitionGroupPicker_compute_peak_quality + #end if #end if #if $param_Scoring_TransitionGroupPicker_PeakPickerMRM_sgolay_frame_length: -Scoring:TransitionGroupPicker:PeakPickerMRM:sgolay_frame_length $param_Scoring_TransitionGroupPicker_PeakPickerMRM_sgolay_frame_length @@ -103,10 +124,20 @@ -Scoring:TransitionGroupPicker:PeakPickerMRM:write_sn_log_messages #end if #if $param_Scoring_TransitionGroupPicker_PeakPickerMRM_remove_overlapping_peaks: - -Scoring:TransitionGroupPicker:PeakPickerMRM:remove_overlapping_peaks $param_Scoring_TransitionGroupPicker_PeakPickerMRM_remove_overlapping_peaks + -Scoring:TransitionGroupPicker:PeakPickerMRM:remove_overlapping_peaks + #if " " in str($param_Scoring_TransitionGroupPicker_PeakPickerMRM_remove_overlapping_peaks): + "$param_Scoring_TransitionGroupPicker_PeakPickerMRM_remove_overlapping_peaks" + #else + $param_Scoring_TransitionGroupPicker_PeakPickerMRM_remove_overlapping_peaks + #end if #end if #if $param_Scoring_TransitionGroupPicker_PeakPickerMRM_method: - -Scoring:TransitionGroupPicker:PeakPickerMRM:method $param_Scoring_TransitionGroupPicker_PeakPickerMRM_method + -Scoring:TransitionGroupPicker:PeakPickerMRM:method + #if " " in str($param_Scoring_TransitionGroupPicker_PeakPickerMRM_method): + "$param_Scoring_TransitionGroupPicker_PeakPickerMRM_method" + #else + $param_Scoring_TransitionGroupPicker_PeakPickerMRM_method + #end if #end if #if $param_Scoring_DIAScoring_dia_extraction_window: -Scoring:DIAScoring:dia_extraction_window $param_Scoring_DIAScoring_dia_extraction_window @@ -133,7 +164,12 @@ -Scoring:EMGScoring:max_iteration $param_Scoring_EMGScoring_max_iteration #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 @@ -200,16 +236,37 @@ -use_elution_model_score #end if #if $adv_opts.param_readOptions: - -readOptions $adv_opts.param_readOptions + -readOptions + #if " " in str($adv_opts.param_readOptions): + "$adv_opts.param_readOptions" + #else + $adv_opts.param_readOptions + #end if #end if #if $adv_opts.param_mz_correction_function: - -mz_correction_function $adv_opts.param_mz_correction_function + -mz_correction_function + #if " " in str($adv_opts.param_mz_correction_function): + "$adv_opts.param_mz_correction_function" + #else + $adv_opts.param_mz_correction_function + #end if +#end if + #if $adv_opts.param_irt_mz_extraction_window: + -irt_mz_extraction_window $adv_opts.param_irt_mz_extraction_window +#end if + #if $adv_opts.param_ppm_irtwindow: + -ppm_irtwindow #end if #if $adv_opts.param_tempDirectory: -tempDirectory "$adv_opts.param_tempDirectory" #end if #if $adv_opts.param_extraction_function: - -extraction_function $adv_opts.param_extraction_function + -extraction_function + #if " " in str($adv_opts.param_extraction_function): + "$adv_opts.param_extraction_function" + #else + $adv_opts.param_extraction_function + #end if #end if #if $adv_opts.param_batchSize: -batchSize $adv_opts.param_batchSize @@ -217,42 +274,107 @@ #if $adv_opts.param_force: -force #end if + #if $adv_opts.param_Library_retentionTimeInterpretation: + -Library:retentionTimeInterpretation + #if " " in str($adv_opts.param_Library_retentionTimeInterpretation): + "$adv_opts.param_Library_retentionTimeInterpretation" + #else + $adv_opts.param_Library_retentionTimeInterpretation + #end if +#end if + #if $adv_opts.param_Library_override_group_label_check: + -Library:override_group_label_check +#end if + #if $adv_opts.param_Library_force_invalid_mods: + -Library:force_invalid_mods +#end if #if $adv_opts.param_Scoring_quantification_cutoff: -Scoring:quantification_cutoff $adv_opts.param_Scoring_quantification_cutoff #end if #if $adv_opts.param_Scoring_write_convex_hull: -Scoring:write_convex_hull #end if + #if $adv_opts.param_Scoring_TransitionGroupPicker_use_precursors: + -Scoring:TransitionGroupPicker:use_precursors +#end if #if $adv_opts.param_Scoring_Scores_use_shape_score: - -Scoring:Scores:use_shape_score $adv_opts.param_Scoring_Scores_use_shape_score + -Scoring:Scores:use_shape_score + #if " " in str($adv_opts.param_Scoring_Scores_use_shape_score): + "$adv_opts.param_Scoring_Scores_use_shape_score" + #else + $adv_opts.param_Scoring_Scores_use_shape_score + #end if #end if #if $adv_opts.param_Scoring_Scores_use_coelution_score: - -Scoring:Scores:use_coelution_score $adv_opts.param_Scoring_Scores_use_coelution_score + -Scoring:Scores:use_coelution_score + #if " " in str($adv_opts.param_Scoring_Scores_use_coelution_score): + "$adv_opts.param_Scoring_Scores_use_coelution_score" + #else + $adv_opts.param_Scoring_Scores_use_coelution_score + #end if #end if #if $adv_opts.param_Scoring_Scores_use_rt_score: - -Scoring:Scores:use_rt_score $adv_opts.param_Scoring_Scores_use_rt_score + -Scoring:Scores:use_rt_score + #if " " in str($adv_opts.param_Scoring_Scores_use_rt_score): + "$adv_opts.param_Scoring_Scores_use_rt_score" + #else + $adv_opts.param_Scoring_Scores_use_rt_score + #end if #end if #if $adv_opts.param_Scoring_Scores_use_library_score: - -Scoring:Scores:use_library_score $adv_opts.param_Scoring_Scores_use_library_score + -Scoring:Scores:use_library_score + #if " " in str($adv_opts.param_Scoring_Scores_use_library_score): + "$adv_opts.param_Scoring_Scores_use_library_score" + #else + $adv_opts.param_Scoring_Scores_use_library_score + #end if #end if #if $adv_opts.param_Scoring_Scores_use_intensity_score: - -Scoring:Scores:use_intensity_score $adv_opts.param_Scoring_Scores_use_intensity_score + -Scoring:Scores:use_intensity_score + #if " " in str($adv_opts.param_Scoring_Scores_use_intensity_score): + "$adv_opts.param_Scoring_Scores_use_intensity_score" + #else + $adv_opts.param_Scoring_Scores_use_intensity_score + #end if #end if #if $adv_opts.param_Scoring_Scores_use_nr_peaks_score: - -Scoring:Scores:use_nr_peaks_score $adv_opts.param_Scoring_Scores_use_nr_peaks_score + -Scoring:Scores:use_nr_peaks_score + #if " " in str($adv_opts.param_Scoring_Scores_use_nr_peaks_score): + "$adv_opts.param_Scoring_Scores_use_nr_peaks_score" + #else + $adv_opts.param_Scoring_Scores_use_nr_peaks_score + #end if #end if #if $adv_opts.param_Scoring_Scores_use_total_xic_score: - -Scoring:Scores:use_total_xic_score $adv_opts.param_Scoring_Scores_use_total_xic_score + -Scoring:Scores:use_total_xic_score + #if " " in str($adv_opts.param_Scoring_Scores_use_total_xic_score): + "$adv_opts.param_Scoring_Scores_use_total_xic_score" + #else + $adv_opts.param_Scoring_Scores_use_total_xic_score + #end if #end if #if $adv_opts.param_Scoring_Scores_use_sn_score: - -Scoring:Scores:use_sn_score $adv_opts.param_Scoring_Scores_use_sn_score + -Scoring:Scores:use_sn_score + #if " " in str($adv_opts.param_Scoring_Scores_use_sn_score): + "$adv_opts.param_Scoring_Scores_use_sn_score" + #else + $adv_opts.param_Scoring_Scores_use_sn_score + #end if #end if #if $adv_opts.param_Scoring_Scores_use_dia_scores: - -Scoring:Scores:use_dia_scores $adv_opts.param_Scoring_Scores_use_dia_scores + -Scoring:Scores:use_dia_scores + #if " " in str($adv_opts.param_Scoring_Scores_use_dia_scores): + "$adv_opts.param_Scoring_Scores_use_dia_scores" + #else + $adv_opts.param_Scoring_Scores_use_dia_scores + #end if #end if #if $adv_opts.param_Scoring_Scores_use_ms1_correlation: -Scoring:Scores:use_ms1_correlation #end if + #if $adv_opts.param_Scoring_Scores_use_sonar_scores: + -Scoring:Scores:use_sonar_scores +#end if #if $adv_opts.param_Scoring_Scores_use_ms1_fullscan: -Scoring:Scores:use_ms1_fullscan #end if @@ -262,7 +384,7 @@ #end if - + @@ -270,24 +392,17 @@ - + - + - - - - - - - - + @@ -299,23 +414,15 @@ - - - - - - - + + + - - - - - - - + + + @@ -359,7 +466,7 @@ - + @@ -373,6 +480,7 @@ + @@ -383,6 +491,8 @@ + + @@ -397,8 +507,16 @@ + + + + + + + + @@ -431,17 +549,20 @@ - + + + + Complete workflow to run OpenSWATH diff -r 380ced982ec7 -r 190554cf2195 datatypes_conf.xml --- a/datatypes_conf.xml Wed Mar 01 12:53:40 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 380ced982ec7 -r 190554cf2195 filetypes.txt --- a/filetypes.txt Wed Mar 01 12:53:40 2017 -0500 +++ b/filetypes.txt Wed Aug 09 09:52:16 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 380ced982ec7 -r 190554cf2195 macros.xml --- a/macros.xml Wed Mar 01 12:53:40 2017 -0500 +++ b/macros.xml Wed Aug 09 09:52:16 2017 -0400 @@ -2,7 +2,7 @@ - openms + openms xtandem fido msgf_plus diff -r 380ced982ec7 -r 190554cf2195 readme.md --- a/readme.md Wed Mar 01 12:53:40 2017 -0500 +++ b/readme.md Wed Aug 09 09:52:16 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 380ced982ec7 -r 190554cf2195 tool.conf --- a/tool.conf Wed Mar 01 12:53:40 2017 -0500 +++ b/tool.conf Wed Aug 09 09:52:16 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 @@ - -