annotate mirdeep2/mapper.xml @ 1:798fe7ba8b5e default tip

uploading ucsc browser species file
author nikhil-joshi
date Mon, 19 Sep 2011 19:07:09 -0400
parents 5b9519f4b165
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
1 <tool id="mapper" name="Mapping to reference">
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
2 <description>Mapping using a bowtie index</description>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
3
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
4 <requirements>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
5 <requirement type="perl-module">mapper_wrapper.pl</requirement>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
6 </requirements>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
7
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
8 <command interpreter="perl">
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
9 ./mapper_wrapper.pl $bowtie_index_name $output_arf $bowtie_index_name.extra_files_path $reads
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
10
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
11 #if $reads.extension.startswith("fastq"):
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
12 -e
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
13 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
14
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
15 #if $reads.extension.startswith("fasta"):
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
16 -c
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
17 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
18
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
19 #if str($convert_rna) == "convert_rna_true":
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
20 -i
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
21 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
22
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
23 #if str($remove_non_atcgun) == "remove_non_atcgun_true":
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
24 -j
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
25 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
26
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
27 #if str($adapter_seq) != "":
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
28 -k $adapter_seq
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
29 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
30
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
31 #if str($discard_short_reads) != "":
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
32 -l $discard_short_reads
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
33 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
34
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
35 #if str($collapse_reads) == "Collapsed Reads Fasta":
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
36 -m
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
37 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
38
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
39 #if str($map_mismatch) == "map_mismatch_false":
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
40 -q
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
41 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
42
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
43 #if str($map_threshold) != "":
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
44 -r $map_threshold
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
45 #end if
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
46
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
47 -h -s $output_fasta -n
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
48 </command>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
49
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
50 <inputs>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
51 <param format="fastq, fasta" name="reads" type="data" optional="false" label="Reads" help="Reads in fastq or fasta format"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
52 <param format="bowtie_html_index" name="bowtie_index_name" type="data" optional="false" label="Bowtie indexed reference" help="Select the bowtie-build run, NOT the fasta reference file you indexed."/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
53
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
54 <param name="convert_rna" type="boolean" truevalue="convert_rna_true" falsevalue="convert_rna_false" checked="false" label="Convert RNA to DNA alphabet (to map against genome)"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
55
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
56 <param name="remove_non_atcgun" type="boolean" truevalue="remove_non_atcgun_true" falsevalue="remove_non_atcgun_false" 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"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
57
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
58 <param name="adapter_seq" value="" type="text" optional="true" label="Clip 3' Adapter Sequence (optional)" help="Adapter Sequence can only contain a,c,g,t,u,n,A,C,G,T,U,N">
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
59 <validator type="regex" message="Adapter can ONLY contain a,c,g,t,u,n,A,C,G,T,U,N">^[ACGTUacgtu]+$</validator>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
60 </param>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
61
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
62 <param name="discard_short_reads" value="17" type="integer" optional="false" label="Discard reads shorter than this length (0 for keeping all reads)" help="Note that miRDeep2 requires no reads under 17 in length">
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
63 <validator type="in_range" min="0" message="Minimum value is 0"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
64 </param>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
65
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
66 <param name="collapse_reads" type="boolean" truevalue="Collapsed Reads Fasta" falsevalue="Fasta" checked="true" label="Collapse identical reads into one read with count information in sequence header (default)"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
67
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
68 <param name="map_mismatch" type="boolean" truevalue="map_mismatch_true" falsevalue="map_mismatch_false" checked="false" label="Map with one mismatch in the seed (mapping takes longer)"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
69
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
70 <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">
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
71 <validator type="in_range" min="1" message="Minimum value is 1"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
72 </param>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
73 </inputs>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
74
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
75 <outputs>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
76 <data format="fasta" name="output_fasta" label="$collapse_reads of ${tool.name} on ${on_string}"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
77 <data format="arf" name="output_arf" label="Mapping output of ${tool.name} on ${on_string} in ARF format"/>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
78 </outputs>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
79 </tool>
5b9519f4b165 Upload first commmit
nikhil-joshi
parents:
diff changeset
80