changeset 0:412a7b592d7b draft default tip

initial Uploaded
author bgruening
date Sat, 22 Feb 2014 07:56:52 -0500
parents
children
files tool_dependencies.xml twistdna.xml
diffstat 2 files changed, 91 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Sat Feb 22 07:56:52 2014 -0500
@@ -0,0 +1,19 @@
+<tool_dependency>
+    <package name="twistdna" version="1.1">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://www.cbp.ens-lyon.fr/lib/exe/fetch.php?media=developpement:productions:logiciels:twist-dna_1.1.tar.gz</action>
+                <action type="shell_command">make </action>
+                <action type="make_directory">$INSTALL_DIR/bin</action>
+                <action type="move_file">
+                    <source>TwistDNA</source>
+                    <destination>$INSTALL_DIR/bin</destination>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>Compiling TwistDNA requires a C compiler and gfortran (typically gcc)</readme>
+    </package>
+</tool_dependency>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/twistdna.xml	Sat Feb 22 07:56:52 2014 -0500
@@ -0,0 +1,72 @@
+<tool id="twistdna" name="TwistDNA" version="0.1.0">
+    <description>Twist-DNA allows visualization of results in standard genome browsers to compare DNA opening properties to other available datasets</description>
+    <requirements>
+        <requirement type="package" version="1.1">twistdna</requirement>
+    </requirements>
+    <command>
+cp $configfile "input.dat";
+mkdir param;
+mkdir outputs;
+cp $enthalpy "param/param_enthalpy.dat";
+cp $entropy "param/param_entropy.dat";
+TwistDNA &lt; $input;
+##remove the first line, because there they are useless
+tail -n+2 outputs/bubblethresh.bed | tr -s ' ' '\t' > $outfile1;
+tail -n+2 outputs/openproba.bed | tr -s ' ' '\t' > $outfile2;
+
+    </command>
+    <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>
+    <inputs>
+        <param format="fasta" name="input" type="data" label="Input Alignment File" />
+        <conditional name="check">
+            <param name="advanced" type="select" label="Show advanced Options" help="" checked="false">
+                <option value="yes">Yes</option>
+                <option value="no">No</option>
+            </param>
+            <when value="yes">
+                <param name="temperature" label="Temperature in Celsius" type="float" value="37" />
+                <param name="sigma" label="Superhelical density Sigma" type="float" value="-0.06" />
+                <param name="salt" label="Salt concentration CNa" type="float" value="0.1" />
+                <param name="small_bubble" label="Smallest bubble size bsizemin" type="integer" value="1" />
+                <param name="large_bubble" label="Largest bubble size bsizemax" type="integer" value="0" />
+                <param name="bubble_size_step" label="Bubble size step bstep" type="integer" value="1" />
+                <param name="threshold" label="Bubble storing threshold" type="float" value="-3.0" />
+            </when>
+         </conditional>
+    </inputs>
+    <configfiles>
+        <configfile name="configfile">
+$getVar('check.temperature', '37')	::Temperature T in Celsius (default 37 C)
+$getVar('check.sigma', '-0.06')	::Superhelical density Sigma (default -0.06)
+$getVar('check.salt', '0.1')	::Salt concentration CNa (default 0.1 M)
+$getVar('check.small_bubble', '1')	::Smallest bubble size bsizemin
+$getVar('check.large_bubble', '0')	::Largest bubble size bsizemax
+$getVar('check.bubble_size_step', '1')	::Bubble size step bstep
+$getVar('check.threshold', '-3.0')	::Bubble storing threshold (default -3)
+        </configfile>
+        <configfile name="enthalpy">
+-12.84	-12.52	-11.58	-13.72
+-13.43	-13.00	-13.72	-15.89
+-11.72	-13.67	-12.84	-13.43
+-13.67	-17.07	-12.52	-13.00
+        </configfile>
+        <configfile name="entropy">
+-11.29	-10.53	-10.16	-11.56
+-11.38	-9.89	-11.56	-12.42
+-10.89	-11.55	-11.29	-11.38
+-11.55	-13.68	-10.53	-9.89
+        </configfile>
+    </configfiles>
+    <outputs>
+        <data name="outfile1" format="bed" />
+        <data name="outfile2" format="bed" />
+    </outputs>
+    <help>**What it does**
+    http://www.cbp.ens-lyon.fr/doku.php?id=developpement:productions:logiciels:twistdna
+
+    Local opening of the DNA double-helix is required in many fundamental biological processes and is in part controlled by the degree of superhelicity imposed in vivo by the protein machinery. In particular, positions of superhelically destabilized regions correlate with regulatory sites along the genome. Based on a self-consistent linearization of a thermodynamic model of superhelical DNA introduced by Benham, we have developed Twist-DNA, a program that predicts the locations of these regions by efficiently computing base-pair and bubble opening probabilities in genomic DNA. The program allows visualization of results in standard genome browsers to compare DNA opening properties to other available datasets. 
+    </help>
+</tool>