annotate ssake.xml @ 0:0ec408bcfc80 draft

Uploaded
author crs4
date Wed, 11 Sep 2013 12:51:21 -0400
parents
children 386166019772
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
1 <tool id="ssake" name="SSAKE" version="0.0.10">
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
2 <description>short DNA sequences assembler</description>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
3 <requirements>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
4 <requirement type="package" version="3.8">ssake</requirement>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
5 </requirements>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
6 <command interpreter="python">
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
7 ssake.py
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
8 #if $kind_of_reads.kind_of_reads_select == '0'
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
9 --if_unpaired $infile
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
10 #else
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
11 --if_paired_r1 $infile_r1
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
12 --if_paired_r2 $infile_r2
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
13 --iz ${kind_of_reads.insert_size}
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
14 -k ${kind_of_reads.minnumlinks}
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
15 -e ${kind_of_reads.error}
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
16 -a ${kind_of_reads.maxlinkratio}
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
17 -x ${kind_of_reads.minoverlap}
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
18 #end if
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
19 #if $seeds
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
20 -s $seeds
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
21 #end if
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
22 -w $mindepthofcoverage
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
23 -m $minoverlap
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
24 -o $mincall
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
25 -r $baseratio
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
26 --ignore_header 1
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
27 --kind_of_reads ${kind_of_reads.kind_of_reads_select}
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
28 --out1 $contig
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
29 --out2 $short
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
30 --out3 $singlets
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
31 --logfile $log
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
32 </command>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
33 <inputs>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
34 <conditional name="kind_of_reads">
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
35 <param name="kind_of_reads_select" type="select" label="Kind of reads (-p)">
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
36 <option value="0">Unpaired </option>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
37 <option value="1">Paired and equal (both files must have the same number of sequences, arranged in the same order)</option>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
38 <option value="2">Paired and unequal (files can have different number of sequences in any order)</option>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
39 </param>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
40 <when value="0">
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
41 <param name="infile" type="data" format="fasta" label="Input FASTA file" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
42 </when>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
43 <when value="1">
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
44 <param name="infile_r1" type="data" format="fasta" label="Input FASTA file (read 1)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
45 <param name="infile_r2" type="data" format="fasta" label="Input FASTA file (read 2)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
46 <param name="insert_size" type="integer" value="200" label="Library insert size" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
47 <param name="minnumlinks" type="integer" value="4" label="Minimum number of links (read pairs) to compute scaffold (-k)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
48 <param name="error" type="float" value="0.75" min="0" max="1" label="Error (%) allowed on mean distance (-e)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
49 <param name="maxlinkratio" type="float" value="0.5" label="Maximum link ratio between two best contig pairs (-a)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
50 <param name="minoverlap" type="integer" value="20" label="Minimum overlap required between contigs to merge adjacent contigs in a scaffold (-x)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
51 </when>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
52 <when value="2">
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
53 <param name="infile_r1" type="data" format="fasta" label="Input FASTA file (read 1)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
54 <param name="infile_r2" type="data" format="fasta" label="Input FASTA file (read 2)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
55 <param name="insert_size" type="integer" value="200" label="Library insert size" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
56 <param name="minnumlinks" type="integer" value="4" label="Minimum number of links (read pairs) to compute scaffold (-k)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
57 <param name="error" type="float" value="0.75" min="0" max="1" label="Error (%) allowed on mean distance (-e)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
58 <param name="maxlinkratio" type="float" value="0.5" label="Maximum link ratio between two best contig pairs (-a)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
59 <param name="minoverlap" type="integer" value="20" label="Minimum overlap required between contigs to merge adjacent contigs in a scaffold (-x)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
60 </when>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
61 </conditional>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
62 <param name="seeds" type="data" format="fasta" optional="true" label="FASTA file containing sequences to use as seeds exclusively (-s)" help="Optional, specify only if different from read set" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
63 <param name="mindepthofcoverage" type="integer" value="1" label="Minimum depth of coverage allowed for contigs (-w)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
64 <param name="minoverlap" type="integer" value="20" label="Minimum number of overlapping bases with the seed/contig during overhang consensus build up (-m)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
65 <param name="mincall" type="integer" value="2" label="Minimum number of reads needed to call a base during an extension (-o)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
66 <param name="baseratio" type="float" value="0.7" label="Minimum base ratio used to accept a overhang consensus base (-r)" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
67 </inputs>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
68
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
69 <outputs>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
70 <data name="contig" format="fasta" label="${tool.name} on ${on_string}: contigs" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
71 <data name="log" format="txt" label="${tool.name} on ${on_string}: log" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
72 <data name="short" format="txt" label="${tool.name} on ${on_string}: unacceptable reads" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
73 <data name="singlets" format="fasta" label="${tool.name} on ${on_string}: unassembled reads" />
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
74 </outputs>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
75 <help>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
76 **What it does**
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
77
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
78 SSAKE is a genomics application for de novo assembly of millions of very short DNA sequences.
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
79 It is an easy-to-use, robust, reliable and tractable clustering algorithm for very short sequence reads, such as those generated by Illumina Ltd.
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
80
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
81 **License and citation**
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
82
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
83 This Galaxy tool is Copyright © 2012-2013 `CRS4 Srl.`_ and is released under the `MIT license`_.
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
84
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
85 .. _CRS4 Srl.: http://www.crs4.it/
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
86 .. _MIT license: http://opensource.org/licenses/MIT
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
87
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
88 If you use this tool in Galaxy, please cite |Cuccuru2013|_.
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
89
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
90 .. |Cuccuru2013| replace:: Cuccuru, G., Orsini, M., Pinna, A., Sbardellati, A., Soranzo, N., Travaglione, A., Uva, P., Zanetti, G., Fotia, G. (2013) Orione, a web-based framework for NGS analysis in microbiology. *Submitted*
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
91 .. _Cuccuru2013: http://orione.crs4.it/
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
92
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
93 This tool uses `SSAKE`_, which is licensed separately. Please cite |Warren2007|_.
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
94
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
95 .. _SSAKE: http://www.bcgsc.ca/platform/bioinfo/software/ssake/
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
96 .. |Warren2007| replace:: Warren RL, Sutton GG, Jones SJM, Holt RA. 2007. Assembling millions of short DNA sequences using SSAKE. Bioinformatics. 23(4):500-501
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
97 .. _Warren2007: http://bioinformatics.oxfordjournals.org/content/23/4/500
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
98 </help>
0ec408bcfc80 Uploaded
crs4
parents:
diff changeset
99 </tool>