Mercurial > repos > gga > tripal_expression_add_biomaterial
view expression_add_biomaterial.xml @ 2:5e02721168e9 draft default tip
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit ea279e5b47cf3d5767328d17b0e40e57b0238ea1"
author | gga |
---|---|
date | Wed, 14 Aug 2019 10:02:37 -0400 |
parents | 4843796fcbf6 |
children |
line wrap: on
line source
<?xml version="1.0"?> <tool id="expression_add_biomaterial" name="Create a biomaterial" version="@WRAPPER_VERSION@.1"> <description>in Tripal</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements"/> <code file="tripal.py"/> <command detect_errors="aggressive"><![CDATA[ tmp_dir=`mktemp -d -p "@DATA_DIR@"` && chmod a+rx "\${tmp_dir}" && cp '${file_path}' "\${tmp_dir}/biomaterial_input" && @AUTH@ tripaille expression add_biomaterial '$organism_id' "\${tmp_dir}/biomaterial_input" '$file_path.extension' && echo "Data loaded" > '$results' ]]></command> <inputs> <!-- arguments --> <param argument="organism_id" type="select" dynamic_options="list_organisms()" label="Organism" /> <param name="file_path" label="Biomaterial description sheet" argument="file_path" type="data" format="xml,tsv,csv" help="A file describing the biomaterial" /> <expand macro="wait_for"/> </inputs> <outputs> <data format="txt" name="results"/> </outputs> <help> Add a new biomaterial to the database @HELP@ </help> </tool>