annotate build_ceasdb.xml @ 0:4e52505adaa6

Imported from capsule None
author jjohnson
date Wed, 17 Sep 2014 15:03:26 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
1 <tool name="CEAS: build database" id="ceas_build_db" version="0.1.0">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
2 <description>with gene annotation and genome background</description>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
3 <macros>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
4 <import>ceas_macros.xml</import>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
5 </macros>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
6 <expand macro="requirements" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
7 <command interpreter="command">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
8 build_genomeBG
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
9 #if $ref.refsrc == 'ucsc':
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
10 -d $ref.dbkey -g $ref.gene_table
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
11 #elif $ref.refsrc == 'history':
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
12 -g $ref.gdb
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
13 #elif $ref.refsrc == 'cached':
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
14 -g $ref.ceas_db
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
15 #end if
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
16 -w $wfile -o $output
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
17 </command>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
18 <inputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
19 <conditional name="ref">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
20 <param name="refsrc" type="select" label="">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
21 <option value="ucsc">From UCSC</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
22 <option value="history">From history</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
23 <option value="cached">Locally cached CEAS db</option>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
24 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
25 <when value="ucsc">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
26 <param name="dbkey" type="text" value="" label="A UCSC genome id, e.g. mm9">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
27 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
28 <param name="gene_table" type="text" value="" label="A UCSC gene table name, e.g. refGene">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
29 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
30 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
31 <when value="cached">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
32 <param name="ceas_db" type="select" label="">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
33 <options from_data_table="ceasdb">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
34 <filter type="unique_value" column="0" />
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
35 </options>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
36 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
37 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
38 <when value="history">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
39 <param name="gdb" type="data" format="ceasdb" label="Gene annotation table file (sqlite3)">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
40 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
41 </when>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
42 </conditional>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
43 <param name="wfile" type="data" format="wig,bigwig" label="wig / bigwig file">
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
44 <!-- <validator type="unspecified_build" /> -->
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
45 </param>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
46 </inputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
47 <outputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
48 <data format="ceasdb" name="output" label=""/>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
49 </outputs>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
50 <tests>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
51 </tests>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
52 <help>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
53 ** CEAS **
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
54 This tool annotates the given intervals and scores with genome
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
55 features such as gene body. It's the major module in CEAS package
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
56 which is written by Hyunjin Gene Shin, published in Bioinformatics
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
57 (pubmed id:19689956).
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
58
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
59 @EXTERNAL_DOCUMENTATION@
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
60
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
61 @CITATION_SECTION@
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
62
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
63 </help>
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
64
4e52505adaa6 Imported from capsule None
jjohnson
parents:
diff changeset
65 </tool>