annotate expression_add_biomaterial.xml @ 0:11ec43bed5ea draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
author gga
date Mon, 25 Feb 2019 06:26:58 -0500
parents
children 4843796fcbf6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
1 <?xml version="1.0"?>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
2 <tool id="expression_add_biomaterial" name="Create a biomaterial" version="@WRAPPER_VERSION@.0">
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
3 <description>in Tripal</description>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
4 <macros>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
5 <import>macros.xml</import>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
6 </macros>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
7 <expand macro="requirements"/>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
8 <code file="tripal.py"/>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
9 <command detect_errors="aggressive"><![CDATA[
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
10 tmp_dir=`mktemp -d -p "@DATA_DIR@"` && chmod a+rx "\${tmp_dir}"
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
11
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
12 &&
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
13
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
14 cp '${file_path}' "\${tmp_dir}/biomaterial_input"
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
15
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
16 &&
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
17
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
18 @AUTH@
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
19
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
20 tripaille expression add_biomaterial
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
21 '$organism_id'
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
22 "\${tmp_dir}/biomaterial_input"
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
23 '$file_path.extension'
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
24
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
25 &&
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
26
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
27 echo "Data loaded" > $results
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
28 ]]></command>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
29 <inputs>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
30 <!-- arguments -->
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
31 <param argument="organism_id" type="select" dynamic_options="list_organisms()" label="Organism" />
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
32 <param name="file_path" label="Biomaterial description sheet" argument="file_path" type="data" format="xml,tsv,csv" help="A file describing the biomaterial" />
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
33 </inputs>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
34 <outputs>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
35 <data format="txt" name="results"/>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
36 </outputs>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
37 <help>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
38 Add a new biomaterial to the database
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
39
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
40 @HELP@
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
41 </help>
11ec43bed5ea planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 869e5fd8535deca8325777efcd31c70a514b582a
gga
parents:
diff changeset
42 </tool>