annotate data_manager/data_manager_fetch_tx2gene.xml @ 4:bacd91d8b05a draft

Uploaded
author ieguinoa
date Sun, 21 Oct 2018 17:48:48 -0400
parents d71f65b854de
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
7d3ffe28ff3f Uploaded
ieguinoa
parents: 0
diff changeset
1 <tool id="data_manager_fetch_tx2gene" name="Create entries in tx2gene data table" version="0.0.1" tool_type="manage_data">
0
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
2 <description>fetching</description>
3
d71f65b854de Uploaded
ieguinoa
parents: 2
diff changeset
3 <requirements>
4
bacd91d8b05a Uploaded
ieguinoa
parents: 3
diff changeset
4 <requirement type="package" version="1.32.3">bioconductor-genomicfeatures</requirement>
3
d71f65b854de Uploaded
ieguinoa
parents: 2
diff changeset
5 <requirement type="package">r-getopt</requirement>
d71f65b854de Uploaded
ieguinoa
parents: 2
diff changeset
6 </requirements>
d71f65b854de Uploaded
ieguinoa
parents: 2
diff changeset
7
0
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
8 <command><![CDATA[
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
9 python "$__tool_directory__"/data_manager_fetch_tx2gene.py "${out_file}"
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
10 --type $file_type
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
11 --dbkey_description ${ dbkey.get_display_text() }
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
12 --base_dir $__tool_directory__
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
13
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
14 ]]></command>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
15 <inputs>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
16
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
17 <param name="dbkey" type="genomebuild" label="DBKEY to assign to data" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
18 <param type="text" name="sequence_name" value="" label="Name of sequence" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
19 <param type="text" name="sequence_id" value="" label="ID for sequence" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
20
4
bacd91d8b05a Uploaded
ieguinoa
parents: 3
diff changeset
21 <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)" help="When using GFF3/GTF files as input, transcript feaatures must contain a transcript_id attribute.">
3
d71f65b854de Uploaded
ieguinoa
parents: 2
diff changeset
22 <option value="gtf">GTF file</option>
d71f65b854de Uploaded
ieguinoa
parents: 2
diff changeset
23 <option value="gff3">GFF3 file</option>
0
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
24 <option value="tx2gene">tx2gene</option>
3
d71f65b854de Uploaded
ieguinoa
parents: 2
diff changeset
25 </param>
0
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
26 <conditional name="reference_source">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
27 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
28 <option value="url">URL</option>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
29 <option value="history">History</option>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
30 <option value="directory">Directory on Server</option>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
31 </param>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
32 <when value="url">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
33 <param type="text" area="True" name="user_url" value="http://" label="URLs" optional="False" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
34 </when>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
35 <when value="history">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
36 <param name="input_fasta" type="data" label="File from History" multiple="False" optional="False" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
37 </when>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
38 <when value="directory">
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
39 <param type="text" name="filename" value="" label="Full path to File on disk" optional="False" />
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
40 <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
41 </when>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
42 </conditional>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
43 </inputs>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
44 <outputs>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
45 <data name="out_file" format="data_manager_json"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
46 </outputs>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
47 <tests>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
48 <!-- TODO: need some way to test that new entry was added to data table -->
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
49 <test>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
50 <param name="dbkey" value="anoGam1"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
51 <param name="sequence_name" value=""/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
52 <param name="sequence_desc" value=""/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
53 <param name="sequence_id" value=""/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
54 <param name="reference_source_selector" value="history"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
55 <param name="input_fasta" value="phiX174.fasta"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
56 <param name="sort_selector" value="as_is"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
57 <output name="out_file" file="phiX174.data_manager_json"/>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
58 </test>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
59 </tests>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
60 <help>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
61 **What it does**
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
62
4
bacd91d8b05a Uploaded
ieguinoa
parents: 3
diff changeset
63 Populate the tx2gene data table with transcript-genes mapping tables.
0
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
64
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
65 ------
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
66
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
67
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
68
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
69 .. class:: infomark
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
70
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
71 **Notice:** If you leave name, description, or id blank, it will be generated automatically.
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
72
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
73 </help>
a4d4da89aae1 Uploaded
ieguinoa
parents:
diff changeset
74 </tool>