Mercurial > repos > bgruening > diamond
annotate diamond_makedb.xml @ 10:1e3323a44643 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
author | iuc |
---|---|
date | Fri, 22 Apr 2022 13:51:34 +0000 |
parents | f921014aba5a |
children |
rev | line source |
---|---|
10
1e3323a44643
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
iuc
parents:
9
diff
changeset
|
1 <tool id="bg_diamond_makedb" name="Diamond makedb" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="19.01"> |
0 | 2 <description>Build database from a FASTA file</description> |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
3 <macros> |
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
4 <import>macros.xml</import> |
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
5 </macros> |
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
6 |
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
7 <expand macro="requirements" /> |
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
8 <expand macro="stdio" /> |
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
9 <expand macro="version_command" /> |
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
10 |
8
54f751e413f4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit 75abf7d4b23ed7ae8abce80609d81b20bc882863"
iuc
parents:
7
diff
changeset
|
11 <command detect_errors="aggressive"> |
0 | 12 <!-- DB has two files, *.dmnd and *.tx --> |
6
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
13 <![CDATA[ |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
14 diamond makedb |
0 | 15 --threads "\${GALAXY_SLOTS:-12}" |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
16 --in '$infile' |
0 | 17 --db ./database |
6
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
18 |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
19 #if str($tax_cond.tax_select) == 'yes': |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
20 --taxonmap '$tax_cond.taxonmap' |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
21 --taxonnodes '$tax_cond.taxonnodes' |
8
54f751e413f4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit 75abf7d4b23ed7ae8abce80609d81b20bc882863"
iuc
parents:
7
diff
changeset
|
22 --taxonnames '$tax_cond.taxonnames' |
6
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
23 #end if |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
24 ]]> |
0 | 25 </command> |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
26 |
0 | 27 <inputs> |
6
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
28 <param name="infile" type="data" format="fasta" label="Input reference file in FASTA format" /> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
29 <conditional name="tax_cond"> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
30 <param name="tax_select" type="select" label="Add taxonomic data?" help="Needs to be supplied in order to provide taxonomy features of the aligner"> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
31 <option value="yes">Yes</option> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
32 <option value="no" selected="true">No</option> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
33 </param> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
34 <when value="yes"> |
10
1e3323a44643
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
iuc
parents:
9
diff
changeset
|
35 <param argument="--taxonmap" type="data" format="tabular" |
1e3323a44643
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
iuc
parents:
9
diff
changeset
|
36 label="Protein accession to taxid mapping file" |
1e3323a44643
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
iuc
parents:
9
diff
changeset
|
37 help="Path to mapping file that maps NCBI protein accession numbers to taxon ids (gzip compressed). This parameter is optional and needs to be supplied in order to provide taxonomy features. |
1e3323a44643
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
iuc
parents:
9
diff
changeset
|
38 A custom file following the same format may be supplied here. Note that the first line of this file is assumed to contain headings and will be ignored" /> |
1e3323a44643
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
iuc
parents:
9
diff
changeset
|
39 <param argument="--taxonnodes" type="data" format="tabular" label="Taxonomy nodes.dmp from NCBI" help="This parameter is optional and needs to be supplied in order to provide taxonomy features" /> |
1e3323a44643
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
iuc
parents:
9
diff
changeset
|
40 <param argument="--taxonnames" type="data" format="tabular" label="Taxonomy names.dmp from NCBI" help="This parameter is optional and needs to be supplied in order to provide taxonomy features" /> |
6
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
41 </when> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
42 <when value="no"/> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
43 </conditional> |
0 | 44 </inputs> |
45 | |
46 <outputs> | |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
47 <data format="dmnd" name="outfile" from_work_dir="database.dmnd" label="${tool.name} on ${on_string}"/> |
0 | 48 </outputs> |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
49 |
0 | 50 <tests> |
51 <test> | |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
52 <param name="infile" value="db.fasta" ftype="fasta"/> |
6
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
53 <output name="outfile" value="db.dmnd" compare="sim_size" delta="2"/> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
54 </test> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
55 <test> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
56 <param name="infile" value="db.fasta" ftype="fasta"/> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
57 <conditional name="tax_cond"> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
58 <param name="tax_select" value="yes"/> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
59 <param name="taxonmap" ftype="tabular" value="prot.accession2taxid" /> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
60 <param name="taxonnodes" ftype="tabular" value="nodes.dmp" /> |
8
54f751e413f4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit 75abf7d4b23ed7ae8abce80609d81b20bc882863"
iuc
parents:
7
diff
changeset
|
61 <param name="taxonnames" ftype="tabular" value="names.dmp" /> |
6
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
62 </conditional> |
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
63 <output name="outfile" value="db-wtax.dmnd" compare="sim_size" delta="2"/> |
0 | 64 </test> |
65 </tests> | |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
66 |
0 | 67 <help> |
68 <![CDATA[ | |
69 | |
70 .. class:: infomark | |
71 | |
72 **What it does** | |
73 | |
74 DIAMOND_ is a new alignment tool for aligning short DNA sequencing reads to a protein reference database such as NCBI-NR. | |
75 On Illumina reads of length 100-150bp, in fast mode, DIAMOND is about 20,000 times faster than BLASTX, while reporting | |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
76 about 80-90% of all matches that BLASTX finds, with an e-value of at most 1e-5. In sensitive mode, DIAMOND is about 2,500 |
0 | 77 times faster than BLASTX, finding more than 94% of all matches. |
78 | |
79 .. _DIAMOND: http://ab.inf.uni-tuebingen.de/software/diamond/ | |
80 | |
81 | |
10
1e3323a44643
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit b9f434bf71431a3b9548eb17fcc2639b3b6f8b01"
iuc
parents:
9
diff
changeset
|
82 - taxonmap: Path to mapping file that maps NCBI protein accession numbers to taxon ids (gzip compressed). This parameter is optional and needs to be supplied in order to provide taxonomy features. The file can be downloaded from NCBI: ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/accession2taxid/prot.accession2taxid.gz |
8
54f751e413f4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit 75abf7d4b23ed7ae8abce80609d81b20bc882863"
iuc
parents:
7
diff
changeset
|
83 |
54f751e413f4
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit 75abf7d4b23ed7ae8abce80609d81b20bc882863"
iuc
parents:
7
diff
changeset
|
84 - taxonnames: Path to the names.dmp file from the NCBI taxonomy. This parameter is optional and needs to be supplied in order to provide taxonomy features. The file is contained within this archive downloadable at NCBI: ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdmp.zip |
6
64be1ac21109
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit 2f6d48e1d2161d03411d9fbb4fc3d16f0fa3d2e1
bgruening
parents:
1
diff
changeset
|
85 |
7
62c9df8382c2
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit b2d290a8b609ebbc7f4b93716370143c41062ad4"
bgruening
parents:
6
diff
changeset
|
86 - taxonnodes: Path to the nodes.dmp file from the NCBI taxonomy. This parameter is optional and needs to be supplied in order to provide taxonomy features. The file is contained within this archive downloadable at NCBI: ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdmp.zip |
0 | 87 ]]> |
88 </help> | |
1
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
89 |
df7738595640
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/diamond commit cc80b878817d052398db16574917900ebe15292e
bgruening
parents:
0
diff
changeset
|
90 <expand macro="citations" /> |
0 | 91 </tool> |