Mercurial > repos > q2d2 > qiime2__diversity_lib__jaccard
view qiime2__diversity_lib__jaccard.xml @ 5:df2902af58c1 draft default tip
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__diversity_lib commit 5f71b597c9495eae67a447744fded834f56ca1f7
author | q2d2 |
---|---|
date | Wed, 30 Oct 2024 19:45:08 +0000 |
parents | a80fde700012 |
children |
line wrap: on
line source
<?xml version='1.0' encoding='utf-8'?> <!-- Copyright (c) 2024, QIIME 2 development team. Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause) --> <!-- This tool was automatically generated by: q2galaxy (version: 2024.10.0) for: qiime2 (version: 2024.10.1) --> <tool name="qiime2 diversity-lib jaccard" id="qiime2__diversity_lib__jaccard" version="2024.10.0+q2galaxy.2024.10.0" profile="22.05" license="BSD-3-Clause"> <description>Jaccard Distance</description> <xrefs> <xref type="bio.tools">qiime2</xref> </xrefs> <requirements> <container type="docker">quay.io/qiime2/amplicon:2024.10</container> </requirements> <version_command>q2galaxy version diversity_lib</version_command> <command detect_errors="exit_code">q2galaxy run diversity_lib jaccard '$inputs'</command> <configfiles> <inputs name="inputs" data_style="staging_path_and_source_path"/> </configfiles> <inputs> <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency | RelativeFrequency | PresenceAbsence]" help="[required] The feature table containing the samples for which Jaccard distance should be computed."> <options options_filter_attribute="metadata.semantic_type"> <filter type="add_value" value="FeatureTable[Frequency]"/> <filter type="add_value" value="FeatureTable[PresenceAbsence]"/> <filter type="add_value" value="FeatureTable[RelativeFrequency]"/> </options> <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]', 'FeatureTable[PresenceAbsence]', 'FeatureTable[RelativeFrequency]']</validator> </param> </inputs> <outputs> <data name="distance_matrix" format="qza" label="${tool.name} on ${on_string}: distance_matrix.qza" from_work_dir="distance_matrix.qza"/> </outputs> <tests> <test> <param name="table" value="jaccard.test0.feature-table.qza" ftype="qza"/> <output name="distance_matrix" ftype="qza"> <assert_contents> <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml"> <has_line_matching expression="type: DistanceMatrix"/> </has_archive_member> </assert_contents> </output> </test> <test> <param name="table" value="jaccard.test1.feature-table.qza" ftype="qza"/> <output name="distance_matrix" ftype="qza"> <assert_contents> <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml"> <has_line_matching expression="type: DistanceMatrix"/> </has_archive_member> </assert_contents> </output> </test> <test> <param name="table" value="jaccard.test2.feature-table.qza" ftype="qza"/> <output name="distance_matrix" ftype="qza"> <assert_contents> <has_archive_member path="[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\/metadata.yaml"> <has_line_matching expression="type: DistanceMatrix"/> </has_archive_member> </assert_contents> </output> </test> </tests> <help> QIIME 2: diversity-lib jaccard ============================== Jaccard Distance Outputs: -------- :distance_matrix.qza: Distance matrix for Jaccard index | Description: ------------ Compute Jaccard distance for each sample in a feature table. Jaccard is calculated usingpresence/absence data. Data of type FeatureTable[Frequency | Relative Frequency] is reducedto presence/absence prior to calculation. Examples: --------- run on one core (by default) **************************** Using the ``qiime2 diversity-lib jaccard`` tool: #. Set *"table"* to ``#: feature-table.qza`` #. Press the ``Execute`` button. Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows: (Renaming is optional, but it will make any subsequent steps easier to complete.) .. list-table:: :align: left :header-rows: 1 * - History Name - *"Name"* to set (be sure to press ``Save``) * - ``#: qiime2 diversity-lib jaccard [...] : distance_matrix.qza`` - ``jaccard-dm.qza`` to run on n cores, replace 1 here with your preferred integer ************************************************************* Using the ``qiime2 diversity-lib jaccard`` tool: #. Set *"table"* to ``#: feature-table.qza`` #. Press the ``Execute`` button. Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows: (Renaming is optional, but it will make any subsequent steps easier to complete.) .. list-table:: :align: left :header-rows: 1 * - History Name - *"Name"* to set (be sure to press ``Save``) * - ``#: qiime2 diversity-lib jaccard [...] : distance_matrix.qza`` - ``jaccard-dm.qza`` use 'auto' to run on all of host system's available CPU cores ************************************************************* Using the ``qiime2 diversity-lib jaccard`` tool: #. Set *"table"* to ``#: feature-table.qza`` #. Press the ``Execute`` button. Once completed, for the new entry in your history, use the ``Edit`` button to set the name as follows: (Renaming is optional, but it will make any subsequent steps easier to complete.) .. list-table:: :align: left :header-rows: 1 * - History Name - *"Name"* to set (be sure to press ``Save``) * - ``#: qiime2 diversity-lib jaccard [...] : distance_matrix.qza`` - ``jaccard-dm.qza`` | </help> <citations> <citation type="bibtex">@article{cite1, author = {Jaccard, P}, journal = {Bull. Soc. Vard. Sci. Nat}, pages = {223--270}, title = {Nouvelles recherches sur la distribution floral}, volume = {44}, year = {1908} } </citation> <citation type="doi">10.1038/s41587-019-0209-9</citation> </citations> </tool>