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