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