Mercurial > repos > q2d2 > qiime2__longitudinal__maturity_index
comparison qiime2__longitudinal__maturity_index.xml @ 0:4b93d690c250 draft
planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__longitudinal commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1
author | q2d2 |
---|---|
date | Mon, 29 Aug 2022 20:10:25 +0000 |
parents | |
children | 440d5bfda88c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4b93d690c250 |
---|---|
1 <?xml version='1.0' encoding='utf-8'?> | |
2 <!-- | |
3 Copyright (c) 2022, QIIME 2 development team. | |
4 | |
5 Distributed under the terms of the Modified BSD License. (SPDX: BSD-3-Clause) | |
6 --> | |
7 <!-- | |
8 This tool was automatically generated by: | |
9 q2galaxy (version: 2022.8.1) | |
10 for: | |
11 qiime2 (version: 2022.8.1) | |
12 --> | |
13 <tool name="qiime2 longitudinal maturity-index" id="qiime2__longitudinal__maturity_index" version="2022.8.0+q2galaxy.2022.8.1.2" profile="22.05" license="BSD-3-Clause"> | |
14 <description>Microbial maturity index prediction.</description> | |
15 <requirements> | |
16 <container type="docker">quay.io/qiime2/core:2022.8</container> | |
17 </requirements> | |
18 <version_command>q2galaxy version longitudinal</version_command> | |
19 <command detect_errors="aggressive">q2galaxy run longitudinal maturity_index '$inputs'</command> | |
20 <configfiles> | |
21 <inputs name="inputs" data_style="paths"/> | |
22 </configfiles> | |
23 <inputs> | |
24 <param name="table" type="data" format="qza" label="table: FeatureTable[Frequency]" help="[required] Feature table containing all features that should be used for target prediction."> | |
25 <options options_filter_attribute="metadata.semantic_type"> | |
26 <filter type="add_value" value="FeatureTable[Frequency]"/> | |
27 </options> | |
28 <validator type="expression" message="Incompatible type">hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['FeatureTable[Frequency]']</validator> | |
29 </param> | |
30 <repeat name="metadata" min="1" help="[required]" title="metadata: Metadata"> | |
31 <conditional name="__q2galaxy__GUI__conditional__metadata__"> | |
32 <param name="type" type="select" label="metadata: Metadata"> | |
33 <option value="tsv" selected="true">Metadata from TSV</option> | |
34 <option value="qza">Metadata from Artifact</option> | |
35 </param> | |
36 <when value="tsv"> | |
37 <param name="source" type="data" format="tabular,qiime2.tabular" label="Metadata Source"/> | |
38 </when> | |
39 <when value="qza"> | |
40 <param name="source" type="data" format="qza" label="Metadata Source"/> | |
41 </when> | |
42 </conditional> | |
43 </repeat> | |
44 <param name="state_column" type="text" label="state_column: Str" help="[required] Numeric metadata column containing sampling time (state) data to use as prediction target."> | |
45 <sanitizer> | |
46 <valid initial="string.printable"/> | |
47 </sanitizer> | |
48 <validator type="expression" message="Please verify this parameter.">value is not None and len(value) > 0</validator> | |
49 </param> | |
50 <param name="group_by" type="text" label="group_by: Str" help="[required] Categorical metadata column to use for plotting and significance testing between main treatment groups."> | |
51 <sanitizer> | |
52 <valid initial="string.printable"/> | |
53 </sanitizer> | |
54 <validator type="expression" message="Please verify this parameter.">value is not None and len(value) > 0</validator> | |
55 </param> | |
56 <param name="control" type="text" label="control: Str" help="[required] Value of group_by to use as control group. The regression model will be trained using only control group data, and the maturity scores of other groups consequently will be assessed relative to this group."> | |
57 <sanitizer> | |
58 <valid initial="string.printable"/> | |
59 </sanitizer> | |
60 <validator type="expression" message="Please verify this parameter.">value is not None and len(value) > 0</validator> | |
61 </param> | |
62 <section name="__q2galaxy__GUI__section__extra_opts__" title="Click here for additional options"> | |
63 <conditional name="__q2galaxy__GUI__conditional__individual_id_column__" label="individual_id_column: Str"> | |
64 <param name="__q2galaxy__GUI__select__" type="select" label="individual_id_column: Str" help="[optional] Optional metadata column containing IDs for individual subjects. Adds individual subject (spaghetti) vectors to volatility charts if a column name is provided."> | |
65 <option value="__q2galaxy__::control::default" selected="true">None (Use default behavior)</option> | |
66 <option value="__q2galaxy__::control::provide">Provide a value</option> | |
67 </param> | |
68 <when value="__q2galaxy__::control::default"> | |
69 <param name="individual_id_column" type="hidden" value="__q2galaxy__::literal::None"/> | |
70 </when> | |
71 <when value="__q2galaxy__::control::provide"> | |
72 <param name="individual_id_column" type="text"> | |
73 <sanitizer> | |
74 <valid initial="string.printable"/> | |
75 </sanitizer> | |
76 </param> | |
77 </when> | |
78 </conditional> | |
79 <param name="estimator" type="select" label="estimator: Str % Choices('RandomForestRegressor', 'ExtraTreesRegressor', 'GradientBoostingRegressor', 'AdaBoostRegressor', 'ElasticNet', 'Ridge', 'Lasso', 'KNeighborsRegressor', 'LinearSVR', 'SVR')"> | |
80 <option value="RandomForestRegressor" selected="true">RandomForestRegressor</option> | |
81 <option value="ExtraTreesRegressor">ExtraTreesRegressor</option> | |
82 <option value="GradientBoostingRegressor">GradientBoostingRegressor</option> | |
83 <option value="AdaBoostRegressor">AdaBoostRegressor</option> | |
84 <option value="ElasticNet">ElasticNet</option> | |
85 <option value="Ridge">Ridge</option> | |
86 <option value="Lasso">Lasso</option> | |
87 <option value="KNeighborsRegressor">KNeighborsRegressor</option> | |
88 <option value="LinearSVR">LinearSVR</option> | |
89 <option value="SVR">SVR</option> | |
90 </param> | |
91 <param name="n_estimators" type="integer" min="1" value="100" label="n_estimators: Int % Range(1, None)" help="[default: 100] Number of trees to grow for estimation. More trees will improve predictive accuracy up to a threshold level, but will also increase time and memory requirements. This parameter only affects ensemble estimators, such as Random Forest, AdaBoost, ExtraTrees, and GradientBoosting."/> | |
92 <param name="test_size" type="float" min="0.0" max="0.999999" value="0.5" label="test_size: Float % Range(0.0, 1.0)" help="[default: 0.5] Fraction of input samples to exclude from training set and use for classifier testing."/> | |
93 <param name="step" type="float" min="1e-06" max="0.999999" value="0.05" label="step: Float % Range(0.0, 1.0, inclusive_start=False)" help="[default: 0.05] If optimize_feature_selection is True, step is the percentage of features to remove at each iteration."/> | |
94 <param name="cv" type="integer" min="1" value="5" label="cv: Int % Range(1, None)" help="[default: 5] Number of k-fold cross-validations to perform."/> | |
95 <param name="random_state" type="integer" optional="true" label="random_state: Int" help="[optional] Seed used by random number generator."/> | |
96 <param name="n_jobs" type="integer" value="1" label="n_jobs: Int" help="[default: 1] Number of jobs to run in parallel."/> | |
97 <param name="parameter_tuning" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="parameter_tuning: Bool" help="[default: No] Automatically tune hyperparameters using random grid search."/> | |
98 <param name="optimize_feature_selection" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="optimize_feature_selection: Bool" help="[default: No] Automatically optimize input feature selection using recursive feature elimination."/> | |
99 <param name="stratify" type="boolean" truevalue="__q2galaxy__::literal::True" falsevalue="__q2galaxy__::literal::False" label="stratify: Bool" help="[default: No] Evenly stratify training and test data among metadata categories. If True, all values in column must match at least two samples."/> | |
100 <param name="missing_samples" type="select" label="missing_samples: Str % Choices('error', 'ignore')" display="radio"> | |
101 <option value="error" selected="true">error</option> | |
102 <option value="ignore">ignore</option> | |
103 </param> | |
104 <param name="feature_count" type="integer" min="0" value="50" label="feature_count: Int % Range(0, None)" help="[default: 50] Filter feature table to include top N most important features. Set to zero to include all features."/> | |
105 </section> | |
106 </inputs> | |
107 <outputs> | |
108 <data name="sample_estimator" format="qza" label="${tool.name} on ${on_string}: sample_estimator.qza" from_work_dir="sample_estimator.qza"/> | |
109 <data name="feature_importance" format="qza" label="${tool.name} on ${on_string}: feature_importance.qza" from_work_dir="feature_importance.qza"/> | |
110 <data name="predictions" format="qza" label="${tool.name} on ${on_string}: predictions.qza" from_work_dir="predictions.qza"/> | |
111 <data name="model_summary" format="qzv" label="${tool.name} on ${on_string}: model_summary.qzv" from_work_dir="model_summary.qzv"/> | |
112 <data name="accuracy_results" format="qzv" label="${tool.name} on ${on_string}: accuracy_results.qzv" from_work_dir="accuracy_results.qzv"/> | |
113 <data name="maz_scores" format="qza" label="${tool.name} on ${on_string}: maz_scores.qza" from_work_dir="maz_scores.qza"/> | |
114 <data name="clustermap" format="qzv" label="${tool.name} on ${on_string}: clustermap.qzv" from_work_dir="clustermap.qzv"/> | |
115 <data name="volatility_plots" format="qzv" label="${tool.name} on ${on_string}: volatility_plots.qzv" from_work_dir="volatility_plots.qzv"/> | |
116 </outputs> | |
117 <tests/> | |
118 <help> | |
119 QIIME 2: longitudinal maturity-index | |
120 ==================================== | |
121 Microbial maturity index prediction. | |
122 | |
123 | |
124 Outputs: | |
125 -------- | |
126 :sample_estimator.qza: Trained sample estimator. | |
127 :feature_importance.qza: Importance of each input feature to model accuracy. | |
128 :predictions.qza: Predicted target values for each input sample. | |
129 :model_summary.qzv: Summarized parameter and (if enabled) feature selection information for the trained estimator. | |
130 :accuracy_results.qzv: Accuracy results visualization. | |
131 :maz_scores.qza: Microbiota-for-age z-score predictions. | |
132 :clustermap.qzv: Heatmap of important feature abundance at each time point in each group. | |
133 :volatility_plots.qzv: Interactive volatility plots of MAZ and maturity scores, target (column) predictions, and the sample metadata. | |
134 | |
135 | | |
136 | |
137 Description: | |
138 ------------ | |
139 Calculates a "microbial maturity" index from a regression model trained on feature data to predict a given continuous metadata column, e.g., to predict age as a function of microbiota composition. The model is trained on a subset of control group samples, then predicts the column value for all samples. This visualization computes maturity index z-scores to compare relative "maturity" between each group, as described in doi:10.1038/nature13421. This method can be used to predict between-group differences in relative trajectory across any type of continuous metadata gradient, e.g., intestinal microbiome development by age, microbial succession during wine fermentation, or microbial community differences along environmental gradients, as a function of two or more different "treatment" groups. | |
140 | |
141 | |
142 | | |
143 | |
144 </help> | |
145 <citations> | |
146 <citation type="doi">10.1038/nature13421</citation> | |
147 <citation type="doi">10.21105/joss.00934</citation> | |
148 <citation type="doi">10.1128/mSystems.00219-18</citation> | |
149 <citation type="doi">10.1038/s41587-019-0209-9</citation> | |
150 </citations> | |
151 </tool> |