Mercurial > repos > drosofff > msp_sr_bowtie
annotate sRbowtie.xml @ 19:dd5985c5798d draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit c23d8a44b40e7b6fc7f15dae5b23ceb5929c8ace
author | drosofff |
---|---|
date | Mon, 26 Jun 2017 19:58:13 -0400 |
parents | 9fe34d55bfb0 |
children | ffe2430ef56d |
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> | |
16
57b6452f9d76
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit e63cef21fc39f55f2d6908a6bcaf2034a6524c9d
drosofff
parents:
15
diff
changeset
|
4 <requirement type="package" version="1.1.2=py27_2">bowtie</requirement> |
11
88cdd6118bfe
planemo upload for repository https://bitbucket.org/drosofff/gedtools/ commit 763ba9879fe37a13d18d75a4a03150d3560a82f8
drosofff
parents:
10
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[ |
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
|
8 #if $refGenomeSource.genomeSource == "history": |
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
|
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: |
18
9fe34d55bfb0
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 083e56a5896485479dfd679e0b571eb2bd8aed0b
drosofff
parents:
17
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": |
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 method_prefix = "-v %s -M 1 --best --strata --norc" % (str($v_mismatches)) |
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": |
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 #set method_prefix = "-v %s -m 1" % (str($v_mismatches)) |
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": |
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 #set method_prefix = "-v %s -M 1 --best --strata" % (str($v_mismatches)) |
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": |
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 #set method_prefix = "-v %s -k 1 --best" % (str($v_mismatches)) |
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": |
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 #set method_prefix = "-n %s -M 1 --best" % (str($v_mismatches)) |
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": |
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 #set method_prefix = "-v %s -a --best" % (str($v_mismatches)) |
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 |
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 #if $output_format == "tabular": |
18
9fe34d55bfb0
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 083e56a5896485479dfd679e0b571eb2bd8aed0b
drosofff
parents:
17
diff
changeset
|
49 bowtie -p \${GALAXY_SLOTS:-4} $method_postfix --suppress 6,7,8 $extra_output "local_index" $format $input > $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
|
50 #elif $output_format == "sam": |
18
9fe34d55bfb0
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 083e56a5896485479dfd679e0b571eb2bd8aed0b
drosofff
parents:
17
diff
changeset
|
51 bowtie -p \${GALAXY_SLOTS:-4} $method_postfix $extra_output -S "local_index" $format $input > $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
|
52 #elif $output_format == "bam": |
18
9fe34d55bfb0
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie commit 083e56a5896485479dfd679e0b571eb2bd8aed0b
drosofff
parents:
17
diff
changeset
|
53 bowtie -p \${GALAXY_SLOTS:-4} $method_postfix $extra_output -S "local_index" $format $input |samtools view -bS - > $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 |
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 |
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> |
151 </tests> | |
152 <help> | |
0 | 153 |
154 **What it does** | |
155 | |
156 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. | |
157 | |
158 .. _Bowtie: http://bowtie-bio.sourceforge.net/index.shtml | |
159 | |
160 A generic "Map with Bowtie for Illumina" Galaxy tool is available in the main Galaxy distribution. | |
161 | |
162 However, this Bowtie wrapper tool only takes FASTQ files as inputs. | |
163 | |
164 The sRbowtie wrapper specifically works with short reads FASTA inputs (-v bowtie mode) | |
165 | |
166 ------ | |
167 | |
168 **OPTIONS** | |
169 | |
170 .. class:: infomark | |
171 | |
172 This script uses Bowtie to match reads on a reference index. | |
173 | |
174 Depending on the type of matching, different bowtie options are used: | |
175 | |
176 **Match on sense strand RNA reference index, multiple mappers randomly matched at a single position** | |
177 | |
178 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: | |
179 | |
180 *-v [0,1,2,3] -M 1 --best --strata -p 12 --norc --suppress 2,6,7,8* | |
181 | |
182 **Match unique mappers on DNA reference index** | |
183 | |
184 Match ONLY unique mappers on DNA reference index | |
185 | |
186 *-v [0,1,2,3] -m 1 -p 12 --suppress 6,7,8* | |
187 | |
188 Note that using this option with -v values other than 0 is questionnable... | |
189 | |
190 **Match on DNA, multiple mappers randomly matched at a single position** | |
191 | |
192 Match multiple mappers, randomly attributing multiple mapper to target with least mismatches, number of mismatch allowed specified by -v option: | |
193 | |
194 *-v [0,1,2,3] -M 1 --best --strata -p 12 --suppress 6,7,8* | |
195 | |
196 **Match on DNA as fast as possible, without taking care of mapping issues (for raw annotation of reads)** | |
197 | |
198 Match with highest speed, not guaranteeing best hit for speed gain: | |
199 | |
200 *-v [0,1,2,3] -k 1 --best -p 12 --suppress 6,7,8* | |
201 | |
202 | |
203 ----- | |
204 | |
205 **Input formats** | |
206 | |
207 .. class:: warningmark | |
208 | |
209 *The only accepted format for the script is a raw fasta list of reads, clipped from their adapter* | |
210 | |
211 ----- | |
212 | |
213 **OUTPUTS** | |
214 | |
215 If you choose tabular as the output format, you will obtain the matched reads in standard bowtie output format, having the following columns:: | |
216 | |
217 Column Description | |
218 -------- -------------------------------------------------------- | |
219 1 FastaID fasta identifier | |
220 2 polarity + or - depending whether the match was reported on the forward or reverse strand | |
221 3 target name of the matched target | |
222 4 Offset O-based coordinate of the miR on the miRBase pre-miR sequence | |
223 5 Seq sequence of the matched Read | |
224 | |
225 If you choose SAM, you will get the output in unordered SAM format. | |
226 | |
227 .. class:: warningmark | |
228 | |
229 if you choose BAM, the output will be in sorted BAM format. | |
230 To be viewable in Trackster, several condition must be fulfilled: | |
231 | |
232 .. class:: infomark | |
233 | |
234 Reads must have been matched to a genome whose chromosome names are compatible with Trackster genome indexes | |
235 | |
236 .. class:: infomark | |
237 | |
238 the database/Build (dbkey) which is indicated for the dataset (Pencil - Database/Build field) must match a Trackster genome index. | |
239 | |
240 Please contact the Galaxy instance administrator if your genome is not referenced | |
241 | |
242 **Matched and unmatched fasta reads can be retrieved, for further analyses** | |
243 | |
244 </help> | |
1 | 245 <citations> |
246 <citation type="doi">10.1186/gb-2009-10-3-r25</citation> | |
247 </citations> | |
0 | 248 </tool> |