Mercurial > repos > drosofff > msp_sr_bowtie
annotate sRbowtie.xml @ 32:ed6edd0c3b48 draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 8cf5537e298d9a0e0c119ca484b95e2761780aae-dirty
author | drosofff |
---|---|
date | Sun, 02 Jul 2017 13:27:58 -0400 |
parents | e0a3a72719f3 |
children | 5cb36185f910 |
rev | line source |
---|---|
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
1 <tool id="bowtieForSmallRNA" name="sRbowtie" version="1.2"> |
1 | 2 <description>for FASTA small reads</description> |
3 <requirements> | |
32
ed6edd0c3b48
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 8cf5537e298d9a0e0c119ca484b95e2761780aae-dirty
drosofff
parents:
31
diff
changeset
|
4 <requirement type="package" version="2.7.13">python</requirement> |
ed6edd0c3b48
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 8cf5537e298d9a0e0c119ca484b95e2761780aae-dirty
drosofff
parents:
31
diff
changeset
|
5 <requirement type="package" version="1.2">bowtie</requirement> |
24
2f4e22f2177d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit cc96644a48fed1476e854fb7116b5f51c42f9f17
drosofff
parents:
23
diff
changeset
|
6 <requirement type="package" version="1.4.1">samtools</requirement> |
1 | 7 </requirements> |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
29
04685a1b3de1
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86-dirty
drosofff
parents:
28
diff
changeset
|
9 #if $refGenomeSource.genomeSource == "history": |
28
c1ae0c9ad7d1
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86-dirty
drosofff
parents:
27
diff
changeset
|
10 bowtie-build -f $refGenomeSource.ownFile local_index && |
12
a0bde9b84ca6
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
11
diff
changeset
|
11 #else: |
28
c1ae0c9ad7d1
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86-dirty
drosofff
parents:
27
diff
changeset
|
12 ln -f -s $refGenomeSource.index.fields.path local_index && |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
13 #end if |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
14 #if $input.extension == "fasta": |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
15 #set format = "-f" |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
16 #elif $input.extension == "fastq": |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
17 #set format = "-q" |
12
a0bde9b84ca6
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
11
diff
changeset
|
18 #end if |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
19 |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
20 ## set the method_prefix |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
21 #if $method == "RNA": |
22
764181d43c36
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 1793456e6d76453825d92c76ca1051f6eccde0ab
drosofff
parents:
21
diff
changeset
|
22 #set method_prefix = "-v %s -M 1 --best --strata --norc" % str($v_mismatches) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
23 #elif $method == "unique": |
22
764181d43c36
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 1793456e6d76453825d92c76ca1051f6eccde0ab
drosofff
parents:
21
diff
changeset
|
24 #set method_prefix = "-v %s -m 1" % str($v_mismatches) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
25 #elif $method == "multiple": |
22
764181d43c36
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 1793456e6d76453825d92c76ca1051f6eccde0ab
drosofff
parents:
21
diff
changeset
|
26 #set method_prefix = "-v %s -M 1 --best --strata" % str($v_mismatches) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
27 #elif $method == "k_option": |
22
764181d43c36
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 1793456e6d76453825d92c76ca1051f6eccde0ab
drosofff
parents:
21
diff
changeset
|
28 #set method_prefix = "-v %s -k 1 --best" % str($v_mismatches) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
29 #elif $method == "n_option": |
22
764181d43c36
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 1793456e6d76453825d92c76ca1051f6eccde0ab
drosofff
parents:
21
diff
changeset
|
30 #set method_prefix = "-n %s -M 1 --best" % str($v_mismatches) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
31 #elif $method == "a_option": |
22
764181d43c36
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 1793456e6d76453825d92c76ca1051f6eccde0ab
drosofff
parents:
21
diff
changeset
|
32 #set method_prefix = "-v %s -a --best" % str($v_mismatches) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
33 #end if |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
34 |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
35 ## set the extra_output |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
36 #if $additional_fasta == "No": |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
37 #set extra_output = "" |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
38 #elif $additional_fasta == "al": |
15
44d61fa7fb75
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 52409b39598052ed0eae765a8a9e277c82611e8d
drosofff
parents:
14
diff
changeset
|
39 #set extra_output = " --al %s " % str($aligned) |
44d61fa7fb75
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 52409b39598052ed0eae765a8a9e277c82611e8d
drosofff
parents:
14
diff
changeset
|
40 #elif $additional_fasta == "unal": |
44d61fa7fb75
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 52409b39598052ed0eae765a8a9e277c82611e8d
drosofff
parents:
14
diff
changeset
|
41 #set extra_output = " --un %s " % str($unaligned) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
42 #else: |
15
44d61fa7fb75
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 52409b39598052ed0eae765a8a9e277c82611e8d
drosofff
parents:
14
diff
changeset
|
43 #set extra_output = " --al %s --un %s " % (str($aligned), str($unaligned)) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
44 #end if |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
45 |
19
dd5985c5798d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit c23d8a44b40e7b6fc7f15dae5b23ceb5929c8ace
drosofff
parents:
18
diff
changeset
|
46 #set $method_postfix = " %s %s " % ($method_prefix, $extra_output) |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
47 |
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
48 ## run the bowtie alignement |
29
04685a1b3de1
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86-dirty
drosofff
parents:
28
diff
changeset
|
49 #if $output_format == "tabular": |
30
5bd8c555390d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86-dirty
drosofff
parents:
29
diff
changeset
|
50 bowtie -p \${GALAXY_SLOTS:-4} $method_postfix --suppress 6,7,8 local_index $format '$input' > $output |
29
04685a1b3de1
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86-dirty
drosofff
parents:
28
diff
changeset
|
51 #elif $output_format == "sam": |
27
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
52 bowtie -p \${GALAXY_SLOTS:-4} $method_postfix -S local_index $format '$input' > '$output' |
29
04685a1b3de1
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86-dirty
drosofff
parents:
28
diff
changeset
|
53 #elif $output_format == "bam": |
30
5bd8c555390d
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86-dirty
drosofff
parents:
29
diff
changeset
|
54 bowtie -p \${GALAXY_SLOTS:-4} $method_postfix -S local_index $format '$input' | samtools sort -O bam -o $output |
14
a05b107fd0c4
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit d568170c53bf34da0560546d70038b1c53eb301b
drosofff
parents:
13
diff
changeset
|
55 #end if |
27
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
56 ##### | samtools view -uS |
12
a0bde9b84ca6
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit b6de14061c479f0418cd89e26d6f5ac26e565a07
drosofff
parents:
11
diff
changeset
|
57 ]]></command> |
1 | 58 <inputs> |
59 <param format="fasta, fastq" help="Only with clipped, raw fasta files" label="Input fasta file: reads clipped from their adapter" name="input" type="data" /> | |
60 <param help="bowtie parameters adjusted to the type of matching. RNA option match to only one strand" label="What kind of matching do you want to do?" name="method" type="select"> | |
61 <option value="RNA">Match on sense strand RNA reference index, multiple mappers randomly matched at a single position</option> | |
62 <option value="unique">Match unique mappers on DNA reference index</option> | |
63 <option selected="true" value="multiple">Match on DNA, multiple mappers randomly matched at a single position</option> | |
64 <option value="k_option">Match on DNA as fast as possible, without taking care of mapping issues (for raw annotation of reads)</option> | |
65 <option value="n_option">Match on DNA - RNAseq mode (-n bowtie option)</option> | |
66 <option value="a_option">Match and report all valid alignments</option> | |
67 </param> | |
68 <param help="specify the -v bowtie option" label="Number of mismatches allowed" name="v_mismatches" type="select"> | |
69 <option value="0">0</option> | |
70 <option selected="true" value="1">1</option> | |
71 <option value="2">2</option> | |
72 <option value="3">3</option> | |
73 </param> | |
74 <conditional name="refGenomeSource"> | |
75 <param help="Built-ins were indexed using default options" label="Will you select a reference genome from your history or use a built-in index?" name="genomeSource" type="select"> | |
76 <option value="indexed">Use a built-in index</option> | |
77 <option value="history">Use one from the history</option> | |
78 </param> | |
79 <when value="indexed"> | |
2
316124e85b8d
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
mvdbeek
parents:
1
diff
changeset
|
80 <param help="if your genome of interest is not listed - contact instance administrator" label="Select a DNA reference index" name="index" type="select"> |
1 | 81 <options from_data_table="bowtie_indexes"> |
82 | |
0 | 83 </options> |
1 | 84 </param> |
85 </when> | |
86 <when value="history"> | |
87 <param format="fasta" label="Select a fasta file, to serve as index reference" name="ownFile" type="data" /> | |
88 </when> | |
89 </conditional> | |
90 <param help="Note that the BAM will be viewable in trackster only if you choose a full genome referenced for Trackster usage. see the doc below" label="Select output format" name="output_format" type="select"> | |
7
5d82f9b15957
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
6
diff
changeset
|
91 <option selected="true" value="tabular">tabular</option> |
1 | 92 <option value="sam">sam</option> |
93 <option value="bam">bam</option> | |
94 </param> | |
95 <param help="to get aligned and unaligned reads in fasta format" label="additional fasta output" name="additional_fasta" type="select"> | |
7
5d82f9b15957
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
drosofff
parents:
6
diff
changeset
|
96 <option selected="true" value="No">No</option> |
1 | 97 <option value="al">aligned</option> |
98 <option value="unal">unaligned</option> | |
99 <option value="al_and_unal">both aligned and unaligned</option> | |
0 | 100 </param> |
1 | 101 </inputs> |
102 <outputs> | |
103 <data format="tabular" label="Bowtie Output" name="output"> | |
104 <change_format> | |
105 <when format="sam" input="output_format" value="sam" /> | |
106 <when format="bam" input="output_format" value="bam" /> | |
107 </change_format> | |
108 <actions> | |
109 <conditional name="refGenomeSource.genomeSource"> | |
110 <when value="indexed"> | |
111 <action name="dbkey" type="metadata"> | |
112 <option column="1" name="bowtie_indexes" offset="0" type="from_data_table"> | |
113 <filter column="0" compare="startswith" keep="False" type="param_value" value="#" /> | |
114 <filter column="0" ref="refGenomeSource.index" type="param_value" /> | |
115 </option> | |
116 </action> | |
117 </when> | |
118 <when value="history"> | |
119 <action name="dbkey" type="metadata"> | |
120 <option name="refGenomeSource.ownFile" param_attribute="dbkey" type="from_param" /> | |
121 </action> | |
122 </when> | |
123 </conditional> | |
124 </actions> | |
125 </data> | |
126 <data format="fasta" label="Matched reads" name="aligned"> | |
127 <filter>additional_fasta == "al" or additional_fasta == "al_and_unal"</filter> | |
128 </data> | |
129 <data format="fasta" label="Unmatched reads" name="unaligned"> | |
130 <filter>additional_fasta == "unal" or additional_fasta == "al_and_unal"</filter> | |
131 </data> | |
132 </outputs> | |
133 <tests> | |
134 <test> | |
135 <param name="genomeSource" value="history" /> | |
136 <param ftype="fasta" name="ownFile" value="297_reference.fa" /> | |
137 <param name="method" value="unique" /> | |
138 <param ftype="fasta" name="input" value="input.fa" /> | |
139 <param name="v_mismatches" value="1" /> | |
140 <param name="output_format" value="bam" /> | |
6
738a39851eae
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
mvdbeek
parents:
4
diff
changeset
|
141 <output file="output.bam" ftype="bam" compare="sim_size" delta="1000" name="output" /> |
1 | 142 </test> |
143 <test> | |
144 <param name="genomeSource" value="history" /> | |
145 <param ftype="fasta" name="ownFile" value="297_reference.fa" /> | |
146 <param name="method" value="unique" /> | |
147 <param ftype="fastq" name="input" value="input.fastq" /> | |
148 <param name="v_mismatches" value="1" /> | |
149 <param name="output_format" value="bam" /> | |
6
738a39851eae
planemo upload for repository https://bitbucket.org/drosofff/gedtools/
mvdbeek
parents:
4
diff
changeset
|
150 <output file="output2.bam" ftype="bam" compare="sim_size" delta="1000" name="output" /> |
1 | 151 </test> |
27
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
152 <test> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
153 <param name="genomeSource" value="history" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
154 <param ftype="fasta" name="ownFile" value="297_reference.fa" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
155 <param name="method" value="multiple" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
156 <param ftype="fasta" name="input" value="input.fa" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
157 <param name="v_mismatches" value="1" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
158 <param name="output_format" value="tabular" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
159 <output file="output.tab" ftype="tabular" name="output" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
160 </test> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
161 <test> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
162 <param name="genomeSource" value="history" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
163 <param ftype="fasta" name="ownFile" value="297_reference.fa" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
164 <param name="method" value="multiple" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
165 <param ftype="fasta" name="input" value="input.fa" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
166 <param name="v_mismatches" value="1" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
167 <param name="additional_fasta" value="al" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
168 <param name="output_format" value="tabular" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
169 <output file="output.tab" ftype="tabular" name="output" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
170 <output file="al.fa" ftype="fasta" name="aligned" /> |
2578aea69626
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 65a33cc7068479ceeb6cdb371de557af475b9c86
drosofff
parents:
26
diff
changeset
|
171 </test> |
1 | 172 </tests> |
173 <help> | |
0 | 174 |
175 **What it does** | |
176 | |
177 Bowtie_ is a short read aligner designed to be ultrafast and memory-efficient. It is developed by Ben Langmead and Cole Trapnell. Please cite: Langmead B, Trapnell C, Pop M, Salzberg SL. Ultrafast and memory-efficient alignment of short DNA sequences to the human genome. Genome Biology 10:R25. | |
178 | |
179 .. _Bowtie: http://bowtie-bio.sourceforge.net/index.shtml | |
180 | |
181 A generic "Map with Bowtie for Illumina" Galaxy tool is available in the main Galaxy distribution. | |
182 | |
183 However, this Bowtie wrapper tool only takes FASTQ files as inputs. | |
184 | |
185 The sRbowtie wrapper specifically works with short reads FASTA inputs (-v bowtie mode) | |
186 | |
187 ------ | |
188 | |
189 **OPTIONS** | |
190 | |
191 .. class:: infomark | |
192 | |
193 This script uses Bowtie to match reads on a reference index. | |
194 | |
195 Depending on the type of matching, different bowtie options are used: | |
196 | |
197 **Match on sense strand RNA reference index, multiple mappers randomly matched at a single position** | |
198 | |
199 Match on RNA reference, SENSE strand, randomly attributing multiple mapper to target with least mismatches, the polarity column is suppressed in the bowtie tabular report: | |
200 | |
201 *-v [0,1,2,3] -M 1 --best --strata -p 12 --norc --suppress 2,6,7,8* | |
202 | |
203 **Match unique mappers on DNA reference index** | |
204 | |
205 Match ONLY unique mappers on DNA reference index | |
206 | |
207 *-v [0,1,2,3] -m 1 -p 12 --suppress 6,7,8* | |
208 | |
209 Note that using this option with -v values other than 0 is questionnable... | |
210 | |
211 **Match on DNA, multiple mappers randomly matched at a single position** | |
212 | |
213 Match multiple mappers, randomly attributing multiple mapper to target with least mismatches, number of mismatch allowed specified by -v option: | |
214 | |
215 *-v [0,1,2,3] -M 1 --best --strata -p 12 --suppress 6,7,8* | |
216 | |
217 **Match on DNA as fast as possible, without taking care of mapping issues (for raw annotation of reads)** | |
218 | |
219 Match with highest speed, not guaranteeing best hit for speed gain: | |
220 | |
221 *-v [0,1,2,3] -k 1 --best -p 12 --suppress 6,7,8* | |
222 | |
223 | |
224 ----- | |
225 | |
226 **Input formats** | |
227 | |
228 .. class:: warningmark | |
229 | |
230 *The only accepted format for the script is a raw fasta list of reads, clipped from their adapter* | |
231 | |
232 ----- | |
233 | |
234 **OUTPUTS** | |
235 | |
236 If you choose tabular as the output format, you will obtain the matched reads in standard bowtie output format, having the following columns:: | |
237 | |
238 Column Description | |
239 -------- -------------------------------------------------------- | |
240 1 FastaID fasta identifier | |
241 2 polarity + or - depending whether the match was reported on the forward or reverse strand | |
242 3 target name of the matched target | |
243 4 Offset O-based coordinate of the miR on the miRBase pre-miR sequence | |
244 5 Seq sequence of the matched Read | |
245 | |
246 If you choose SAM, you will get the output in unordered SAM format. | |
247 | |
248 .. class:: warningmark | |
249 | |
250 if you choose BAM, the output will be in sorted BAM format. | |
251 To be viewable in Trackster, several condition must be fulfilled: | |
252 | |
253 .. class:: infomark | |
254 | |
255 Reads must have been matched to a genome whose chromosome names are compatible with Trackster genome indexes | |
256 | |
257 .. class:: infomark | |
258 | |
259 the database/Build (dbkey) which is indicated for the dataset (Pencil - Database/Build field) must match a Trackster genome index. | |
260 | |
261 Please contact the Galaxy instance administrator if your genome is not referenced | |
262 | |
263 **Matched and unmatched fasta reads can be retrieved, for further analyses** | |
264 | |
265 </help> | |
1 | 266 <citations> |
267 <citation type="doi">10.1186/gb-2009-10-3-r25</citation> | |
268 </citations> | |
0 | 269 </tool> |