annotate data_manager_gene_annotation/data_manager/gene_annotation_fetcher.xml @ 43:e42284a13168 draft

planemo upload
author scottx611x
date Fri, 08 Jul 2016 14:45:18 -0400
parents 87a921902f5e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
1 <?xml version="1.0"?>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
2 <tool id="gene_annotation_fetcher_data_manager" name="Gene Annotation Fetch" tool_type="manage_data" version="1.0.0">
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
3 <description>gene annotation fetcher</description>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
4 <stdio>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
5 <exit_code description="Error" level="fatal" range="1:" />
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
6 </stdio>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
7 <command interpreter="python">
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
8 <![CDATA[
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
9 data_manager.py --out "${out_file}"
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
10 #if $gene_annotation_url:
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
11 --url "${gene_annotation_url}"
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
12 #end if
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
13 #if $database_name:
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
14 --name "${database_name}"
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
15 #end if
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
16 ]]>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
17 </command>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
18 <inputs>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
19 <param
43
e42284a13168 planemo upload
scottx611x
parents: 40
diff changeset
20 help="Enter a descriptive name to be used in the tool drop-down menus" label="Identifier for this DataTable entry" name="database_name" type="text" optional="True" />
40
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
21 <param
43
e42284a13168 planemo upload
scottx611x
parents: 40
diff changeset
22 label="Enter URL pointing to a remote GTF/GFF file" name="gene_annotation_url" type="text" optional="False"/>
40
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
23 </inputs>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
24 <outputs>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
25 <data format="data_manager_json" name="out_file" />
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
26 </outputs>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
27 <tests>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
28 <test>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
29 <param name="database_name" value="cool_name"/>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
30 <param name="gene_annotation_url" value="http://www.scott-ouellette.com/gene_annotations/chr1-hg19_genes.gtf"/>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
31 <output name="out_file" file="gene_annotation_out.json" compare="contains"/>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
32 <!--<extra_files type="file" name="chr1-hg19_genes.gtf" value="chr1-hg19_genes.gtf"/>-->
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
33 </test>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
34 </tests>
87a921902f5e planemo upload
scottx611x
parents:
diff changeset
35 </tool>