annotate mapper.xml @ 3:a8d24f4b6d95 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
author rnateam
date Wed, 12 Jul 2017 14:38:46 -0400
parents ab8cd78709e1
children dbbe92348c7a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
1 <tool id="rbc_mirdeep2_mapper" name="MiRDeep2 Mapper" version="2.0.0">
3
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
2 <description>process and map reads to a reference genome</description>
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
3 <macros>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
4 <macro name="map_params">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
5 <conditional name="refGenomeSource">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
6 <param name="genomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Map to genome. (-p)">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
7 <option value="indexed">Use a built-in index</option>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
8 <option value="history">Use one from the history</option>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
9 </param>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
10 <when value="indexed">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
11 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact your Galaxy admin.">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
12 <options from_data_table="bowtie_indexes">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
13 <filter type="sort_by" column="2"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
14 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
15 </options>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
16 </param>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
17 </when> <!-- build-in -->
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
18 <when value="history">
3
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
19 <param name="ownFile" type="data" format="fasta" label="Select the reference genome" />
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
20 </when> <!-- history -->
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
21 </conditional> <!-- refGenomeSource -->
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
22 <param name="map_mismatch" type="boolean" truevalue="-q" falsevalue="" checked="false" label="Map with one mismatch in the seed (mapping takes longer)" help="(-q)"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
23 <param name="map_threshold" value="5" type="integer" optional="false" label="A read is allowed to map up to this number of positions in the genome" help="Map threshold. (-r)">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
24 <validator type="in_range" min="1" message="Minimum value is 1"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
25 </param>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
26 </macro>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
27 </macros>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
28 <requirements>
3
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
29 <requirement type="package" version="2.0.0.8">mirdeep2</requirement>
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
30 </requirements>
3
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
31 <stdio>
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
32 <!-- Anything other than zero is an error -->
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
33 <exit_code range="1:" />
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
34 <exit_code range=":-1" />
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
35 <!-- In case the return code has not been set propery check stderr too -->
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
36 <regex match="Error:" />
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
37 <regex match="Exception:" />
a8d24f4b6d95 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 3103ebed1a420c7d3415b67ef532ea579edf9faa
rnateam
parents: 2
diff changeset
38 </stdio>
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
39 <command>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
40 <![CDATA[
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
41
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
42 #if $operation.collapse_map == "collapse_and_map" or $operation.collapse_map == "only_map"
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
43 #if $operation.refGenomeSource.genomeSource == "history"
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
44 bowtie-build '$operation.refGenomeSource.ownFile' custom_bowtie_indices &&
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
45 #end if
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
46 #end if
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
47
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
48 mapper.pl
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
49
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
50 '$reads'
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
51
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
52 #if $reads.extension.startswith("fasta")
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
53 -c
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
54 #else if $reads.extension.startswith("fastq")
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
55 -e
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
56 -h
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
57 #end if
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
58
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
59 $remove_non_canon
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
60
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
61 $convert_rna_dna
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
62
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
63 #if $clip_adapter.clip == "true"
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
64 -k $clip_adapter.adapter_seq
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
65 #end if
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
66
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
67 -l $discard_short_reads
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
68
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
69 #if $operation.collapse_map == "collapse_and_map" or $operation.collapse_map == "only_collapse"
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
70 -m -s '$output_reads_collapsed'
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
71 #end if
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
72
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
73 #if $operation.collapse_map == "collapse_and_map" or $operation.collapse_map == "only_map"
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
74 -p
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
75
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
76 #if $operation.refGenomeSource.genomeSource == "history"
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
77 custom_bowtie_indices
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
78 #else
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
79 '$operation.refGenomeSource.index.fields.path'
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
80 #end if
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
81 $operation.map_mismatch
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
82 -r $operation.map_threshold
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
83
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
84 -t '$output_mapping'
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
85 #end if
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
86
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
87 -v -n
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
88 ]]>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
89 </command>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
90 <inputs>
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
91 <param format="fastq, fasta" name="reads" type="data" optional="false" label="Deep sequencing reads" help="Reads in fastq or FASTA format"/>
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
92 <param name="remove_non_canon" type="boolean" truevalue="-j" falsevalue="" checked="false" label="Remove reads with non-standard nucleotides" help="Remove all entries that have a sequence that contains letters other than a,c,g,t,u,n,A,C,G,T,U,N. (-j)"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
93 <param name="convert_rna_dna" type="boolean" truevalue="-i" falsevalue="" checked="false" label="Convert RNA to DNA alphabet (to map against genome)" help="(-i)"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
94
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
95 <conditional name="clip_adapter">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
96 <param name="clip" type="select" label="Clip 3' Adapter Sequence" help="(-k)">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
97 <option value="false">Don't Clip</option>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
98 <option value="true">Clip Sequence</option>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
99 </param>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
100 <when value="true">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
101 <param name="adapter_seq" value="" type="text" optional="false" label="Sequence to clip" help="Adapter Sequence can only contain a,c,g,t,u,n,A,C,G,T,U,N">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
102 <validator type="regex" message="Adapter can ONLY contain a,c,g,t,u,n,A,C,G,T,U,N">^[ACGTUacgtu]+$</validator>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
103 </param>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
104 </when>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
105 <when value="false"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
106 </conditional>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
107
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
108 <param name="discard_short_reads" value="18" type="integer" optional="false" label="Discard reads shorter than this length" help="Set to 0 to keep all reads. (-l)">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
109 <validator type="in_range" min="0" message="Minimum value is 0"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
110 </param>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
111
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
112 <conditional name="operation">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
113 <param name="collapse_map" type="select" label="Collapse reads and/or Map" help="(-m) and/or (-p)">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
114 <option value="collapse_and_map">Collapse reads and Map</option>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
115 <option value="only_map">Map</option>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
116 <option value="only_collapse">Collapse</option>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
117 </param>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
118 <when value="collapse_and_map">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
119 <expand macro="map_params"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
120 </when>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
121 <when value="only_map">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
122 <expand macro="map_params"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
123 </when>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
124 <when value="only_collapse"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
125 </conditional>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
126 </inputs>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
127 <outputs>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
128 <data format="fasta" name="output_reads_collapsed" label="Collapsed reads of ${tool.name} on ${on_string}">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
129 <filter>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
130 (
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
131 operation['collapse_map'] == "collapse_and_map" or
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
132 operation['collapse_map'] == "only_collapse"
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
133 )
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
134 </filter>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
135 </data>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
136 <data format="tabular" name="output_mapping" label="Mapping output of ${tool.name} on ${on_string} in ARF format">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
137 <filter>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
138 (
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
139 operation['collapse_map'] == "collapse_and_map" or
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
140 operation['collapse_map'] == "only_map"
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
141 )
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
142 </filter>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
143 </data>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
144 </outputs>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
145 <tests>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
146 <test>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
147 <param name="reads" value="reads.fa"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
148 <param name="remove_non_canon" value="True"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
149 <param name="clip" value="true"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
150 <param name="adapter_seq" value="TCGTATGCCGTCTTCTGCTTGT"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
151 <param name="discard_short_reads" value="18"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
152 <param name="collapse_map" value="collapse_and_map"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
153 <param name="genomeSource" value="history"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
154 <param name="ownFile" value="cel_cluster.fa"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
155 <output name="output_reads_collapsed">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
156 <assert_contents>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
157 <has_text text=">seq_349713_x268"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
158 <has_text text="TCACCGGGTGTANATCAGCTAA"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
159 <has_text text=">seq_354255_x214"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
160 <has_text text="TAACCGGGTGAACACTTGCAGT"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
161 <has_text text=">seq_357284_x187"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
162 </assert_contents>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
163 </output>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
164 <output name="output_mapping">
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
165 <assert_contents>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
166 <has_line_matching expression="^.*22\t1\t22\ttcaccgggtggaaactagcagt\tchrII:11534525-11540624\t22\t3060\t3081.*$"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
167 <has_line_matching expression="^.*22\t1\t22\ttcaccgggtggaaactagtagt\tchrII:11534525-11540624\t22\t3060\t3081.*$"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
168 <has_line_matching expression="^.*22\t1\t22\ttcaccgggtgtacatcagcgaa\tchrII:11534525-11540624\t22\t3631\t3652.*$"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
169 <has_line_matching expression="^.*22\t1\t22\ttcaccgggagaaaaactggtgt\tchrII:11534525-11540624\t22\t3382\t3403.*$"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
170 <has_line_matching expression="^.*25\t1\t25\ttcaccgggtggaaactagcagtggc\tchrII:11534525-11540624\t25\t3060\t3084.*$"/>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
171 </assert_contents>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
172 </output>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
173 </test>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
174 </tests>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
175 <help>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
176 <![CDATA[
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
177 **What it does**
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
178
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
179 The MiRDeep2 Mapper module is designed as a tool to process deep sequencing reads and/or map them to the reference genome.
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
180 The module works in sequence space, and can process or map data that is in sequence FASTA format.
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
181 A number of the functions of the mapper module are implemented specifically with Solexa/Illumina data in mind.
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
182
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
183 **Input**
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
184
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
185 Default input is a file in FASTA format, seq.txt or qseq.txt format. More input can be given depending on the options used.
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
186
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
187 **Output**
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
188
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
189 The output depends on the options used. Either a FASTA file with processed reads or an arf file with with mapped reads, or both, are output.
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
190
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
191 Arf format:
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
192 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:
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
193
2
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
194 1. read identifier
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
195 2. length of read sequence
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
196 3. start position in read sequence that is mapped
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
197 4. end position in read sequence that is mapped
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
198 5. read sequence
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
199 6. identifier of the genome-part to which a read is mapped to. This is either a scaffold id or a chromosome name
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
200 7. length of the genome sequence a read is mapped to
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
201 8. start position in the genome where a read is mapped to
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
202 9. end position in the genome where a read is mapped to
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
203 10. genome sequence to which a read is mapped
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
204 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.
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
205 12. Number of mismatches in the read mapping
ab8cd78709e1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents: 1
diff changeset
206 13. Edit string that indicates matches by lowercase 'm' and mismatches by uppercase 'M'
0
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
207
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
208 ]]>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
209 </help>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
210 <citations>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
211 <citation type="doi">10.1093/nar/gkr688</citation>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
212 <citation type="doi">10.1002/0471250953.bi1210s36</citation>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
213 </citations>
af18bb0baa92 Imported from capsule None
rnateam
parents:
diff changeset
214 </tool>