annotate quantifier.xml @ 2:d5ea61ff12eb draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
author rnateam
date Wed, 12 Jul 2017 14:41:05 -0400
parents 2c039fc73f1f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
1 <tool id="rbc_mirdeep2_quantifier" name="MiRDeep2 Quantifier" version="2.0.0">
2
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
2 <description>fast quantitation of reads mapping to known miRBase precursors</description>
0
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
3 <requirements>
2
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
4 <requirement type="package" version="2.0.0.8">mirdeep2</requirement>
0
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
5 </requirements>
2
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
6 <stdio>
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
7 <!-- Anything other than zero is an error -->
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
8 <exit_code range="1:" />
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
9 <exit_code range=":-1" />
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
10 <!-- In case the return code has not been set propery check stderr too -->
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
11 <regex match="Error:" />
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
12 <regex match="Exception:" />
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
13 </stdio>
0
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
14 <command>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
15 <![CDATA[
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
16 quantifier.pl
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
17
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
18 -p $precursors
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
19
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
20 -m $mature
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
21
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
22 -r $reads
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
23
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
24 #if $species.value != 'all'
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
25 -t $species
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
26 #end if
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
27
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
28 #if $star_sequences
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
29 -s $star_sequences
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
30 #end if
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
31
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
32 $sortReadsInPDF
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
33 $flexibleIdMapping
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
34 $skipFileConversion
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
35 $wholePrecursAsMature
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
36 $discardReadMultiMap
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
37
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
38 -e $upstreamNtides
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
39 -f $downstreamNtides
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
40 -g $allowedMismatches
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
41 -y galaxy
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
42
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
43 ## html output
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
44 ;
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
45 cp expression_galaxy.html $html 2> /dev/null
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
46
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
47 ## move pdf directory to be accessible from the new index.html
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
48 ;
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
49 mkdir -p $html.files_path 2> /dev/null
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
50 ;
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
51 cp -R pdfs_galaxy $html.files_path 2> /dev/null
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
52
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
53 ]]>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
54 </command>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
55 <inputs>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
56 <param name="reads" format="fasta" type="data" label="Collapsed deep sequencing reads" help="Reads in fasta format. (-r)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
57 <param name="precursors" format="fasta" type="data" label="Precursor sequences" help="miRNA precursor sequences from miRBase. (-p)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
58 <param name="mature" format="fasta" type="data" label="Mature miRNA sequences" help="Mature miRNA sequences from miRBase. (-m)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
59 <param name="species" type="select" label="Search in species" help="If not searching in a specific species all species in your files will be analyzed. (-t)">
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
60 <option value="all">All species</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
61 <option value="tni">tetraodon</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
62 <option value="dps">d.pseudoobscura</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
63 <option value="dya">d.yakuba</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
64 <option value="ame">a.mellifera</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
65 <option value="dmo">d.mojavensis</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
66 <option value="cel">worm</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
67 <option value="aga">a.gambiae</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
68 <option value="cbr">c.briggsae</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
69 <option value="cin">c.intestinalis</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
70 <option value="mmu">mouse</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
71 <option value="xtr">x.tropicalis</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
72 <option value="eca">horse</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
73 <option value="cfa">dog</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
74 <option value="fru">fugu</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
75 <option value="bta">cow</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
76 <option value="der">d.erecta</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
77 <option value="dgr">d.grimshawi</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
78 <option value="gga">chicken</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
79 <option value="spu">s.purpuratus</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
80 <option value="bfl">lancelet</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
81 <option value="ptr">chimp</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
82 <option value="dse">d.sechellia</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
83 <option value="dpe">d.persimilis</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
84 <option value="dvi">d.virilis</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
85 <option value="rno">rat</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
86 <option value="dme">d.melanogaster</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
87 <option value="lca">cat</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
88 <option value="sja">c.japonica</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
89 <option value="dan">d.ananassae</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
90 <option value="hsa">human</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
91 <option value="dsi">d.simulans</option>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
92 </param>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
93 <param name="star_sequences" format="fasta" type="data" optional="true" label="Star sequences" help="From miRBase in fasta format (optional) (-s)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
94
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
95 <!-- <param name="generatePDFs" type="boolean" checked="true" truevalue="" falsevalue="-d" label="Generate PDFs" help="(-d)"/> -->
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
96 <param name="sortReadsInPDF" type="boolean" checked="true" truevalue="" falsevalue="-o" label="Sort reads by sample in PDF" help="(-o)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
97 <param name="flexibleIdMapping" type="boolean" checked="false" truevalue="-k" falsevalue="" label="Include ID-flexible mapping" help="Also considers precursor-mature mappings that have different ids, eg let7c would be allowed to map to pre-let7a. (-k)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
98 <param name="skipFileConversion" type="boolean" checked="false" truevalue="-n" falsevalue="" label="Skip file conversion" help="(-n)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
99 <param name="skipPrecursMapping" type="boolean" checked="false" truevalue="-x" falsevalue="" label="Skip mapping against precursor" help="(-x)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
100 <!-- <param name="noMrdPDF" type="boolean" checked="false" truevalue="-j" falsevalue="" label="Do not create output.mrd file or PDFs" help="(-j)"/> -->
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
101 <param name="wholePrecursAsMature" type="boolean" checked="false" truevalue="-w" falsevalue="" label="Consider the whole precursor as the 'mature sequence'" help="(-w)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
102 <param name="discardReadMultiMap" type="boolean" checked="false" truevalue="-U" falsevalue="" label="Discard all read multimapper" help="(-U)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
103
2
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
104 <param name="upstreamNtides" type="integer" value="2" min="0" label="Upstream nucleotides" help="Number of nucleotides upstream of the mature sequence to consider. (-e)"/>
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
105 <param name="downstreamNtides" type="integer" value="5" min="0" label="Downstream nucleotides" help="Number of nucleotides downstream of the mature sequence to consider. (-f)"/>
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
106 <param name="allowedMismatches" type="integer" value="1" min="0" label="Allowed mismatches" help="Number of allowed mismatches when mapping reads to precursors. (-g)"/>
0
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
107 </inputs>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
108 <outputs>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
109 <data name="miRNAsExpressed" format="tabular" from_work_dir="miRNAs_expressed_all_samples_galaxy.csv" label="output of ${tool.name} on ${on_string}"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
110 <data format="html" name="html" label="${tool.name} on ${on_string} (html report)"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
111 </outputs>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
112 <tests>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
113 <test>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
114 <param name="reads" value="reads_collapsed.fa"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
115 <param name="precursors" value="precursors_ref_this_species.fa"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
116 <param name="mature" value="mature_ref_this_species.fa"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
117 <param name="species" value="cel"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
118 <output name="miRNAsExpressed" file="miRNAs_expressed_all_samples.csv"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
119 <output name="html" file="expression_galaxy.html"/>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
120 </test>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
121 </tests>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
122 <help>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
123 <![CDATA[
2
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
124
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
125 **What it does**
0
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
126
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
127 The module maps the deep sequencing reads to predefined miRNA precursors and determines by that the expression of the corresponding miRNAs.
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
128 First, the predefined mature miRNA sequences are mapped to the predefined precursors. Optionally, predefined star sequences can be mapped to the precursors too.
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
129 By that the mature and star sequence in the precursors are determined. Second, the deep sequencing reads are mapped to the precursors.
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
130 The number of reads falling into an interval 2nt upstream and 5nt downstream of the mature/star sequence is determined.
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
131 ]]>
2
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
132
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
133 **Input**
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
134
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
135 A FASTA file with precursor sequences, a FASTA file with mature miRNA sequences, a FASTA file with deep sequencing reads and optionally a FASTA file with star sequences and the 3 letter code of the species of interest.
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
136
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
137 **Output**
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
138
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
139 A tab separated file with miRNA identifiers and its read count, a signature file, a html file that gives an overview of all miRNAs the input data and a pdfs that contains for each miRNA a pdf file showing its signature and structure.
d5ea61ff12eb planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_quantifier commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 0
diff changeset
140
0
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
141 </help>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
142 <citations>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
143 <citation type="doi">10.1093/nar/gkr688</citation>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
144 <citation type="doi">10.1002/0471250953.bi1210s36</citation>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
145 </citations>
2c039fc73f1f Imported from capsule None
rnateam
parents:
diff changeset
146 </tool>