annotate data_manager/data_manager_fetch_tx2gene.xml @ 1:b193b5b8633e draft

Uploaded
author ieguinoa
date Wed, 10 Oct 2018 11:13:41 -0400
parents a4d4da89aae1
children 7d3ffe28ff3f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
1 <tool id="data_manager_fetch_gff" name="Create entries in tx2gene data table" version="0.0.1" tool_type="manage_data">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
2 <description>fetching</description>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
3 <command><![CDATA[
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
4 python "$__tool_directory__"/data_manager_fetch_tx2gene.py "${out_file}"
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
5 --type $file_type
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
6 --dbkey_description ${ dbkey.get_display_text() }
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
7 --base_dir $__tool_directory__
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
8
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
9 ]]></command>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
10 <inputs>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
11
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
12 <param name="dbkey" type="genomebuild" label="DBKEY to assign to data" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
13 <param type="text" name="sequence_name" value="" label="Name of sequence" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
14 <param type="text" name="sequence_id" value="" label="ID for sequence" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
15
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
16 <param name="file_type" type="select" label="Select input type: GFF/GTF file(features will be extracted to create tx2gene table) or transcript to gene table file(tab separated)">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
17 <option value="gff_gtf">GFF/GTF file</option>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
18 <option value="tx2gene">tx2gene</option>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
19 </param>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
20 <conditional name="reference_source">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
21 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
22 <option value="url">URL</option>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
23 <option value="history">History</option>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
24 <option value="directory">Directory on Server</option>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
25 </param>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
26 <when value="url">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
27 <param type="text" area="True" name="user_url" value="http://" label="URLs" optional="False" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
28 </when>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
29 <when value="history">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
30 <param name="input_fasta" type="data" label="File from History" multiple="False" optional="False" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
31 </when>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
32 <when value="directory">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
33 <param type="text" name="filename" value="" label="Full path to File on disk" optional="False" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
34 <param type="boolean" name="create_symlink" truevalue="create_symlink" falsevalue="copy_file" label="Create symlink to original data instead of copying" checked="False" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
35 </when>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
36 </conditional>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
37 </inputs>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
38 <outputs>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
39 <data name="out_file" format="data_manager_json"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
40 </outputs>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
41 <tests>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
42 <!-- TODO: need some way to test that new entry was added to data table -->
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
43 <test>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
44 <param name="dbkey" value="anoGam1"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
45 <param name="sequence_name" value=""/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
46 <param name="sequence_desc" value=""/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
47 <param name="sequence_id" value=""/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
48 <param name="reference_source_selector" value="history"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
49 <param name="input_fasta" value="phiX174.fasta"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
50 <param name="sort_selector" value="as_is"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
51 <output name="out_file" file="phiX174.data_manager_json"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
52 </test>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
53 </tests>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
54 <help>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
55 **What it does**
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
56
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
57 Fetches a gff file from various sources (URL, Galaxy History, or a server directory) and populates the "all_gff" data table.
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
58
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
59 ------
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
60
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
61
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
62
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
63 .. class:: infomark
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
64
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
65 **Notice:** If you leave name, description, or id blank, it will be generated automatically.
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
66
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
67 </help>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
68 </tool>