Mercurial > repos > pjbriggs > ceas
annotate data_manager/data_manager_ceas_fetch_annotations.xml @ 4:cd6a48ffd093 draft default tip
Uploaded version 1.0.2-4.
author | pjbriggs |
---|---|
date | Wed, 26 Sep 2018 08:03:10 -0400 |
parents | df54f8fcc7a7 |
children |
rev | line source |
---|---|
0 | 1 <tool id="data_manager_fetch_ceas_annotations" name="Fetch CEAS annotation" version="0.0.1" tool_type="manage_data"> |
2 <requirements> | |
3
df54f8fcc7a7
Version 1.0.2-3: move to conda-based dependency resolution.
pjbriggs
parents:
0
diff
changeset
|
3 <requirement type="package" version="1.0.2b1">cistrome-ceas</requirement> |
0 | 4 </requirements> |
5 <description>Fetch and install annotation databases for CEAS</description> | |
6 <command interpreter="python">data_manager_ceas_fetch_annotations.py | |
7 "${out_file}" | |
8 "${description}"</command> | |
9 <inputs> | |
10 <param name="dbkey" type="genomebuild" label="DBKEY to assign to data" /> | |
11 <param type="text" name="unique_id" label="Internal identifier" | |
12 help="Identifier string to associate with the annotation e.g. 'mm9_generic'" /> | |
13 <param type="text" name="description" value="" size="50" | |
14 label="Description of annotation" | |
15 help="Text that will be displayed to the user when selecting which annotation to use" /> | |
16 <conditional name="reference_source"> | |
17 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome"> | |
18 <option value="web" selected="True">CEAS website</option> | |
19 <option value="server">File on the server</option> | |
20 <option value="from_wig">Generated from wig file</option> | |
21 </param> | |
22 <when value="web"> | |
23 <param type="select" name="annotation_url"> | |
24 <option value="http://liulab.dfci.harvard.edu/CEAS/src/hg18.refGene.gz">hg18</option> | |
25 <option value="http://liulab.dfci.harvard.edu/CEAS/src/hg19.refGene.gz">hg19</option> | |
26 <option value="http://liulab.dfci.harvard.edu/CEAS/src/mm8.refGene.gz">mm8</option> | |
27 <option value="http://liulab.dfci.harvard.edu/CEAS/src/mm9.refGene.gz">mm9</option> | |
28 <option value="http://liulab.dfci.harvard.edu/CEAS/src/dm2.refGene.gz">dm2</option> | |
29 <option value="http://liulab.dfci.harvard.edu/CEAS/src/dm3.refGene.gz">dm3</option> | |
30 <option value="http://liulab.dfci.harvard.edu/CEAS/src/ce4.refGene.gz">ce4</option> | |
31 <option value="http://liulab.dfci.harvard.edu/CEAS/src/ce6.refGene.gz">ce6</option> | |
32 </param> | |
33 </when> | |
34 <when value="server"> | |
35 <param type="text" name="annotation_filename" value="" size="50" | |
36 label="Full path to CEAS annotation table file on disk" optional="False" /> | |
37 <param type="boolean" name="create_symlink" truevalue="create_symlink" falsevalue="copy_file" label="Create symlink to orignal data instead of copying" checked="False" /> | |
38 </when> | |
39 <when value="from_wig"> | |
40 <param type="data" format="wig" name="wig_file" value="" | |
41 label="Wig file to use for the background genome annotation" | |
42 help="Will be used as input to build_genomeBG" /> | |
43 <param type="select" name="gene_annotation" | |
44 label="Gene annotation from UCSC"> | |
45 <option value="refGene">refGene</option> | |
46 </param> | |
47 </when> | |
48 </conditional> | |
49 </inputs> | |
50 <outputs> | |
51 <data name="out_file" format="data_manager_json"/> | |
52 </outputs> | |
53 <tests> | |
54 <test> | |
55 <!-- No tests defined, yet --> | |
56 </test> | |
57 </tests> | |
58 <help> | |
59 | |
60 .. class:: infomark | |
61 | |
62 **What it does** | |
63 | |
64 Adds a CEAS gene annotation table file to the *ceas_annotations"* data table. The | |
65 database file can be downloaded from the CEAS website, imported from a file on the | |
66 Galaxy server, or generated from a ``wig`` file in a Galaxy history. | |
67 | |
68 **Notice:** If you leave the identifier or description blank then they will be | |
69 generated automatically. | |
70 | |
71 ------ | |
72 | |
73 .. class:: infomark | |
74 | |
75 **Fetching, uploading or creating gene annotation table files** | |
76 | |
77 The gene annotation table files are SQLite database files which are on the CEAS website: | |
78 | |
79 - http://liulab.dfci.harvard.edu/CEAS/usermanual.html | |
80 | |
81 The data manager allows you to fetch a pre-built table from the CEAS website; note | |
82 that these are based on the ``RefSeq`` annotation and are only available for a subset | |
83 of genome builds. | |
84 | |
85 To create an annotation table for a different genome build or a different annotation, | |
86 use the *Generated from wig* file option. This runs the CEAS utility ``build_genomeBG`` | |
87 to make a custom table from a wig file, which represents the genome background (e.g. | |
88 a wig file created from the ``control lambda`` bedgraph file output from MACS2). | |
89 | |
90 Alternatively if you already have an existing custom annotation file then this can be | |
91 imported from a path on the Galaxy server. | |
92 </help> | |
93 </tool> |