Skip to content

Commit 2debd4e

Browse files
authored
Merge pull request #1596 from RZ9082/qiime2_dbotu
Add Qiime2 dbotu plugin
2 parents 5846f23 + 65a27a0 commit 2debd4e

File tree

4 files changed

+76
-0
lines changed

4 files changed

+76
-0
lines changed

tools/qiime2_dbotu_q2/.shed.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: qiime2_dbotu_q2
2+
owner: bgruening
3+
description: q2-dbotu is a Qiime 2 plugin for performing OTU clustering
4+
homepage_url: https://github.com/cduvallet/q2-dbotu/tree/master
5+
long_description: |
6+
q2-dbotu is a Qiime 2 plugin for performing OTU clustering using the distribution-based OTU (dbOTU) algorithm.
7+
remote_repository_url: https://github.com/bgruening/galaxytools/tree/master/tools/qiime2_dbotu_q2/
8+
type: unrestricted
9+
categories:
10+
- Metagenomics
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<tool name="qiime2 dbOTU" id="qiime2_dbotu_q2" version="2022.11.1+galaxy0" profile="22.05">
2+
<description>QIIME 2 plugin for distribution-based clustering</description>
3+
<xrefs>
4+
<xref type="bio.tools">qiime2</xref>
5+
</xrefs>
6+
<requirements>
7+
<container type="docker">sebimer/samba-v4-qiime2:2022.11</container>
8+
</requirements>
9+
<command detect_errors="exit_code"><![CDATA[
10+
export NUMBA_CACHE_DIR=\$HOME &&
11+
ln -s '$input_table' input_table.qza &&
12+
ln -s '$input_seqs' input_seqs.qza &&
13+
qiime dbotu-q2 call-otus --i-table input_table.qza --i-sequences input_seqs.qza --p-gen-crit '$gen_crit' --p-abund-crit '$abund_crit' --p-pval-crit '$pval_crit' --o-dbotu-table output_table.qza --o-representative-sequences output_seqs.qza &&
14+
mv output_table.qza '$output_table' &&
15+
mv output_seqs.qza '$output_seqs'
16+
]]></command>
17+
<inputs>
18+
<param name="input_table" type="data" format="qza" label="Table" help="The feature table containing counts for the dereplicated sequences (e.g. 100% OTUs or ASVs). Type: FeatureTable[Frequency]" />
19+
<param name="input_seqs" type="data" format="qza" label="Sequence" help="Input sequences. These should be either dereplicated (i.e. 100% OTUs) or exact sequence variants (i.e. output from deblur or DADA2 denoising). Type: FeatureData[Sequence]" />
20+
<param name="gen_crit" label="Genetic criterion" type="float" value="0.1" />
21+
<param name="abund_crit" label="Abundance criterion" type="float" value="10.0" min="0" />
22+
<param name="pval_crit" label="P-value criterion" type="float" value="0.0005" min="0" max="1" />
23+
</inputs>
24+
<outputs>
25+
<data name="output_table" format="qza" label="${tool.name} on ${on_string}: Feature table" />
26+
<data name="output_seqs" format="qza" label="${tool.name} on ${on_string}: Representative sequences" />
27+
</outputs>
28+
<tests>
29+
<test>
30+
<param name="input_table" value="counts.qza" ftype="qza"/>
31+
<param name="input_seqs" value="seq.qza" ftype="qza"/>
32+
<output name="output_table" ftype="qza">
33+
<assert_contents>
34+
<has_size size="19254" />
35+
</assert_contents>
36+
</output>
37+
<output name="output_seqs" ftype="qza">
38+
<assert_contents>
39+
<has_size size="16648" />
40+
</assert_contents>
41+
</output>
42+
</test>
43+
</tests>
44+
<help><![CDATA[
45+
QIIME 2: dbOTU3
46+
================================
47+
q2-dbotu is a Qiime 2 plugin for performing OTU clustering using the distribution-based OTU (dbOTU) algorithm.
48+
49+
Outputs:
50+
--------
51+
- Feature table with sample counts for dbOTUs.
52+
- Representative sequences for each dbOTU.
53+
54+
License (qiime2)
55+
----------------
56+
* `BSD 3-Clause license <https://raw.githubusercontent.com/qiime2/qiime2/refs/heads/dev/LICENSE>`_
57+
58+
License (q2-dbotu plugin)
59+
-------------------------
60+
* `MIT license <https://raw.githubusercontent.com/cduvallet/q2-dbotu/refs/heads/master/LICENSE>`_
61+
]]></help>
62+
<citations>
63+
<citation type="doi">10.1038/s41587-019-0209-9</citation>
64+
<citation type="doi">10.1371/journal.pone.0176335</citation>
65+
</citations>
66+
</tool>
9.5 KB
Binary file not shown.
6.65 KB
Binary file not shown.

0 commit comments

Comments
 (0)