Mercurial > repos > rnateam > mirdeep2_mapper
annotate mapper.xml @ 4:dbbe92348c7a draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
author | rnateam |
---|---|
date | Thu, 05 Apr 2018 08:55:27 -0400 |
parents | a8d24f4b6d95 |
children |
rev | line source |
---|---|
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
1 <tool id="rbc_mirdeep2_mapper" name="MiRDeep2 Mapper" version="2.0.0.8.1"> |
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 | 3 <macros> |
4 <macro name="map_params"> | |
5 <conditional name="refGenomeSource"> | |
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)"> | |
7 <option value="indexed">Use a built-in index</option> | |
8 <option value="history">Use one from the history</option> | |
9 </param> | |
10 <when value="indexed"> | |
11 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact your Galaxy admin."> | |
12 <options from_data_table="bowtie_indexes"> | |
13 <filter type="sort_by" column="2"/> | |
14 <validator type="no_options" message="No indexes are available for the selected input dataset"/> | |
15 </options> | |
16 </param> | |
17 </when> <!-- build-in --> | |
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 | 20 </when> <!-- history --> |
21 </conditional> <!-- refGenomeSource --> | |
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)"/> | |
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)"> | |
24 <validator type="in_range" min="1" message="Minimum value is 1"/> | |
25 </param> | |
26 </macro> | |
27 </macros> | |
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 | 30 </requirements> |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
31 <command detect_errors="aggressive"> |
0 | 32 <![CDATA[ |
33 #if $operation.collapse_map == "collapse_and_map" or $operation.collapse_map == "only_map" | |
34 #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
|
35 bowtie-build '$operation.refGenomeSource.ownFile' custom_bowtie_indices && |
0 | 36 #end if |
37 #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
|
38 |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
39 mapper.pl |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
40 |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
41 #if $input.type == "single": |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
42 '$input.reads' |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
43 |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
44 #if $input.reads.extension.startswith("fasta") |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
45 -c |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
46 #else if $input.reads.extension.startswith("fastq") |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
47 -e |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
48 -h |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
49 #end if |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
50 #else: |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
51 '$samples' -d |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
52 |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
53 #if $input.reads_list[0].reads.extension.startswith("fasta") |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
54 -c |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
55 #else if $input.reads_list[0].reads.extension.startswith("fastq") |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
56 -e |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
57 -h |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
58 #end if |
0 | 59 #end if |
60 | |
61 $remove_non_canon | |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
62 |
0 | 63 $convert_rna_dna |
64 | |
65 #if $clip_adapter.clip == "true" | |
66 -k $clip_adapter.adapter_seq | |
67 #end if | |
68 | |
69 -l $discard_short_reads | |
70 | |
71 #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
|
72 -m -s '$output_reads_collapsed' |
0 | 73 #end if |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
74 |
0 | 75 #if $operation.collapse_map == "collapse_and_map" or $operation.collapse_map == "only_map" |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
76 -p |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
77 |
0 | 78 #if $operation.refGenomeSource.genomeSource == "history" |
79 custom_bowtie_indices | |
80 #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
|
81 '$operation.refGenomeSource.index.fields.path' |
0 | 82 #end if |
83 $operation.map_mismatch | |
84 -r $operation.map_threshold | |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
85 |
2
ab8cd78709e1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents:
1
diff
changeset
|
86 -t '$output_mapping' |
0 | 87 #end if |
88 | |
89 -v -n | |
90 ]]> | |
91 </command> | |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
92 <configfiles> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
93 <configfile name="samples"><![CDATA[#if $input.type == "multiple": |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
94 #for $r in $input.reads_list: |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
95 $r.reads $r.sample_name |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
96 #end for |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
97 #end if]]></configfile> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
98 </configfiles> |
0 | 99 <inputs> |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
100 <conditional name="input"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
101 <param name="type" type="select" label="Pool multiple read sets"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
102 <option value="single" selected="true">No</option> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
103 <option value="multiple">Yes</option> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
104 </param> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
105 <when value="single"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
106 <param format="fastq,fasta" name="reads" type="data" label="Deep sequencing reads" help="Reads in fastq or FASTA format"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
107 </when> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
108 <when value="multiple"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
109 <repeat name="reads_list" title="Reads"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
110 <param name="sample_name" value="" type="text" label="Sample name" help="Must be a 3 letters/digits code"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
111 <validator type="expression" message="The sample name must be a 3 letters/digits code">len(value) == 3 and value.isalnum()</validator> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
112 </param> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
113 <param format="fastq,fasta" name="reads" type="data" optional="false" label="Deep sequencing reads" help="Reads in fastq or FASTA format"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
114 </repeat> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
115 </when> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
116 </conditional> |
0 | 117 <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)"/> |
118 <param name="convert_rna_dna" type="boolean" truevalue="-i" falsevalue="" checked="false" label="Convert RNA to DNA alphabet (to map against genome)" help="(-i)"/> | |
119 | |
120 <conditional name="clip_adapter"> | |
121 <param name="clip" type="select" label="Clip 3' Adapter Sequence" help="(-k)"> | |
122 <option value="false">Don't Clip</option> | |
123 <option value="true">Clip Sequence</option> | |
124 </param> | |
125 <when value="true"> | |
126 <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"> | |
127 <validator type="regex" message="Adapter can ONLY contain a,c,g,t,u,n,A,C,G,T,U,N">^[ACGTUacgtu]+$</validator> | |
128 </param> | |
129 </when> | |
130 <when value="false"/> | |
131 </conditional> | |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
132 |
0 | 133 <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)"> |
134 <validator type="in_range" min="0" message="Minimum value is 0"/> | |
135 </param> | |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
136 |
0 | 137 <conditional name="operation"> |
138 <param name="collapse_map" type="select" label="Collapse reads and/or Map" help="(-m) and/or (-p)"> | |
139 <option value="collapse_and_map">Collapse reads and Map</option> | |
140 <option value="only_map">Map</option> | |
141 <option value="only_collapse">Collapse</option> | |
142 </param> | |
143 <when value="collapse_and_map"> | |
144 <expand macro="map_params"/> | |
145 </when> | |
146 <when value="only_map"> | |
147 <expand macro="map_params"/> | |
148 </when> | |
149 <when value="only_collapse"/> | |
150 </conditional> | |
151 </inputs> | |
152 <outputs> | |
153 <data format="fasta" name="output_reads_collapsed" label="Collapsed reads of ${tool.name} on ${on_string}"> | |
154 <filter> | |
155 ( | |
156 operation['collapse_map'] == "collapse_and_map" or | |
157 operation['collapse_map'] == "only_collapse" | |
158 ) | |
159 </filter> | |
160 </data> | |
161 <data format="tabular" name="output_mapping" label="Mapping output of ${tool.name} on ${on_string} in ARF format"> | |
162 <filter> | |
163 ( | |
164 operation['collapse_map'] == "collapse_and_map" or | |
165 operation['collapse_map'] == "only_map" | |
166 ) | |
167 </filter> | |
168 </data> | |
169 </outputs> | |
170 <tests> | |
171 <test> | |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
172 <conditional name="input"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
173 <param name="type" value="single"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
174 <param name="reads" value="reads.fa"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
175 </conditional> |
0 | 176 <param name="remove_non_canon" value="True"/> |
177 <param name="clip" value="true"/> | |
178 <param name="adapter_seq" value="TCGTATGCCGTCTTCTGCTTGT"/> | |
179 <param name="discard_short_reads" value="18"/> | |
180 <param name="collapse_map" value="collapse_and_map"/> | |
181 <param name="genomeSource" value="history"/> | |
182 <param name="ownFile" value="cel_cluster.fa"/> | |
183 <output name="output_reads_collapsed"> | |
184 <assert_contents> | |
185 <has_text text=">seq_349713_x268"/> | |
186 <has_text text="TCACCGGGTGTANATCAGCTAA"/> | |
187 <has_text text=">seq_354255_x214"/> | |
188 <has_text text="TAACCGGGTGAACACTTGCAGT"/> | |
189 <has_text text=">seq_357284_x187"/> | |
190 </assert_contents> | |
191 </output> | |
192 <output name="output_mapping"> | |
193 <assert_contents> | |
194 <has_line_matching expression="^.*22\t1\t22\ttcaccgggtggaaactagcagt\tchrII:11534525-11540624\t22\t3060\t3081.*$"/> | |
195 <has_line_matching expression="^.*22\t1\t22\ttcaccgggtggaaactagtagt\tchrII:11534525-11540624\t22\t3060\t3081.*$"/> | |
196 <has_line_matching expression="^.*22\t1\t22\ttcaccgggtgtacatcagcgaa\tchrII:11534525-11540624\t22\t3631\t3652.*$"/> | |
197 <has_line_matching expression="^.*22\t1\t22\ttcaccgggagaaaaactggtgt\tchrII:11534525-11540624\t22\t3382\t3403.*$"/> | |
198 <has_line_matching expression="^.*25\t1\t25\ttcaccgggtggaaactagcagtggc\tchrII:11534525-11540624\t25\t3060\t3084.*$"/> | |
199 </assert_contents> | |
200 </output> | |
201 </test> | |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
202 <test> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
203 <conditional name="input"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
204 <param name="type" value="multiple"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
205 <repeat name="reads_list"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
206 <param name="sample_name" value="sa1"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
207 <param name="reads" value="reads_sample1.fa"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
208 </repeat> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
209 <repeat name="reads_list"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
210 <param name="sample_name" value="sa2"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
211 <param name="reads" value="reads_sample2.fa"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
212 </repeat> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
213 </conditional> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
214 <param name="remove_non_canon" value="True"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
215 <param name="clip" value="true"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
216 <param name="adapter_seq" value="TCGTATGCCGTCTTCTGCTTGT"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
217 <param name="discard_short_reads" value="18"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
218 <param name="collapse_map" value="collapse_and_map"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
219 <param name="genomeSource" value="history"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
220 <param name="ownFile" value="cel_cluster.fa"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
221 <output name="output_reads_collapsed"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
222 <assert_contents> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
223 <has_text text=">sa1_220_x1"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
224 <has_text text="TCACCGGGTGTACATCAGC"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
225 <has_text text=">sa2_0_x250"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
226 <has_text text="AATGACACTGGTTATCTTTTCCATCG"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
227 </assert_contents> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
228 </output> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
229 <output name="output_mapping"> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
230 <assert_contents> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
231 <has_line_matching expression="^.*22\t1\t22\ttcaccgggtggaaactagcagt\tchrII:11534525-11540624\t22\t3060\t3081.*$"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
232 <has_line_matching expression="^.*21\t1\t21\ttcaccgggtggaaactagcag\tchrII:11534525-11540624\t21\t3060\t3080.*$"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
233 <has_line_matching expression="^.*22\t1\t22\ttcaccgggtgtacatcagctaa\tchrII:11534525-11540624\t22\t3631\t3652.*$"/> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
234 </assert_contents> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
235 </output> |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
236 </test> |
0 | 237 </tests> |
238 <help> | |
239 <![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
|
240 **What it does** |
0 | 241 |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
242 The MiRDeep2 Mapper module is designed as a tool to process deep sequencing reads and/or map them to the reference genome. |
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
243 The module works in sequence space, and can process or map data that is in sequence FASTA format. |
0 | 244 A number of the functions of the mapper module are implemented specifically with Solexa/Illumina data in mind. |
245 | |
2
ab8cd78709e1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents:
1
diff
changeset
|
246 **Input** |
ab8cd78709e1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents:
1
diff
changeset
|
247 |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
248 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 | 249 |
2
ab8cd78709e1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents:
1
diff
changeset
|
250 **Output** |
ab8cd78709e1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents:
1
diff
changeset
|
251 |
4
dbbe92348c7a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit 04c75332ac618b43ce5c3f307f7866e97147e865
rnateam
parents:
3
diff
changeset
|
252 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. |
2
ab8cd78709e1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents:
1
diff
changeset
|
253 |
ab8cd78709e1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents:
1
diff
changeset
|
254 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
|
255 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 | 256 |
2
ab8cd78709e1
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mirdeep2/mirdeep2_mapper commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
rnateam
parents:
1
diff
changeset
|
257 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
|
258 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
|
259 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
|
260 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
|
261 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
|
262 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
|
263 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
|
264 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
|
265 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
|
266 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
|
267 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
|
268 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
|
269 13. Edit string that indicates matches by lowercase 'm' and mismatches by uppercase 'M' |
0 | 270 |
271 ]]> | |
272 </help> | |
273 <citations> | |
274 <citation type="doi">10.1093/nar/gkr688</citation> | |
275 <citation type="doi">10.1002/0471250953.bi1210s36</citation> | |
276 </citations> | |
277 </tool> |