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