annotate data_manager_gene_annotation/data_manager/gene_annotation_fetcher.xml @ 34:30039ecf0da0 draft

planemo upload
author scottx611x
date Thu, 23 Jun 2016 17:09:05 -0400
parents b47ce1c4373e
children d27c122c2424
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
1 <?xml version="1.0"?>
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
2 <tool id="gene_annotation_fetcher_data_manager" name="Gene Annotation Fetch" tool_type="manage_data" version="1.0.0">
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
3 <description>gene annotation fetcher</description>
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
4 <stdio>
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
5 <exit_code description="Error" level="fatal" range="1:" />
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
6 </stdio>
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
7 <command interpreter="python">
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
8 <![CDATA[
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
9 data_manager.py --out "${out_file}"
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
10 #if $gene_annotation_url:
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
11 --url "${gene_annotation_url}"
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
12 #end if
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
13 #if $database_name:
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
14 --name "${database_name}"
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
15 #end if
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
16 ]]>
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
17 </command>
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
18 <inputs>
22
b47ce1c4373e planemo upload
scottx611x
parents: 11
diff changeset
19 <param help="Enter a unique identifier, or leave blank for an auto-generated uuid" label="Name for this database" name="database_name" type="text" optional="True" />
11
9f718726ed86 Uploaded
scottx611x
parents: 0
diff changeset
20 <param label="Enter URL for gene annotation files" name="gene_annotation_url" type="text" optional="False"/>
0
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
21 </inputs>
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
22 <outputs>
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
23 <data format="data_manager_json" name="out_file" />
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
24 </outputs>
22
b47ce1c4373e planemo upload
scottx611x
parents: 11
diff changeset
25 <tests>
b47ce1c4373e planemo upload
scottx611x
parents: 11
diff changeset
26 <test>
b47ce1c4373e planemo upload
scottx611x
parents: 11
diff changeset
27 <param name="database_name" value="cool_name"/>
b47ce1c4373e planemo upload
scottx611x
parents: 11
diff changeset
28 <param name="gene_annotation_url" value="http://www.scott-ouellette.com/gene_annotations/chr1-hg19_genes.gtf"/>
b47ce1c4373e planemo upload
scottx611x
parents: 11
diff changeset
29 <output name="out_file" file="chr1-hg19_genes.gtf.data_manager_json"/>
b47ce1c4373e planemo upload
scottx611x
parents: 11
diff changeset
30 </test>
b47ce1c4373e planemo upload
scottx611x
parents: 11
diff changeset
31 </tests>
0
0442068f5c91 Uploaded
scottx611x
parents:
diff changeset
32 </tool>