Mercurial > repos > crs4 > sspace
annotate sspace.xml @ 3:b3a6b51c44e0 draft default tip
Fix missing requirement.
author | crs4 |
---|---|
date | Mon, 27 Oct 2014 14:13:48 -0400 |
parents | bc4451edb703 |
children |
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 | 2 <description>scaffolder</description> |
3 <requirements> | |
3 | 4 <requirement type="package" version="1.0.0">bowtie</requirement> |
2
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
5 <requirement type="package" version="2.1">sspace</requirement> |
0 | 6 </requirements> |
7 | |
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
|
8 <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
|
9 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
|
10 perl `which SSPACE_Basic_v2.0.pl` -l libraryfile -s $contigs |
0 | 11 #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
|
12 -x 1 |
0 | 13 #end if |
14 #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
|
15 -m $minoverlap |
0 | 16 #end if |
17 #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
|
18 -o $numofreads |
0 | 19 #end if |
20 #if str($max_trim) | |
21 -t $max_trim | |
22 #end if | |
23 #if $unpaired | |
24 -u $unpaired | |
25 #end if | |
26 #if str($min_base_ratio) | |
27 -r $min_base_ratio | |
28 #end if | |
29 #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
|
30 -k $minlink |
0 | 31 #end if |
32 #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
|
33 -a $maxratio |
0 | 34 #end if |
35 #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
|
36 -n $contigoverlap |
0 | 37 #end if |
38 #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
|
39 -z $mincontig |
0 | 40 #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
|
41 -T \${GALAXY_SLOTS:-1} -b sspace |
0 | 42 </command> |
43 | |
44 <inputs> | |
45 <param name="contigs" type="data" format="fasta" label="Contigs FASTA file (-s)" /> | |
46 <param name="reads1" type="data" format="fasta,fastq" label="Paired-end reads 1" help="FASTA or FASTQ format" /> | |
47 <param name="reads2" type="data" format="fasta,fastq" label="Paired-end reads 2" help="FASTA or FASTQ format" /> | |
48 <param name="insert" type="integer" value="" label="Insert size"> | |
49 <validator type="in_range" min="1" /> | |
50 </param> | |
51 <param name="error" type="float" min="0" max="1" value="" label="Variability (e.g. 0.25 for 25%)" /> | |
52 <param name="orientation" type="select" label="Orientation"> | |
53 <option value="FF">FF</option> | |
54 <option value="FR" selected="true">FR</option> | |
55 <option value="RF">RF</option> | |
56 <option value="RR">RR</option> | |
57 </param> | |
2
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
58 <param name="exten" type="boolean" checked="true" label="Extend the contigs using the paired reads (-x)" help="Uncheck for scaffolding only" /> |
0 | 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" /> |
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"> | |
61 <validator type="in_range" min="1" /> | |
62 </param> | |
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)"> | |
64 <validator type="in_range" min="0" /> | |
65 </param> | |
66 <param name="unpaired" type="data" format="fasta,fastq" optional="true" label="Extension: unpaired reads (-u, optional)" help="FASTA or FASTQ format" /> | |
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)" /> | |
68 <param name="minlink" type="integer" optional="true" value="5" label="Scaffolding: minimum number of links (read pairs) to compute scaffold (-k)"> | |
69 <validator type="in_range" min="0" /> | |
70 </param> | |
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" /> | |
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)"> | |
73 <validator type="in_range" min="0" /> | |
74 </param> | |
2
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
75 <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 | 76 <validator type="in_range" min="0" /> |
77 </param> | |
78 </inputs> | |
79 | |
80 <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
|
81 <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
|
82 <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
|
83 <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
|
84 <data name="summaryfile" format="txt" label="${tool.name} on ${on_string}: summary" from_work_dir="sspace.summaryfile.txt" /> |
0 | 85 </outputs> |
86 <tests> | |
87 | |
88 </tests> | |
89 <help> | |
90 **What it does** | |
91 | |
92 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. | |
93 | |
94 **License and citation** | |
95 | |
2
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
96 This Galaxy tool is Copyright © 2012-2014 `CRS4 Srl.`_ and is released under the `MIT license`_. |
0 | 97 |
98 .. _CRS4 Srl.: http://www.crs4.it/ | |
99 .. _MIT license: http://opensource.org/licenses/MIT | |
100 | |
2
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
101 You can use this tool only if you agree to the license terms of: `SSPACE basic`_. |
0 | 102 |
103 .. _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
|
104 |
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
105 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
|
106 |
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
107 - |Cuccuru2014|_ |
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
108 - |Boetzer2011|_. |
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
109 |
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
110 .. |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
|
111 .. _Cuccuru2014: http://bioinformatics.oxfordjournals.org/content/30/13/1928 |
0 | 112 .. |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 |
113 .. _Boetzer2011: http://bioinformatics.oxfordjournals.org/content/27/4/578 | |
114 </help> | |
2
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
115 <citations> |
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/btu135</citation> |
bc4451edb703
Update Orione citation. Update dependency to SSPACE Basic v2.1 . Add <citations>.
crs4
parents:
1
diff
changeset
|
117 <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
|
118 </citations> |
0 | 119 </tool> |