Mercurial > repos > rnateam > mea
diff mea.xml @ 1:9ebd60531aa6 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/mea commit 6767a5ffb02052c844e9d862c79912f998f39d8e
author | rnateam |
---|---|
date | Mon, 20 Nov 2017 05:04:03 -0500 |
parents | 399593f05b4d |
children |
line wrap: on
line diff
--- a/mea.xml Sat Aug 01 04:46:19 2015 -0400 +++ b/mea.xml Mon Nov 20 05:04:03 2017 -0500 @@ -1,29 +1,24 @@ -<tool id="mea" name="MEA" version="0.6.4.0"> +<tool id="mea" name="MEA" version="0.6.4.1"> <description>Predict MEA structures and compare structures of RNAs</description> <requirements> - <requirement type="package" version="2.22.6">gengetopt</requirement> <requirement type="package" version="0.6.4">mea</requirement> </requirements> - <stdio> - <exit_code range=":-1"/> - <exit_code range="1:" /> - </stdio> <version_command>mea --version</version_command> - <command><![CDATA[ + <command detect_errors="aggressive"><![CDATA[ mea - #if str($predict_mode.predict_selector) == "predict": - $predict_mode.dotplot - #if str($predict_mode.mea_parameters.mea_parameters_selector) == "no_default" + #if str($predict_mode.predict_selector) == 'predict': + '$predict_mode.dotplot' + #if str($predict_mode.mea_parameters.mea_parameters_selector) == 'no_default' --alpha $predict_mode.mea_parameters.alpha --beta $predict_mode.mea_parameters.beta --gamma $predict_mode.mea_parameters.gamma --delta $predict_mode.mea_parameters.delta #end if #else - --structure `cat $predict_mode.structure` + --structure '$predict_mode.structure' #end if #if str($compare_mode.compare_selector) == 'compare': - --reference `cat $compare_mode.reference` + --reference '$compare_mode.reference' $compare_mode.slide_rule $compare_mode.conflict_rule #end if @@ -61,8 +56,16 @@ </conditional> </when> <when value="compare"> - <param name="structure" format="txt" type="data" label="Structure" optional="False" - help="(Predicted) RNA secondary structure for comparison to a reference structure. (--structure)" /> + <param argument="--structure" type="text" label="Structure" optional="False" + help="(Predicted) RNA secondary structure for comparison to a reference structure in dot-bracket format"> + <sanitizer> + <valid> + <add value="("/> + <add value=")"/> + <add value="."/> + </valid> + </sanitizer> + </param> </when> </conditional> <conditional name="compare_mode"> @@ -73,11 +76,16 @@ </param> <when value="dont_compare" /> <when value="compare"> - <param name="reference" - optional="false" - format="txt" type="data" - label="Reference" - help="Reference structure in dot-bracket format"/> + <param name="reference" optional="false" type="text" label="Reference" + help="Reference structure in dot-bracket format"> + <sanitizer> + <valid> + <add value="("/> + <add value=")"/> + <add value="."/> + </valid> + </sanitizer> + </param> <param name="slide_rule" label="Slide Rule" type="boolean" optional="False" checked="True" falsevalue="--no-slide-rule" truevalue="" help="Use slide rule. (--no-slide-rule)" /> <param name="conflict_rule" label="Conflict Rule" type="boolean" @@ -94,15 +102,15 @@ <param name="predict_selector" value="predict" /> <param name="compare_selector" value="compare" /> <param name="dotplot" value="test_dp.ps" /> - <param name="reference" value="test_reference.txt" /> + <param name="reference" value=".....(((.((((((..((......))....)))))).)))...((((((((.(((..(((....))).............))).))).)))))" /> <output name="stdout" file="test_predict.out" /> </test> <test> <param name="mea_parameter_selector" value="default" /> <param name="predict_selector" value="compare" /> <param name="compare_selector" value="compare" /> - <param name="structure" value="test_structure.txt" /> - <param name="reference" value="test_reference.txt" /> + <param name="structure" value=".....(((.((((((..((......))....)))))).)))......(((((.(((.....(((....))).........).)).))).))..." /> + <param name="reference" value=".....(((.((((((..((......))....)))))).)))...((((((((.(((..(((....))).............))).))).)))))" /> <output name="stdout" file="test_compare.out" /> </test> </tests>