Mercurial > repos > iuc > virhunter
view virhunter.xml @ 3:302332b914ef draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/VirHunter commit 58587e05f604590c70550e13fc51b7425e916ed4
author | iuc |
---|---|
date | Sat, 14 Jan 2023 21:08:33 +0000 |
parents | ea2cccb9f73e |
children |
line wrap: on
line source
<tool id="virhunter" name="virhunter" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05"> <description> Deep learning method to identify viruses in sequencing datasets </description> <macros> <import>macros.xml</import> </macros> <xrefs> <xref type="bio.tools">virhunter</xref> </xrefs> <expand macro="requirements"/> <command detect_errors="exit_code"><![CDATA[ mkdir -p '${predicted_fragments.extra_files_path}' && python '$__tool_directory__/predict.py' --test_ds '${fasta_file}' --weights '${weights.fields.path}' --out_path '${predicted_fragments.extra_files_path}' --return_viral True --limit $limit && cp '${predicted_fragments.extra_files_path}'/predicted_fragments.tsv predicted_fragments.tsv && cp '${predicted_fragments.extra_files_path}'/predicted.tsv predicted.tsv && cp '${predicted_fragments.extra_files_path}'/viral.fasta viral.fasta ]]></command> <inputs> <param name="fasta_file" type="data" format="fasta" label="DNA FASTA file"/> <param name="weights" type="select" label="Select a reference model" help="If your model of interest is not listed, contact the Galaxy team"> <options from_data_table="virhunter_models"> <validator type="no_options" message="No models are available for the selected input dataset" /> </options> </param> <param argument="--limit" type="integer" min="0" value="750" label="Minimum contig length" help="Do not predict contigs shorter than this value. Default: 750" /> </inputs> <outputs> <data format="tabular" name="predicted_fragments" from_work_dir="predicted_fragments.tsv" label="${tool.name} on ${on_string}: predicted fragments"/> <data format="tabular" name="predicted" from_work_dir="predicted.tsv" label="${tool.name} on ${on_string}: predicted "/> <data format="fasta" name="viral" from_work_dir="viral.fasta" label="${tool.name} on ${on_string}: viral FASTA file" /> </outputs> <tests> <test> <param name="fasta_file" value="viruses.fasta"/> <param name="weights" value="test"/> <output name="predicted_fragments" file="predicted_fragments.tsv" ftype="tabular" lines_diff="2"/> <output name="predicted" file="predicted.tsv" ftype="tabular" lines_diff="2"/> <output name="viral" file="viral.fasta" ftype="fasta" lines_diff="2"/> </test> </tests> <help> <![CDATA[ VirHunter is a tool that uses deep learning to identify viruses in plant virome sequencing datasets. In particular, VirHunter classifies previously assembled contigs into virus, host and bacteria classes. ]]></help> <expand macro="citations" /> </tool>