annotate data_manager/data_manager_fetch_gff.xml @ 3:cb0fa3584aeb draft

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