changeset 0:1c441b2843c8 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/inforna commit 1973f3035c10db80883d80847ea254289f5cce2a-dirty
author bgruening
date Thu, 17 Sep 2015 16:48:38 -0400
parents
children
files inforna.xml tool_dependencies.xml
diffstat 2 files changed, 81 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inforna.xml	Thu Sep 17 16:48:38 2015 -0400
@@ -0,0 +1,57 @@
+<tool id="inforna" name="InfoRNA" version="0.1.0">
+    <description></description>
+    <requirements>
+        <requirement type="package" version="1.0">inforna</requirement>
+        <requirement type="package" version="2.1.5">vienna_rna</requirement>
+    </requirements>
+    <stdio>
+        <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error" />
+        <exit_code range=":-1" level="fatal" description="Error occurred. Please check Tool Standard Error" />
+    </stdio>
+    <command>
+<![CDATA[
+    InfoRNA
+        $rna_sec_structure
+        -c $seq_constraints
+        -F $obj_function
+        -p $prob_bad_mutation
+        -n $max_violations
+]]>
+    </command>
+    <inputs>
+        <param format="txt" name="rna_sec_structure" type="text" label="RNA Secondary Structure" help="folding temperature is fixed at 37°C" />
+        <param format="txt" name="seq_constraints" type="text" area="true" size="10x40" label="Sequence Constraints and Allowed Violations: (IUPAC symbols)" help="(e.g.: '4 W +' constrains the sequence to have a 'A' or a 'U' at position 4, but due to the '+', this constraint is allowed to be violated) " />
+        <param format="txt" name="constr_overview" type="text" area="true" size="10x40" label="Constraint Overview" help="" />
+        <param name="max_violations" label="Maximal number of violations" type="integer" value="1" help="(in the designed sequence)" />
+        <param name="obj_function" type="select" multiple="False" label="Objective function" help="(-t)">
+                <option value="m" selected="true">mfe (default)</option>
+                <option value="mp">mfe-&gt;prob ... only for (structures &lt;= 200)</option>
+        </param>
+        <param name="prob_bad_mutation" label="Probability for accepting bad mutations" type="float" value="0.1" help="" />
+        <param name="presort" type="boolean" checked="true" truevalue="--noLP" falsevalue="" label="Pre-sort candidates for mutation" help="" />
+        <param name="num_design_seq" label="Number of Designed Sequences" type="integer" value="1" help="(Sequences might be very similar, which is due to the rather fixed initializing sequence.)" />
+    </inputs>
+    <outputs>
+        <data name="outfile" format="ps" />
+    </outputs>
+    <tests>
+    </tests>
+    <help>
+<![CDATA[
+**What it does**
+
+INFO-RNA is a service for the design of RNA sequences that fold into a given pseudo-knot free RNA secondary structure. 
+
+http://rna.informatik.uni-freiburg.de/INFORNA/Input.jsp
+
+**Input**
+
+Constraints: RNA Secondary Structure, Sequence Constraints and Allowed Violations
+
+]]>
+
+    </help>
+    <citations>
+        <citation type="doi">10.1093/bioinformatics/btl194</citation>
+    </citations>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu Sep 17 16:48:38 2015 -0400
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="vienna_rna" version="2.1.5">
+        <repository changeset_revision="749e64a16406" name="package_vienna_rna_2_1" owner="bgruening" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="inforna" version="1.0">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://www.bioinf.uni-freiburg.de/Software/INFO-RNA/versions/INFO-RNA-2.1.2.tar.gz</action>
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="749e64a16406" name="package_vienna_rna_2_1" owner="bgruening" toolshed="https://testtoolshed.g2.bx.psu.edu">
+                        <package name="vienna_rna" version="2.1.5" />
+                    </repository>
+                </action>
+                <action type="shell_command">make VIENNA=$ROOT_VIENNA_RNA_DIR LDFLAGS="-L$ROOT_VIENNA_RNA_DIR/lib -lRNA -fopenmp" </action>
+                <action type="set_environment">
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                </action>
+
+            </actions>
+        </install>
+        <readme>Compiling InfoRNA requires a C compiler (typically gcc)</readme>
+    </package>
+</tool_dependency>