Mercurial > repos > q2d2 > qiime2__longitudinal__first_distances
view qiime2__longitudinal__first_distances.xml @ 4:2acedcd22341 draft
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__longitudinal commit c7e80dcda727ce63b42aa8a946e9330310929797
author | q2d2 |
---|---|
date | Mon, 03 Jun 2024 23:29:28 +0000 |
parents | 54f724ba9dc6 |
children | 2c445317c0c1 |
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.5.0) for: qiime2 (version: 2024.5.0) --> <tool name="qiime2 longitudinal first-distances" id="qiime2__longitudinal__first_distances" version="2024.5.0+q2galaxy.2024.5.0" profile="22.05" license="BSD-3-Clause"> <description>Compute first distances or distance from baseline between sequential states</description> <requirements> <container type="docker">quay.io/qiime2/amplicon:2024.5</container> </requirements> <version_command>q2galaxy version longitudinal</version_command> <command detect_errors="exit_code">q2galaxy run longitudinal first_distances '$inputs'</command> <configfiles> <inputs name="inputs" data_style="staging_path_and_source_path"/> </configfiles> <inputs> <param name="distance_matrix" type="data" format="qza" label="distance_matrix: DistanceMatrix" help="[required] Matrix of distances between pairs of samples."> <options options_filter_attribute="metadata.semantic_type"> <filter type="add_value" value="DistanceMatrix"/> </options> <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['DistanceMatrix']</validator> </param> <repeat name="metadata" min="1" help="[required] Sample metadata file containing individual_id_column." title="metadata: Metadata"> <conditional name="__q2galaxy__GUI__conditional__metadata__"> <param name="type" type="select" label="metadata: Metadata"> <option value="tsv" selected="true">Metadata from TSV</option> <option value="qza">Metadata from Artifact</option> </param> <when value="tsv"> <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/> </when> <when value="qza"> <param name="source" type="data" format="qza" label="Metadata Source"/> </when> </conditional> </repeat> <param name="state_column" type="text" label="state_column: Str" help="[required] Metadata column containing state (time) variable information."> <sanitizer> <valid initial="string.printable"/> </sanitizer> <validator type="expression" message="Please verify this parameter.">value is not None and len(value) > 0</validator> </param> <param name="individual_id_column" type="text" label="individual_id_column: Str" help="[required] Metadata column containing IDs for individual subjects."> <sanitizer> <valid initial="string.printable"/> </sanitizer> <validator type="expression" message="Please verify this parameter.">value is not None and len(value) > 0</validator> </param> <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options"> <param name="baseline" type="float" optional="true" label="baseline: Float" help="[optional] A value listed in the state_column metadata column against which all other states should be compared. Toggles calculation of static distances instead of first distances (which are calculated if no value is given for baseline). If a "baseline" value is provided, sample distances at each state are compared against the baseline state, instead of the previous state. Must be a value listed in the state_column."/> <param name="replicate_handling" type="select" label="replicate_handling: Str % Choices('error', 'random', 'drop')" display="radio"> <option value="error" selected="true">error</option> <option value="random">random</option> <option value="drop">drop</option> </param> </section> </inputs> <outputs> <data name="first_distances" format="qza" label="${tool.name} on ${on_string}: first_distances.qza" from_work_dir="first_distances.qza"/> </outputs> <tests/> <help> QIIME 2: longitudinal first-distances ===================================== Compute first distances or distance from baseline between sequential states Outputs: -------- :first_distances.qza: Series of first distances. | Description: ------------ Calculates first distances between sequential states for samples collected from individual subjects sampled repeatedly at two or more states. This method is similar to the "first differences" method, except that it requires a distance matrix as input and calculates first differences as distances between successive states. Outputs a data series of first distances for each individual subject at each sequential pair of states, labeled by the SampleID of the second state (e.g., paired distances between time 0 and time 1 would be labeled by the SampleIDs at time 1). This file can be used as input to linear mixed effects models or other longitudinal or diversity methods to compare changes in first distances across time or among groups of subjects. Also supports distance from baseline (or other static comparison state) by setting the "baseline" parameter. | </help> <citations> <citation type="doi">10.1128/mSystems.00219-18</citation> <citation type="doi">10.1038/s41587-019-0209-9</citation> </citations> </tool>