annotate sspace.xml @ 2:bc4451edb703 draft

Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
author crs4
date Mon, 27 Oct 2014 14:11:57 -0400
parents 93fa7ecb5292
children b3a6b51c44e0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
1 <tool id="sspace" name="SSPACE" version="1.0.7">
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
2 <description>scaffolder</description>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
3 <requirements>
2
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
4 <requirement type="package" version="2.1">sspace</requirement>
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
5 </requirements>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
6
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
7 <command>
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
8 echo "lib1 $reads1 $reads2 $insert $error $orientation" &gt; libraryfile &amp;&amp;
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
9 perl `which SSPACE_Basic_v2.0.pl` -l libraryfile -s $contigs
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
10 #if $exten
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
11 -x 1
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
12 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
13 #if str($minoverlap)
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
14 -m $minoverlap
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
15 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
16 #if str($numofreads)
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
17 -o $numofreads
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
18 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
19 #if str($max_trim)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
20 -t $max_trim
b1be94418db9 Uploaded
crs4
parents:
diff changeset
21 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
22 #if $unpaired
b1be94418db9 Uploaded
crs4
parents:
diff changeset
23 -u $unpaired
b1be94418db9 Uploaded
crs4
parents:
diff changeset
24 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
25 #if str($min_base_ratio)
b1be94418db9 Uploaded
crs4
parents:
diff changeset
26 -r $min_base_ratio
b1be94418db9 Uploaded
crs4
parents:
diff changeset
27 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
28 #if str($minlink)
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
29 -k $minlink
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
30 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
31 #if str($maxratio)
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
32 -a $maxratio
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
33 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
34 #if str($contigoverlap)
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
35 -n $contigoverlap
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
36 #end if
b1be94418db9 Uploaded
crs4
parents:
diff changeset
37 #if str($mincontig)
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
38 -z $mincontig
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
39 #end if
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
40 -T \${GALAXY_SLOTS:-1} -b sspace
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
41 </command>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
42
b1be94418db9 Uploaded
crs4
parents:
diff changeset
43 <inputs>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
44 <param name="contigs" type="data" format="fasta" label="Contigs FASTA file (-s)" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
45 <param name="reads1" type="data" format="fasta,fastq" label="Paired-end reads 1" help="FASTA or FASTQ format" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
46 <param name="reads2" type="data" format="fasta,fastq" label="Paired-end reads 2" help="FASTA or FASTQ format" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
47 <param name="insert" type="integer" value="" label="Insert size">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
48 <validator type="in_range" min="1" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
49 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
50 <param name="error" type="float" min="0" max="1" value="" label="Variability (e.g. 0.25 for 25%)" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
51 <param name="orientation" type="select" label="Orientation">
b1be94418db9 Uploaded
crs4
parents:
diff changeset
52 <option value="FF">FF</option>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
53 <option value="FR" selected="true">FR</option>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
54 <option value="RF">RF</option>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
55 <option value="RR">RR</option>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
56 </param>
2
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
57 <param name="exten" type="boolean" checked="true" label="Extend the contigs using the paired reads (-x)" help="Uncheck for scaffolding only" />
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
58 <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
59 <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
60 <validator type="in_range" min="1" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
61 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
62 <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
63 <validator type="in_range" min="0" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
64 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
65 <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
66 <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
67 <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
68 <validator type="in_range" min="0" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
69 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
70 <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
71 <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
72 <validator type="in_range" min="0" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
73 </param>
2
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
74 <param name="mincontig" type="integer" optional="true" value="0" label="Scaffolding: minimum contig length used for scaffold (-z)" help="Filters out contigs below this length. Leave empty or set to 0 for no filtering">
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
75 <validator type="in_range" min="0" />
b1be94418db9 Uploaded
crs4
parents:
diff changeset
76 </param>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
77 </inputs>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
78
b1be94418db9 Uploaded
crs4
parents:
diff changeset
79 <outputs>
1
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
80 <data name="finalevidence" format="txt" label="${tool.name} on ${on_string}: final evidence" from_work_dir="sspace.final.evidence" />
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
81 <data name="finalscaffolds" format="fasta" label="${tool.name} on ${on_string}: final scaffolds" from_work_dir="sspace.final.scaffolds.fasta" />
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
82 <data name="logfile" format="txt" label="${tool.name} on ${on_string}: log" from_work_dir="sspace.logfile.txt" />
93fa7ecb5292 Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
crs4
parents: 0
diff changeset
83 <data name="summaryfile" format="txt" label="${tool.name} on ${on_string}: summary" from_work_dir="sspace.summaryfile.txt" />
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
84 </outputs>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
85 <tests>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
86
b1be94418db9 Uploaded
crs4
parents:
diff changeset
87 </tests>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
88 <help>
b1be94418db9 Uploaded
crs4
parents:
diff changeset
89 **What it does**
b1be94418db9 Uploaded
crs4
parents:
diff changeset
90
b1be94418db9 Uploaded
crs4
parents:
diff changeset
91 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
92
b1be94418db9 Uploaded
crs4
parents:
diff changeset
93 **License and citation**
b1be94418db9 Uploaded
crs4
parents:
diff changeset
94
2
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
95 This Galaxy tool is Copyright © 2012-2014 `CRS4 Srl.`_ and is released under the `MIT license`_.
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
96
b1be94418db9 Uploaded
crs4
parents:
diff changeset
97 .. _CRS4 Srl.: http://www.crs4.it/
b1be94418db9 Uploaded
crs4
parents:
diff changeset
98 .. _MIT license: http://opensource.org/licenses/MIT
b1be94418db9 Uploaded
crs4
parents:
diff changeset
99
2
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
100 You can use this tool only if you agree to the license terms of: `SSPACE basic`_.
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
101
b1be94418db9 Uploaded
crs4
parents:
diff changeset
102 .. _SSPACE basic: http://www.baseclear.com/landingpages/basetools-a-wide-range-of-bioinformatics-solutions/sspacev12/
2
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
103
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
104 If you use this tool, please cite:
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
105
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
106 - |Cuccuru2014|_
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
107 - |Boetzer2011|_.
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
108
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
109 .. |Cuccuru2014| replace:: Cuccuru, G., Orsini, M., Pinna, A., Sbardellati, A., Soranzo, N., Travaglione, A., Uva, P., Zanetti, G., Fotia, G. (2014) Orione, a web-based framework for NGS analysis in microbiology. *Bioinformatics* 30(13), 1928-1929
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
110 .. _Cuccuru2014: http://bioinformatics.oxfordjournals.org/content/30/13/1928
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
111 .. |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
112 .. _Boetzer2011: http://bioinformatics.oxfordjournals.org/content/27/4/578
b1be94418db9 Uploaded
crs4
parents:
diff changeset
113 </help>
2
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
114 <citations>
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
115 <citation type="doi">10.1093/bioinformatics/btu135</citation>
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
116 <citation type="doi">10.1093/bioinformatics/btq683</citation>
bc4451edb703 Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents: 1
diff changeset
117 </citations>
0
b1be94418db9 Uploaded
crs4
parents:
diff changeset
118 </tool>