annotate smalt_index.xml @ 0:4b79af35baf9 draft default tip

planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
author nml
date Tue, 19 Sep 2017 16:38:57 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
1 <tool id="smalt_index" name="smalt index" version="1.2.0">
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
2 <description>Index a reference </description>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
3 <requirements>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
4 <requirement type="package" version="0.7.6">smalt</requirement>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
5 </requirements>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
6 <stdio>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
7 <exit_code range="1:" level="fatal" description="Unknown error" />
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
8 </stdio>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
9 <command>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
10 smalt index
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
11 #if $k:
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
12 -k "$k"
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
13 #end if
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
14
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
15 #if $s:
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
16 -s "$s"
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
17 #end if
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
18 'temp' "$reference"
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
19 </command>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
20 <inputs>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
21 <param name="reference" type="data" format="fasta" label="Fasta reference file"/>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
22 <param name="k" type="integer" value="13" label="K-mer size" help="Specifies the word length. [wordlen] is an integer within the limits. between 3 and 20. The default word length is 13" max="20" min="3"/>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
23 <param name="s" type="integer" optional="true" label="Step size" help="Specifies how many bases are skipped between indexed words."/>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
24 </inputs>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
25 <outputs>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
26 <data name="output" label="SMI" from_work_dir="temp.smi" format="binary"/>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
27 <data name="output2" label="SMA" from_work_dir="temp.sma" format="binary"/>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
28 </outputs>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
29 <tests>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
30 <test>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
31 <param name="reference" value="ref.fasta"/>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
32 <output name="output" file="output.smi"/>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
33 <output name="output2" file="output.sma"/>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
34 </test>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
35 </tests>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
36 <help>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
37
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
38 **What it does**
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
39
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
40 Generates an index of k-mer words for the genomic reference sequences. The words are of fixed length &#060;wordlen&#062; and are sampled at equidistant steps &#060;stepsiz&#062; bases apart. The reference sequences are provided in a single file &#060;reference_file&#062; in FASTA or FASTQ format. Two binary files are output. The file &#060;index_name&#062;.sma contains the reference sequences in compressed form. The file &#060;index_name&#062;.smi contains the k-mer word index.
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
41
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
42
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
43 ------
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
44
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
45 Please cite the website "http://www.sanger.ac.uk/resources/software/smalt/".
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
46
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
47 ------
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
48
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
49 -k &#060;wordlen&#062;
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
50 Specifies the word length. &#060;wordlen&#062; is an integer within the limits
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
51 3 &#060; wordlen &#060;= 20. The default word length is 13.
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
52
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
53 -s &#060;stepsiz&#062;
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
54 Specifies how many bases are skipped between indexed words. With '-s 1'
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
55 every k-mer word along the reference sequences is indexed. With '-s 2'
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
56 every other word is indexed etc. By default the step size is set equal
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
57 to the word length (tiling words).
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
58
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
59
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
60 </help>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
61 </tool>
4b79af35baf9 planemo upload for repository https://sourceforge.net/projects/smalt/ commit 008f4667b70be22e9ddf496738b3f74bb942ed28
nml
parents:
diff changeset
62