Mercurial > repos > gga > chado_expression_add_biomaterial
comparison expression_add_biomaterial.xml @ 0:676c49ac9cb5 draft
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
author | gga |
---|---|
date | Mon, 05 Nov 2018 08:10:25 -0500 |
parents | |
children | ecf81582c5cc |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:676c49ac9cb5 |
---|---|
1 <?xml version="1.0"?> | |
2 <tool id="expression_add_biomaterial" name="Chado biomaterial add" version="@WRAPPER_VERSION@.0"> | |
3 <description></description> | |
4 <macros> | |
5 <import>macros.xml</import> | |
6 </macros> | |
7 <expand macro="requirements"/> | |
8 <code file="chado.py"/> | |
9 <command detect_errors="aggressive"><![CDATA[ | |
10 @AUTH@ | |
11 | |
12 chakin expression add_biomaterial | |
13 | |
14 #if $description: | |
15 --description '$description' | |
16 #end if | |
17 #if $biomaterial_provider: | |
18 --biomaterial_provider '$biomaterial_provider' | |
19 #end if | |
20 #if $biosample_accession: | |
21 --biosample_accession '$biosample_accession' | |
22 #end if | |
23 #if $sra_accession: | |
24 --sra_accession '$sra_accession' | |
25 #end if | |
26 #if $bioproject_accession: | |
27 --bioproject_accession '$bioproject_accession' | |
28 #end if | |
29 #if $attributes: | |
30 --attributes '$attributes' | |
31 #end if | |
32 | |
33 '$biomaterial_name' | |
34 '$organism_id' | |
35 | |
36 | jq -S . > $results | |
37 ]]></command> | |
38 <inputs> | |
39 <!-- arguments --> | |
40 <param name="biomaterial_name" label="Biomaterial Name" argument="biomaterial_name" type="text" help="Biomaterial name" /> | |
41 <param argument="organism_id" type="select" dynamic_options="list_organisms()" label="Organism" /> | |
42 | |
43 <!-- options --> | |
44 <param name="description" label="Description" argument="description" type="text" help="Description of the biomaterial" optional="true" /> | |
45 <param name="biomaterial_provider" label="Biomaterial Provider" argument="biomaterial_provider" type="text" help="Biomaterial provider name" optional="true" /> | |
46 <param name="biosample_accession" label="Biosample Accession" argument="biosample_accession" type="text" help="Biosample accession number" optional="true" /> | |
47 <param name="sra_accession" label="Sra Accession" argument="sra_accession" type="text" help="SRA accession number" optional="true" /> | |
48 <param name="bioproject_accession" label="Bioproject Accession" argument="bioproject_accession" type="text" help="Bioproject accession number" optional="true" /> | |
49 <param name="attributes" label="Attributes" argument="attributes" type="data" format="json" help="Custom attributes (In JSON dict form)" optional="true" /> | |
50 | |
51 <expand macro="wait_for"/> | |
52 | |
53 </inputs> | |
54 <outputs> | |
55 <data format="json" name="results"/> | |
56 </outputs> | |
57 <help> | |
58 Add a new biomaterial to the database | |
59 | |
60 @HELP@ | |
61 </help> | |
62 </tool> |