annotate tools/smalt_wrapper.xml @ 0:87f4f05b44bb draft

Uploaded
author cjav
date Wed, 13 Feb 2013 13:04:12 -0500
parents
children b857363cc1db
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
1 <tool id="smalt_wrapper" name="SMALT" version="0.0.1">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
2 <requirements>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
3 <requirement type="package" version="0.7.1">smalt</requirement>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
4 </requirements>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
5 <description>maps query reads onto the reference sequences</description>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
6 <command interpreter="python">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
7 smalt_wrapper.py
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
8 --threads="4"
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
9
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
10 ## reference source
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
11 --fileSource=$genomeSource.refGenomeSource
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
12 #if $genomeSource.refGenomeSource == "history":
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
13 ##build index on the fly
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
14 --ref="${genomeSource.ownFile}"
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
15 --dbkey=$dbkey
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
16 #else:
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
17 ##use precomputed indexes
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
18 --ref="${genomeSource.indices.fields.path}"
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
19 --do_not_build_index
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
20 #end if
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
21
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
22 ## input file(s)
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
23 --input1=$paired.input1
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
24 #if $paired.sPaired == "paired":
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
25 --input2=$paired.input2
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
26 #end if
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
27
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
28 ## output file
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
29 --output=$output
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
30
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
31 ## run parameters
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
32 --genAlignType=$paired.sPaired
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
33 --params=$params.source_select
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
34 #if $params.source_select != "pre_set":
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
35 --scorDiff=$params.scorDiff
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
36 #if $paired.sPaired == "paired":
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
37 --insertMax=$params.insertMax
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
38 --insertMin=$params.insertMin
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
39 --pairTyp=$params.pairTyp
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
40 #end if
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
41 --minScor=$params.minScor
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
42 --partialAlignments=$params.partialAlignments
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
43 --minBasq=$params.minBasq
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
44 --seed=$params.seed
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
45 --complexityWeighted=$params.complexityWeighted
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
46 --exhaustiveSearch=$params.cExhaustiveSearch.exhaustiveSearch
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
47 #if $params.cExhaustiveSearch.exhaustiveSearch == "true"
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
48 --minCover=$params.cExhaustiveSearch.minCover
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
49 #end if
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
50 --minId=$params.minId
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
51 #end if
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
52
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
53 ## suppress output SAM header
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
54 --suppressHeader=$suppressHeader
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
55 </command>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
56 <inputs>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
57 <conditional name="genomeSource">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
58 <param name="refGenomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
59 <option value="indexed">Use a built-in index</option>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
60 <option value="history">Use one from the history</option>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
61 </param>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
62 <when value="indexed">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
63 <param name="indices" type="select" label="Select a reference genome">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
64 <options from_data_table="smalt_indexes">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
65 <filter type="sort_by" column="2" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
66 <validator type="no_options" message="No indexes are available" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
67 </options>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
68 </param>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
69 </when>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
70 <when value="history">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
71 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference from history" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
72 </when>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
73 </conditional>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
74 <conditional name="paired">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
75 <param name="sPaired" type="select" label="Is this library mate-paired?">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
76 <option value="single">Single-end</option>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
77 <option value="paired">Paired-end</option>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
78 </param>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
79 <when value="single">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
80 <param name="input1" type="data" format="fastqsanger" label="FASTQ file" help="FASTQ with Sanger-scaled quality values (fastqsanger)" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
81 </when>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
82 <when value="paired">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
83 <param name="input1" type="data" format="fastqsanger" label="Forward FASTQ file" help="FASTQ with Sanger-scaled quality values (fastqsanger)" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
84 <param name="input2" type="data" format="fastqsanger" label="Reverse FASTQ file" help="FASTQ with Sanger-scaled quality values (fastqsanger)" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
85 </when>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
86 </conditional>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
87 <conditional name="params">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
88 <param name="source_select" type="select" label="Smalt settings to use" help="For most mapping needs use Commonly Used settings. If you want full control use Full Parameter List">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
89 <option value="pre_set">Commonly Used</option>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
90 <option value="full">Full Parameter List</option>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
91 </param>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
92 <when value="pre_set" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
93 <when value="full">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
94 <conditional name="cExhaustiveSearch">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
95 <param name="exhaustiveSearch" type="boolean" truevalue="true" falsevalue="false" checked="no" label="Do exhaustive search? (map -x)" help="This flag triggers a more exhaustive search for alignments at the cost of decreased speed." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
96 <when value="true">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
97 <param name="minCover" type="float" value="0" label="Minimum cover (map -c)" help="Only consider mappings where the k-mer word seeds cover the query read to a minimum extent." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
98 </when>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
99 <when value="no" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
100 </conditional>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
101 <param name="scorDiff" type="integer" value="0" label="Score diff (map -d)" help="Set a threshold of the Smith-Waterman alignment score relative to the maximum score." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
102 <param name="insertMax" type="integer" value="500" label="Maximum insert size (map -i)" help="Only in paired-end mode." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
103 <param name="insertMin" type="integer" value="0" label="Minimum insert size (map -j)" help="Only in paired-end mode." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
104 <param name="pairTyp" type="text" size="2" value="pe" label="Type of read pair library (map -l)" help="Can be either 'pe', 'mp' or 'pp'." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
105 <param name="minScor" type="integer" value="0" label="Minimum score (map -m)" help="Sets an absolute threshold of the Smith-Waterman scores." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
106 <param name="partialAlignments" type="boolean" truevalue="true" falsevalue="false" checked="no" label="Partial alignments (map -p)" help="Report partial alignments if they are complementary on the read (split reads)." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
107 <param name="minBasq" type="integer" value="0" label="Base quality threshold (map -q)" help="Sets a base quality threshold (0 &lt;= minbasq &lt;= 10, default 0)." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
108 <param name="seed" type="integer" value="0" label="Seed (map -r)" help="See below." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
109 <param name="complexityWeighted" type="boolean" truevalue="true" falsevalue="false" checked="no" label="Complexity weighted (map -w)" help="Smith-Waterman scores are complexity weighted." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
110 <param name="minId" type="float" value="0" label="Identity threshold (map -y)" help="Sets an identity threshold for a mapping to be reported." />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
111 </when>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
112 </conditional>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
113 <param name="suppressHeader" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Suppress the header in the output SAM file" help="Smalt produces SAM with several lines of header information" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
114 </inputs>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
115 <outputs>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
116 <data format="sam" name="output" label="${tool.name} on ${on_string}: mapped reads">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
117 <actions>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
118 <conditional name="genomeSource.refGenomeSource">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
119 <when value="indexed">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
120 <action type="metadata" name="dbkey">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
121 <option type="from_data_table" name="smalt_indexes" column="1">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
122 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
123 <filter type="param_value" ref="genomeSource.indices" column="0"/>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
124 </option>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
125 </action>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
126 </when>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
127 <when value="history">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
128 <action type="metadata" name="dbkey">
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
129 <option type="from_param" name="genomeSource.ownFile" param_attribute="dbkey" />
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
130 </action>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
131 </when>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
132 </conditional>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
133 </actions>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
134 </data>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
135 </outputs>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
136 <help>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
137
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
138 **What it does**
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
139
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
140 SMALT is a pairwise sequence alignment program for the experimentingcient mapping of DNA sequencing reads onto genomic reference sequences. It uses a combination of short-word hashing and dynamic programming. Most types of sequencing platforms are supported including paired-end sequencing reads.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
141
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
142 ------
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
143
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
144 **Know what you are doing**
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
145
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
146 .. class:: warningmark
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
147
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
148 There is no such thing (yet) as an automated gearshift in short read mapping. It is all like stick-shift driving in San Francisco. In other words = running this tool with default parameters will probably not give you meaningful results. A way to deal with this is to **understand** the parameters by carefully reading the `documentation`__ and experimenting. Fortunately, Galaxy makes experimenting easy.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
149
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
150 .. __: http://www.sanger.ac.uk/resources/software/smalt/
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
151
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
152 ------
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
153
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
154 **Input formats**
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
155
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
156 SMALT accepts files in Sanger FASTQ format (galaxy type *fastqsanger*). Use the FASTQ Groomer to prepare your files.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
157
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
158 ------
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
159
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
160 **A Note on Built-in Reference Genomes**
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
161
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
162 The default variant for all genomes is "Full", defined as all primary chromosomes (or scaffolds/contigs) including mitochondrial plus associated unmapped, plasmid, and other segments. When only one version of a genome is available in this tool, it represents the default "Full" variant. Some genomes will have more than one variant available. The "Canonical Male" or sometimes simply "Canonical" variant contains the primary chromosomes for a genome. For example a human "Canonical" variant contains chr1-chr22, chrX, chrY, and chrM. The "Canonical Female" variant contains the primary chromosomes excluding chrY.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
163
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
164 ------
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
165
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
166 **Outputs**
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
167
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
168 The output is in SAM format.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
169
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
170 -------
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
171
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
172 **SMALT parameter list**
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
173
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
174 This is an exhaustive list of SMALT options:
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
175
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
176 For **map**::
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
177
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
178 -a
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
179 Output explicit alignments along with the mappings.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
180
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
181 -c &lt;mincover&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
182 Only consider mappings where the k-mer word seeds cover the query read to
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
183 a minimum extent. If &lt;mincover&gt; is an integer or floating point &gt; 1.0, at
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
184 least this many bases of the read must be covered by k-mer word seeds. If
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
185 &lt;mincover&gt; is a floating point &lt;= 1.0, it specifies the fraction of the
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
186 query read length that must be covered by k-mer word seeds. This option
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
187 is only valid in conjunction with the '-x' flag.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
188
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
189 -d &lt;scordiff&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
190 Set a threshold of the Smith-Waterman alignment score relative to the
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
191 maximum score. When mapping single reads, all alignments are reported
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
192 that have Smith-Waterman scores within &lt;scorediff&gt; of the maximum.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
193 Mappings with lower scores are skipped. If &lt;scorediff&gt; is set to to a
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
194 value &lt; 0, all alignments are printed that have scores above the
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
195 threshold specified with the '-m &lt;minscor&gt;' option.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
196 For paired reads, only a value of 0 is supported. With the option '-d 0'
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
197 all aligments (pairings) with the best score are output. By default
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
198 (without the option '-d 0') single reads/mates with multiple best mappings
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
199 are reported as 'not mapped'.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
200
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
201 -f &lt;format&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
202 Specifies the output format. &lt;format&gt; can be either 'bam', 'cigar', 'gff',
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
203 'sam' (default), 'samsoft' or 'ssaha'. Optional extension 'sam:nohead,clip'
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
204 (see manual)
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
205
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
206 -F &lt;inform&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
207 Specifies the input format. &lt;inform&gt; can be either 'fastq' (default),
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
208 'sam' or 'bam' (see: samtools.sourceforge.net). SAM and BAM formats
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
209 require additional libraries to be installed.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
210
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
211 -g &lt;insfil&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
212 Use the distribution of insert sizes stored in the file &lt;insfil&gt;. This
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
213 file is in ASCII format and can be generated using the 'sample' task see
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
214 'smalt sample -H' for help).
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
215
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
216 -H
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
217 Print these instructions.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
218
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
219 -i &lt;insertmax&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
220 Maximum insert size (only in paired-end mode). The default is 500.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
221
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
222 -j &lt;insertmin&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
223 Minimum insert size (only in paired-end mode). The default is 0.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
224
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
225 -l &lt;pairtyp&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
226 Type of read pair library. &lt;pairtyp&gt; can be either 'pe', i.e. for
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
227 the Illumina paired-end library for short inserts (|--&gt; &lt;--|). 'mp'
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
228 for the Illumina mate-pair library for long inserts (&lt;--| |--&gt;) or
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
229 'pp' for mates sequenced on the same strand (|--&gt; |--&gt;). 'pe' is the
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
230 default.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
231
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
232 -m &lt;minscor&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
233 Sets an absolute threshold of the Smith-Waterman scores. Mappings with
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
234 scores below that threshold will not be reported. The default is
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
235 &lt;minscor&gt; = &lt;wordlen&gt; + &lt;stepsiz&gt; - 1
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
236
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
237 -n &lt;nthreads&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
238 Run smalt using mutiple threads. &lt;nthread&gt; is the number of additional
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
239 threads forked from the main thread. The order of the reads in the
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
240 input files is not preserved for the output unless '-O' is also specified.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
241
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
242 -o &lt;oufilnam&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
243 Write mapping output (e.g. SAM lines) to a separate file. If this option
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
244 is not specified, mappings are written to standard output together with
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
245 other messages.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
246
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
247 -O
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
248 Output mappings in the order of the reads in the input files when using
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
249 multiple threads (option '-n &lt;nthreads&gt;').
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
250
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
251 -p
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
252 Report partial alignments if they are complementary on the read (split
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
253 reads).
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
254
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
255 -q &lt;minbasq&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
256 Sets a base quality threshold (0 &lt;= minbasq &lt;= 10, default 0).
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
257 K-mer words of the read with nucleotides that have a base quality below
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
258 this threshold are not looked up in the hash index.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
259
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
260 -r &lt;seed&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
261 If &lt;seed&gt; &gt;= 0 report an alignment selected at random where there are
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
262 multiple mappings with the same best alignment score. With &lt;seed&gt; = 0
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
263 (default) a seed is derived from the current calendar time. If &lt;seed&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
264 &lt; 0 reads with multiple best mappings are reported as 'not mapped'.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
265
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
266 -T &lt;tmp_dir&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
267 Write temporary files to directory &lt;tmp_dir&gt; (used with input files in
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
268 SAM/BAM format).
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
269
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
270 -w
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
271 Smith-Waterman scores are complexity weighted.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
272
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
273 -x
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
274 This flag triggers a more exhaustive search for alignments at the cost
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
275 of decreased speed. In paired-end mode each mate is mapped independently.
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
276 (By default the mate with fewer hits in the hash index is mapped first
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
277 and the vicinity is searched for mappings of its mate.)
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
278
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
279 -y &lt;minid&gt;
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
280 Sets an identity threshold for a mapping to be reported (default: 0).
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
281 &lt;minid&gt; specifies the number of exactly matching nucleotides either as
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
282 a positive integer or as a fraction of the read length (&lt;= 1.0).
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
283
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
284 </help>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
285 </tool>
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
286
87f4f05b44bb Uploaded
cjav
parents:
diff changeset
287