changeset 3:5cecae70d439 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2 commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
author rnateam
date Wed, 12 Jul 2017 14:37:54 -0400
parents d0faf81ccc99
children d338dbd76ea0
files miRDeep2.tar.gz mirdeep2.xml tool_dependencies.xml
diffstat 3 files changed, 37 insertions(+), 64 deletions(-) [+]
line wrap: on
line diff
Binary file miRDeep2.tar.gz has changed
--- a/mirdeep2.xml	Wed Feb 04 13:04:49 2015 -0500
+++ b/mirdeep2.xml	Wed Jul 12 14:37:54 2017 -0400
@@ -1,19 +1,16 @@
 <tool id="rbc_mirdeep2" name="MiRDeep2" version="2.0.0">
-    <description>
-<![CDATA[
-identification of novel and known miRNAs
-]]>
-    </description>
+    <description>identification of novel and known miRNAs</description>
     <requirements>
-        <requirement type="package" version="2.0">mirdeep2</requirement>
-        <requirement type="package" version="2.0">mirdeep2_quantifier</requirement>
-        <requirement type="package" version="0.12.7">bowtie</requirement>
-        <requirement type="package" version="5.18.1">perl</requirement>
-        <requirement type="package" version="1.8.5">vienna_rna</requirement>
-        <requirement type="package" version="2.023">pdf_api2</requirement>
-        <requirement type="package" version="2.0">randfold</requirement>
+        <requirement type="package" version="2.0.0.8">mirdeep2</requirement>
     </requirements>
-
+    <stdio>
+        <!-- Anything other than zero is an error -->
+        <exit_code range="1:" />
+        <exit_code range=":-1" />
+        <!-- In case the return code has not been set propery check stderr too -->
+        <regex match="Error:" />
+        <regex match="Exception:" />
+    </stdio>
     <command>
 <![CDATA[
     miRDeep2.pl
@@ -77,14 +74,6 @@
     
 ]]>
     </command>
-    <stdio>
-        <!-- Anything other than zero is an error -->
-        <exit_code range="1:" />
-        <exit_code range=":-1" />
-        <!-- In case the return code has not been set propery check stderr too -->
-        <regex match="Error:" />
-        <regex match="Exception:" />
-    </stdio>
     <inputs> 
         <param name="reads" format="fasta" type="data" label="Collapsed deep sequencing reads">
             <help>
@@ -146,7 +135,7 @@
         </param>
         <param name="star_sequences" format="fasta" type="data" optional="true" label="Star sequences" help="From miRBase in fasta format (optional) (-s)"/>
         
-        <param name="min_read_stack" optional="true" type="integer" minvalue="0" label="Minimum read stack height">
+        <param name="min_read_stack" optional="true" type="integer" min="0" label="Minimum read stack height">
             <help>
 <![CDATA[
 minimum read stack height that triggers analysis. Using this option disables
@@ -177,16 +166,40 @@
             <param name="precursors" value="precursors_ref_this_species.fa"/>
             
             <output name="tab_results" file="result.csv" compare="sim_size"/>
-            <output name="prec_acc" file="survey.csv" compare="sim_size"/>
+            <output name="pred_acc" file="survey.csv" compare="sim_size"/>
             <output name="bed_out" file="result.bed" compare="sim_size"/>
             <output name="mrd_out" file="output.mrd" compare="sim_size"/>
         </test>
     </tests>
     <help>
 <![CDATA[
-**What MiRDeep2 does**
+
+**What it does**
 
 MiRDeep2 is a software package for identification of novel and known miRNAs in deep sequencing data. Furthermore, it can be used for miRNA expression profiling across samples.
+
+**Input**
+
+A FASTA file with deep sequencing reads, a FASTA file of the corresponding genome, a file of mapped reads to the genome in miRDeep2 arf format, an optional fasta file with known miRNAs of the analysing species and an option fasta file of known miRNAs of related species.
+
+Arf format:
+Is a proprietary file format generated and processed by miRDeep2. It contains information of reads mapped to a reference genome. Each line in such a file contains 13 columns:
+
+1. read identifier
+2. length of read sequence
+3. start position in read sequence that is mapped
+4. end position in read sequence that is mapped
+5. read sequence
+6. identifier of the genome-part to which a read is mapped to. This is either a scaffold id or a chromosome name
+7. length of the genome sequence a read is mapped to
+8. start position in the genome where a read is mapped to
+9. end position in the genome where a read is mapped to
+10. genome sequence to which a read is mapped
+11. genome strand information. Plus means the read is aligned to the sense-strand of the genome. Minus means it is aligned to the antisense-strand of the genome.
+12. Number of mismatches in the read mapping
+13. Edit string that indicates matches by lowercase 'm' and mismatches by uppercase 'M'
+
+
 ]]>
     </help>
     <citations>
--- a/tool_dependencies.xml	Wed Feb 04 13:04:49 2015 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<tool_dependency>
-    <package name="perl" version="5.18.1">
-        <repository changeset_revision="114b6af405fa" name="package_perl_5_18" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
-    </package>
-    <package name="bowtie" version="0.12.7">
-        <repository changeset_revision="9f9f38617a98" name="package_bowtie_0_12_7" owner="devteam" toolshed="https://toolshed.g2.bx.psu.edu" />
-    </package>
-    <package name="vienna_rna" version="1.8.5">
-        <repository changeset_revision="6757330f89cd" name="package_vienna_rna_1_8" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
-    </package>
-    <package name="pdf_api2" version="2.023">
-        <repository changeset_revision="b9b7fadfdb69" name="package_perl_pdf_api2_2_023" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
-    </package>
-    <package name="randfold" version="2.0">
-        <repository changeset_revision="b34d2c942c79" name="package_randfold_2_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
-    </package>
-    <package name="mirdeep2_quantifier" version="2.0">
-        <repository changeset_revision="40dc77f3730c" name="mirdeep2_quantifier" owner="rnateam" toolshed="https://toolshed.g2.bx.psu.edu" />
-    </package>
-    <package name="mirdeep2" version="2.0">
-        <install version="1.0">
-            <actions>
-                <action type="download_by_url">https://raw.githubusercontent.com/bgruening/download_store/master/miRDeep2/miRDeep2.tar.gz</action>
-                <action type="move_directory_files">
-                    <source_directory>.</source_directory>
-                    <destination_directory>$INSTALL_DIR</destination_directory>
-                </action>
-                <action type="set_environment">
-                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
-                </action>
-            </actions>
-        </install>
-        <readme>
-
-MiRDeep2 is a software package for identification of novel and known miRNAs in deep sequencing data. Furthermore, it can be used for miRNA expression profiling across samples.
-
-        </readme>
-    </package>
-</tool_dependency>