changeset 2:9c8ff1bdd041 draft default tip

"planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/miranda commit a9aa47b387ab4d4ee8628956aaea80d7aabca936"
author earlhaminst
date Mon, 21 Dec 2020 17:17:34 +0000
parents 89d595ffa9db
children
files miranda.xml
diffstat 1 files changed, 9 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/miranda.xml	Fri Mar 24 12:47:52 2017 -0400
+++ b/miranda.xml	Mon Dec 21 17:17:34 2020 +0000
@@ -1,11 +1,11 @@
-<tool id="miranda" name="miRanda" version="3.3a">
+<tool id="miranda" name="miRanda" version="3.3a+galaxy1">
     <description>finds potential target sites for miRNAs in genomic sequences</description>
     <requirements>
         <requirement type="package" version="3.3a">miranda</requirement>
+        <requirement type="package" version="3.9">python</requirement>
     </requirements>
     <version_command>miranda --version|grep 'miranda v'</version_command>
-    <command detect_errors="exit_code">
-<![CDATA[
+    <command detect_errors="exit_code"><![CDATA[
 miranda '$microrna' '$query'
 #if str($sc)
     -sc $sc
@@ -16,13 +16,12 @@
 -out '$raw_output'
 &&
 python '$__tool_directory__/miranda_parser.py' '$raw_output' '$tabular_output'
-]]>
-    </command>
+    ]]></command>
     <inputs>
         <param name="microrna" type="data" format="fasta" label="MicroRNA sequences" help="FASTA format" />
         <param name="query" type="data" format="fasta" label="Query sequences" help="FASTA format" />
-        <param name="sc" type="float" min="0.0" value="140.0" optional="true" label="Alignment score threshold" help="Only alignments with score greater or equal to this value will be used for further analysis (-sc)" />
-        <param name="en" type="float" value="1.0" optional="true" label="Set energy threshold to -E kcal/mol" help="Only alignments with energy less or equal to this value will be used for further analysis. A negative value is required for filtering to occur (-en)" />
+        <param argument="-sc" type="float" min="0.0" value="140.0" optional="true" label="Alignment score threshold" help="Only alignments with score greater or equal to this value will be used for further analysis" />
+        <param argument="-en" type="float" value="1.0" optional="true" label="Set energy threshold to -E kcal/mol" help="Only alignments with energy less or equal to this value will be used for further analysis. A negative value is required for filtering to occur" />
     </inputs>
     <outputs>
         <data name="raw_output" format="txt" label="${tool.name} on ${on_string}: raw output" />
@@ -35,9 +34,8 @@
             <output name="raw_output" file="raw_output.txt" lines_diff="4" />
         </test>
     </tests>
-    <help>
-<![CDATA[
-`miRanda`_ is an algorithm for the detection of potential microRNA target sites in genomic sequences.
+    <help><![CDATA[
+miRanda is an algorithm for the detection of potential microRNA target sites in genomic sequences.
 
 One or more miRNA sequences are scanned against all query sequences and potential target sites are reported. Potential target sites are identified using a two-step strategy. First a dynamic programming local alignment is carried out between the query miRNA sequence and the reference sequence. This alignment procedure scores based on sequence complementarity and not on sequence identity. In other words we look for A:U and G:C matches instead of A:A, G:G, etc. The G:U wobble bair is also permitted, but generally scores less than the more optimal matches.
 
@@ -46,10 +44,7 @@
 Finally, detected targets with energies less than a chosen energy threshold are selected as potential target sites. Target site alignments passing both thresholds and other information is produced as output.
 
 View the original miRanda manual: http://cbio.mskcc.org/microrna_data/manual.html
-
-.. _miRanda: http://www.microrna.org/
-]]>
-    </help>
+    ]]></help>
     <citations>
         <citation type="doi">10.1186/gb-2003-5-1-r1</citation>
     </citations>