comparison cap3.xml @ 0:d76a0d8a9eac draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cap3 commit 9d6ba79f91bdf48dc01c09c088c63f5ea60d137a
author artbio
date Sat, 02 Sep 2017 07:09:11 -0400
parents
children a36a1acd5807
comparison
equal deleted inserted replaced
-1:000000000000 0:d76a0d8a9eac
1 <tool id="cap3" name="cap3" version="2.0.0">
2 <description>Sequence Assembly tool</description>
3 <requirements>
4 <requirement type="package" version="10.2011">cap3</requirement>
5 </requirements>
6 <stdio>
7 <exit_code range="1:" level="fatal" description="Tool exception" />
8 </stdio>
9 <command detect_errors="exit_code"><![CDATA[
10 cap3 "$inputSequences" -o $overlaplength -p $overlapidentity > "$cap3stdout" &&
11 mv "$inputSequences".cap.contigs $contigs &&
12 mv "$inputSequences".cap.contigs.qual $contigsqual &&
13 mv "$inputSequences".cap.contigs.links $contigslink &&
14 mv "$inputSequences".cap.ace $ace &&
15 mv "$inputSequences".cap.info $info &&
16 mv "$inputSequences".cap.singlets $singlets &&
17 cat $contigs $singlets > $contigsandsinglets
18 ]]></command>
19
20 <inputs>
21 <param label="Input sequences to assemble" name="inputSequences" type="data" format="fasta" help="Input sequences to assemble" />
22 <param label="specify overlap length cutoff > 15 (40)" name="overlaplength" type="integer" size="3" value="40" help="-o option. must be > 15. 40 by default" />
23 <param label="specify overlap percent identity cutoff N > 65 (90)" name="overlapidentity" type="integer" size="3" value="90" help="-p option. must be > 65. 90 by default" />
24 </inputs>
25
26 <outputs>
27 <data format="fasta" name="contigsandsinglets" label="${tool.name} on ${on_string}: Contigs and singlets" from_work_dir="${inputSequences}.cap.contigs" />
28 <data format="txt" name="cap3stdout" label="${tool.name} on ${on_string}: Standard Output" hidden="true"/>
29 <data format="fasta" name="contigs" label="${tool.name} on ${on_string}: Contigs" from_work_dir="${inputSequences}.cap.contigs" />
30 <data format="txt" name="contigsqual" label="${tool.name} on ${on_string}: Contigs Qual" from_work_dir="${inputSequences}.cap.contigs.qual" hidden="true" />
31 <data format="txt" name="contigslink" label="${tool.name} on ${on_string}: Contigs Link" from_work_dir="${inputSequences}.cap.contigs.links" hidden="true" />
32 <data format="txt" name="ace" label="${tool.name} on ${on_string}: Ace" from_work_dir="${inputSequences}.cap.ace" hidden="true" />
33 <data format="txt" name="info" label="${tool.name} on ${on_string}: Info" from_work_dir="${inputSequences}.cap.info" hidden="true" />
34 <data format="txt" name="singlets" label="${tool.name} on ${on_string}: Singlets" from_work_dir="${inputSequences}.cap.singlets" />
35 </outputs>
36
37 <tests>
38 <test>
39 <param name="inputSequences" value="input.fa" ftype="fasta"/>
40 <param name="overlaplength" value="40" />
41 <param name="overlapidentity" value="90" />
42 <output name="contigsandsinglets" file="contigsandsinglets.fa"/>
43 <output name="cap3stdout" file="cap3stdout.txt"/>
44 <output name="contigs" file="contigs.fa"/>
45 <output name="contigsqual" file="contigsqual.txt"/>
46 <output name="contigslink" file="contigslink.txt"/>
47 <output name="ace" file="ace.txt"/>
48 <output name="info" file="info.txt"/>
49 <output name="singlets" file="singlets.fa"/>
50 </test>
51 </tests>
52
53
54 <help>
55 **What it does**
56
57 This tool is a CAP3 wrapper developed for the visitor2 set of worflows
58
59 Under this conditions, it takes as input a set of blast hits in fasta format and performs CAP3 assembly on these sequences
60
61 Standard CAP3 outputs (Standard Output, Contigs Qual, Contigs Link, Ace and Info) are kept hidden in the Galaxy history (feel free to reveal these hidden datasets).
62
63 Standard CAP3 outputs Contigs and Singlets are returned in the history, as well as a merge of these two datasets (Contigs and singlets)
64
65 **Acknowledgments**
66
67 This Galaxy tool makes use of the `package_cap3_3`_ Galaxy package developed by jjohnson.
68
69 It is Copyright © 2014-2015 `CNRS and University Pierre et Marie Curie`_ and is released under the `MIT license`_.
70
71 .. _package_cap3_3: https://testtoolshed.g2.bx.psu.edu/view/jjohnson/package_cap3_3
72 .. _CNRS and University Pierre et Marie Curie: http://www.ibps.upmc.fr/en
73 .. _MIT license: http://opensource.org/licenses/MIT
74
75
76 </help>
77 <citations>
78 <citation type="bibtex">@article{Huang:1999wb,
79 author = {Huang, X and Madan, A},
80 title = {{CAP3: A DNA sequence assembly program.}},
81 journal = {Genome research},
82 year = {1999},
83 volume = {9},
84 number = {9},
85 pages = {868--877},
86 month = sep
87 }
88 </citation>
89 </citations>
90
91 </tool>