Mercurial > repos > rnateam > viennarna_rnadistance
view rnadistance.xml @ 5:7fc7a56750b9 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/vienna_rna commit e3c20fec5dafc424d55a4de77304e79e3c88b76b-dirty
author | rnateam |
---|---|
date | Fri, 22 Sep 2017 15:58:06 -0400 |
parents | 4286146cb3aa |
children |
line wrap: on
line source
<tool id="viennarna_rnadistance" name="@EXECUTABLE@" version="@VERSION@.0"> <description>Calculate distance between secondary structures of two RNAs</description> <macros> <token name="@EXECUTABLE@">RNAdistance</token> <import>macros.xml</import> </macros> <expand macro="requirements" /> <expand macro="stdio" /> <expand macro="version_command" /> <command> <![CDATA[ RNAdistance < '$input' > '$outfile' --distance=#echo ''.join(str($distance).split(','))# --compare=$compare $shapiro $backtrack #if $backtrack and str($compare)=="m" && cat backtrack.file >> '$outfile' #end if ]]> </command> <inputs> <param name="input" type="data" format="txt" label="Primary and secondary stuctures file"/> <param name="distance" type="select" multiple="true" display="checkboxes" label="Representation to calculate the distance / alignment option"> <option value="f" selected="true">full/tree</option> <option value="F">full/string</option> <option value="h">hit/tree</option> <option value="H">hit/string</option> <option value="w">weighted coarse/tree</option> <option value="W">weighted coarse/string</option> <option value="c">coarse/tree</option> <option value="C">coarse/string</option> <validator type="no_options" message="Please select at least one type."/> </param> <param name="compare" type="select" label="Comparison Option" help="-d"> <option value="p" selected="True">p: pairwise (1st with 2nd, 3rd with 4th, ...)</option> <option value="m">m: matrix (each with each, output in matrix form)</option> <option value="f" >f: first (1st with 2nd, 1st with 3rd, ...)</option> <option value="c">c: continuous (1st with 2nd, 2nd with 3rd, ...)</option> </param> <param argument="--shapiro" type="boolean" checked="false" truevalue="--shapiro" falsevalue="" label="Use cost matrix by Bruce Shapiro" help="--shapiro"/> <param argument="--backtrack" type="boolean" checked="false" truevalue="--backtrack" falsevalue="" label="Print an alignment" help="--backtrack"/> </inputs> <outputs> <data format="txt" name="outfile"/> </outputs> <tests> <test> <param name="input" value="rnadistance_input1.dbn"/> <output name="outfile" file="rnadistance_result1.txt"/> </test> </tests> <help> <![CDATA[ **RNAdistance** ----- **Input format** RNAdistance requires one input file with the following structure: 1st line: can be a comment line like in Fasta, begins with '>' 2nd line: sequence 3rd line: first secondary structure in dot-bracket notation 4th line: second secondary structure in dot-bracket notation ... nth line: another sequence ... Several different RNA secondary structures can be specified. The input has a Fasta-like structure but with secondary structure information. ------ **Outputs** * distance of the structures * with the backtrack options it is possible to get alignment ouput ]]> </help> <expand macro="citations" /> </tool>