Mercurial > repos > crs4 > sspace
annotate sspace.xml @ 1:93fa7ecb5292 draft
Directly call SSPACE, remove sspace.py and hidden library file output. Use $GALAXY_SLOTS instead of $SSPACE_SITE_OPTIONS. Add readme.rst .
author | crs4 |
---|---|
date | Fri, 21 Feb 2014 04:17:55 -0500 |
parents | b1be94418db9 |
children | bc4451edb703 |
rev | line source |
---|---|
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
|
1 <tool id="sspace" name="SSPACE" version="1.0.6"> |
0 | 2 <description>scaffolder</description> |
3 <requirements> | |
4 <requirement type="package" version="2.0">sspace</requirement> | |
5 </requirements> | |
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" > libraryfile && |
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 | 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 | 12 #end if |
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 | 15 #end if |
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 | 18 #end if |
19 #if str($max_trim) | |
20 -t $max_trim | |
21 #end if | |
22 #if $unpaired | |
23 -u $unpaired | |
24 #end if | |
25 #if str($min_base_ratio) | |
26 -r $min_base_ratio | |
27 #end if | |
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 | 30 #end if |
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 | 33 #end if |
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 | 36 #end if |
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 | 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 | 41 </command> |
42 | |
43 <inputs> | |
44 <param name="contigs" type="data" format="fasta" label="Contigs FASTA file (-s)" /> | |
45 <param name="reads1" type="data" format="fasta,fastq" label="Paired-end reads 1" help="FASTA or FASTQ format" /> | |
46 <param name="reads2" type="data" format="fasta,fastq" label="Paired-end reads 2" help="FASTA or FASTQ format" /> | |
47 <param name="insert" type="integer" value="" label="Insert size"> | |
48 <validator type="in_range" min="1" /> | |
49 </param> | |
50 <param name="error" type="float" min="0" max="1" value="" label="Variability (e.g. 0.25 for 25%)" /> | |
51 <param name="orientation" type="select" label="Orientation"> | |
52 <option value="FF">FF</option> | |
53 <option value="FR" selected="true">FR</option> | |
54 <option value="RF">RF</option> | |
55 <option value="RR">RR</option> | |
56 </param> | |
57 <param name="exten" type="boolean" checked="true" label="Extension (-x)" help="Uncheck for scaffolding only" /> | |
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" /> | |
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"> | |
60 <validator type="in_range" min="1" /> | |
61 </param> | |
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)"> | |
63 <validator type="in_range" min="0" /> | |
64 </param> | |
65 <param name="unpaired" type="data" format="fasta,fastq" optional="true" label="Extension: unpaired reads (-u, optional)" help="FASTA or FASTQ format" /> | |
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)" /> | |
67 <param name="minlink" type="integer" optional="true" value="5" label="Scaffolding: minimum number of links (read pairs) to compute scaffold (-k)"> | |
68 <validator type="in_range" min="0" /> | |
69 </param> | |
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" /> | |
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)"> | |
72 <validator type="in_range" min="0" /> | |
73 </param> | |
74 <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"> | |
75 <validator type="in_range" min="0" /> | |
76 </param> | |
77 </inputs> | |
78 | |
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 | 84 </outputs> |
85 <tests> | |
86 | |
87 </tests> | |
88 <help> | |
89 **What it does** | |
90 | |
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. | |
92 | |
93 **License and citation** | |
94 | |
95 This Galaxy tool is Copyright © 2012-2013 `CRS4 Srl.`_ and is released under the `MIT license`_. | |
96 | |
97 .. _CRS4 Srl.: http://www.crs4.it/ | |
98 .. _MIT license: http://opensource.org/licenses/MIT | |
99 | |
100 If you use this tool in Galaxy, please cite |Cuccuru2013|_. | |
101 | |
102 .. |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* | |
103 .. _Cuccuru2013: http://orione.crs4.it/ | |
104 | |
105 This tool uses `SSPACE basic`_, which is licensed separately. Please cite |Boetzer2011|_. | |
106 | |
107 .. _SSPACE basic: http://www.baseclear.com/landingpages/basetools-a-wide-range-of-bioinformatics-solutions/sspacev12/ | |
108 .. |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 | |
109 .. _Boetzer2011: http://bioinformatics.oxfordjournals.org/content/27/4/578 | |
110 </help> | |
111 </tool> |