annotate sspace.xml @ 0:b1be94418db9 draft

Uploaded
author crs4
date Tue, 17 Sep 2013 09:41:18 -0400
parents
children 93fa7ecb5292
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
1 <tool id="sspace" name="SSPACE" version="1.0.5">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
2 <description>scaffolder</description>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
3 <requirements>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
4 <requirement type="package" version="2.0">sspace</requirement>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
5 </requirements>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
6
b1be94418db9 Uploaded
crs4
parents:
diff changeset
7 <command interpreter="python">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
8 sspace.py
b1be94418db9 Uploaded
crs4
parents:
diff changeset
9 \${SSPACE_SITE_OPTIONS:--T 1}
b1be94418db9 Uploaded
crs4
parents:
diff changeset
10 -c $contigs --r1 $reads1 --r2 $reads2 -i $insert -e $error -o $orientation
b1be94418db9 Uploaded
crs4
parents:
diff changeset
11 #if $exten
b1be94418db9 Uploaded
crs4
parents:
diff changeset
12 -x
b1be94418db9 Uploaded
crs4
parents:
diff changeset
13 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
14 #if str($minoverlap)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
15 --minoverlap $minoverlap
b1be94418db9 Uploaded
crs4
parents:
diff changeset
16 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
17 #if str($numofreads)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
18 --numofreads $numofreads
b1be94418db9 Uploaded
crs4
parents:
diff changeset
19 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
20 #if str($max_trim)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
21 -t $max_trim
b1be94418db9 Uploaded
crs4
parents:
diff changeset
22 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
23 #if $unpaired
b1be94418db9 Uploaded
crs4
parents:
diff changeset
24 -u $unpaired
b1be94418db9 Uploaded
crs4
parents:
diff changeset
25 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
26 #if str($min_base_ratio)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
27 -r $min_base_ratio
b1be94418db9 Uploaded
crs4
parents:
diff changeset
28 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
29 #if str($minlink)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
30 --minlink $minlink
b1be94418db9 Uploaded
crs4
parents:
diff changeset
31 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
32 #if str($maxratio)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
33 --maxratio $maxratio
b1be94418db9 Uploaded
crs4
parents:
diff changeset
34 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
35 #if str($contigoverlap)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
36 --contigoverlap $contigoverlap
b1be94418db9 Uploaded
crs4
parents:
diff changeset
37 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
38 #if str($mincontig)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
39 --mincontig $mincontig
b1be94418db9 Uploaded
crs4
parents:
diff changeset
40 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
41 --lib $libraryname --fe $finalevidence --fs $finalscaffolds --lg $logfile --summ $summaryfile
b1be94418db9 Uploaded
crs4
parents:
diff changeset
42 </command>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
43
b1be94418db9 Uploaded
crs4
parents:
diff changeset
44 <inputs>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
45 <param name="contigs" type="data" format="fasta" label="Contigs FASTA file (-s)" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
46 <param name="reads1" type="data" format="fasta,fastq" label="Paired-end reads 1" help="FASTA or FASTQ format" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
47 <param name="reads2" type="data" format="fasta,fastq" label="Paired-end reads 2" help="FASTA or FASTQ format" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
48 <param name="insert" type="integer" value="" label="Insert size">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
49 <validator type="in_range" min="1" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
50 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
51 <param name="error" type="float" min="0" max="1" value="" label="Variability (e.g. 0.25 for 25%)" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
52 <param name="orientation" type="select" label="Orientation">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
53 <option value="FF">FF</option>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
54 <option value="FR" selected="true">FR</option>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
55 <option value="RF">RF</option>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
56 <option value="RR">RR</option>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
57 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
58 <param name="exten" type="boolean" checked="true" label="Extension (-x)" help="Uncheck for scaffolding only" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
59 <param name="minoverlap" type="integer" optional="true" min="10" max="50" value="35" label="Extension: minimum number of overlapping bases with the seed/contig during overhang consensus build up (-m)" help="E.g. 32-35 for 36bp reads" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
60 <param name="numofreads" type="integer" optional="true" value="8" label="Extension: minimum number of reads needed to call an extension (-o)" help="Higher numbers increase reliability of the extension">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
61 <validator type="in_range" min="1" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
62 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
63 <param name="max_trim" type="integer" optional="true" value="0" label="Extension: maximum number of bases to trim on the contig end when all possibilities have been exhausted for an extension (-t)">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
64 <validator type="in_range" min="0" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
65 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
66 <param name="unpaired" type="data" format="fasta,fastq" optional="true" label="Extension: unpaired reads (-u, optional)" help="FASTA or FASTQ format" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
67 <param name="min_base_ratio" type="float" optional="true" min="0" max="1" value="0.9" label="Extension: minimum base ratio used to accept a overhang consensus base (-r)" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
68 <param name="minlink" type="integer" optional="true" value="5" label="Scaffolding: minimum number of links (read pairs) to compute scaffold (-k)">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
69 <validator type="in_range" min="0" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
70 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
71 <param name="maxratio" type="float" optional="true" min="0" max="1" value="0.7" label="Scaffolding: maximum link ratio between two best contig pairs (-a)" help="Higher values lead to less accurate scaffolding" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
72 <param name="contigoverlap" type="integer" optional="true" value="30" label="Scaffolding: minimum overlap required between contigs to merge adjacent contigs in a scaffold (-n)">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
73 <validator type="in_range" min="0" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
74 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
75 <param name="mincontig" type="integer" optional="true" value="200" label="Scaffolding: minimum contig size used for scaffold (-z)" help="Filters out contigs below this size">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
76 <validator type="in_range" min="0" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
77 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
78 </inputs>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
79
b1be94418db9 Uploaded
crs4
parents:
diff changeset
80 <outputs>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
81 <data name="libraryname" hidden="True" format="tabular" label="${tool.name} on ${on_string}: libraryfile" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
82 <data name="finalevidence" format="txt" label="${tool.name} on ${on_string}: final evidence" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
83 <data name="finalscaffolds" format="fasta" label="${tool.name} on ${on_string}: final scaffolds" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
84 <data name="logfile" format="txt" label="${tool.name} on ${on_string}: log" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
85 <data name="summaryfile" format="txt" label="${tool.name} on ${on_string}: summary" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
86 </outputs>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
87 <tests>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
88
b1be94418db9 Uploaded
crs4
parents:
diff changeset
89 </tests>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
90 <help>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
91 **What it does**
b1be94418db9 Uploaded
crs4
parents:
diff changeset
92
b1be94418db9 Uploaded
crs4
parents:
diff changeset
93 SSPACE is a script able to extend and scaffold pre-assembled contigs using one or more mate pairs or paired-end libraries, or even a combination.
b1be94418db9 Uploaded
crs4
parents:
diff changeset
94
b1be94418db9 Uploaded
crs4
parents:
diff changeset
95 **License and citation**
b1be94418db9 Uploaded
crs4
parents:
diff changeset
96
b1be94418db9 Uploaded
crs4
parents:
diff changeset
97 This Galaxy tool is Copyright © 2012-2013 `CRS4 Srl.`_ and is released under the `MIT license`_.
b1be94418db9 Uploaded
crs4
parents:
diff changeset
98
b1be94418db9 Uploaded
crs4
parents:
diff changeset
99 .. _CRS4 Srl.: http://www.crs4.it/
b1be94418db9 Uploaded
crs4
parents:
diff changeset
100 .. _MIT license: http://opensource.org/licenses/MIT
b1be94418db9 Uploaded
crs4
parents:
diff changeset
101
b1be94418db9 Uploaded
crs4
parents:
diff changeset
102 If you use this tool in Galaxy, please cite |Cuccuru2013|_.
b1be94418db9 Uploaded
crs4
parents:
diff changeset
103
b1be94418db9 Uploaded
crs4
parents:
diff changeset
104 .. |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*
b1be94418db9 Uploaded
crs4
parents:
diff changeset
105 .. _Cuccuru2013: http://orione.crs4.it/
b1be94418db9 Uploaded
crs4
parents:
diff changeset
106
b1be94418db9 Uploaded
crs4
parents:
diff changeset
107 This tool uses `SSPACE basic`_, which is licensed separately. Please cite |Boetzer2011|_.
b1be94418db9 Uploaded
crs4
parents:
diff changeset
108
b1be94418db9 Uploaded
crs4
parents:
diff changeset
109 .. _SSPACE basic: http://www.baseclear.com/landingpages/basetools-a-wide-range-of-bioinformatics-solutions/sspacev12/
b1be94418db9 Uploaded
crs4
parents:
diff changeset
110 .. |Boetzer2011| replace:: Boetzer, M., Henkel, C. V., Jansen, H. J., Butler, D., Pirovano, W. (2011) Scaffolding pre-assembled contigs using SSPACE. *Bioinformatics* 27(4), 578-579
b1be94418db9 Uploaded
crs4
parents:
diff changeset
111 .. _Boetzer2011: http://bioinformatics.oxfordjournals.org/content/27/4/578
b1be94418db9 Uploaded
crs4
parents:
diff changeset
112 </help>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
113 </tool>