Mercurial > repos > florianbegusch > qiime2_suite
view qiime2/qiime_taxa_barplot.xml @ 12:33e7a3470046 draft
Deleted selected files
author | florianbegusch |
---|---|
date | Thu, 03 Sep 2020 09:44:28 +0000 |
parents | f190567fe3f6 |
children | a0a8d77a991c |
line wrap: on
line source
<?xml version="1.0" ?> <tool id="qiime_taxa_barplot" name="qiime taxa barplot" version="2019.7"> <description> - Visualize taxonomy with an interactive bar plot</description> <requirements> <requirement type="package" version="2019.7">qiime2</requirement> </requirements> <command><![CDATA[ qiime taxa barplot #if str( $id_to_taxonomy_fp.selector ) == 'history' #set $tax = $id_to_taxonomy_fp.taxonomy_fp --i-taxonomy '$tax' #else: #set $tax = $id_to_taxonomy_fp.taxonomy_fp.fields.path --i-taxonomy '$tax' #end if --i-table=$itable #if $input_files_mmetadatafile: #def list_dict_to_string(list_dict): #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') #for d in list_dict[1:]: #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name') #end for #return $file_list #end def --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile) #end if --o-visualization=ovisualization ; qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path' && cp -r out/* '$ovisualization.files_path' && mv '$ovisualization.files_path/index.html' '$ovisualization'; ]]></command> <inputs> <conditional name="id_to_taxonomy_fp" optional="True"> <param name="selector" type="select" label="Reference taxonomy to query"> <option value="cached">Public databases</option> <option value="history">Databases from your history</option> </param> <when value="cached"> <param argument="--taxonomy_fp" label="Reference taxonomy" type="select" optional="True"> <options from_data_table="qiime_taxonomy" /> </param> </when> <when value="history"> <param argument="--taxonomy_fp" type="data" format="qza,no_unzip.zip" label="Reference databases" optional="True" /> </when> </conditional> <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] Feature table to visualize at various taxonomic levels. [required]" name="itable" optional="False" type="data"/> <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file [required]"> <param label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [optional]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" optional="False" /> </repeat> </inputs> <outputs> <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/> </outputs> <help><![CDATA[ Visualize taxonomy with an interactive bar plot ############################################### This visualizer produces an interactive barplot visualization of taxonomies. Interactive features include multi-level sorting, plot recoloring, sample relabeling, and SVG figure export. Parameters ---------- table : FeatureTable[Frequency] Feature table to visualize at various taxonomic levels. taxonomy : FeatureData[Taxonomy] Taxonomic annotations for features in the provided feature table. All features in the feature table must have a corresponding taxonomic annotation. Taxonomic annotations that are not present in the feature table will be ignored. metadata : Metadata The sample metadata. Returns ------- visualization : Visualization ]]></help> <macros> <import>qiime_citation.xml</import> </macros> <expand macro="qiime_citation"/> </tool>