annotate data_manager/add_ctat_lncrna_annotations.xml @ 0:a3aa3f9e1702 draft default tip

Uploaded
author trinity_ctat
date Mon, 16 Jul 2018 20:42:55 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
1 <tool id="ctat_lncrna_annotations_data_manager"
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
2 name="CTAT lncrna annotations Data Manager"
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
3 version="1.0.0" tool_type="manage_data">
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
4 <description>Retrieve, and/or specify the location of CTAT lncrna annotations.
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
5 </description>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
6 <requirements>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
7 <requirement type="package" version="2.7">python</requirement>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
8 </requirements>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
9 <command detect_errors="default">
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
10 <![CDATA[
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
11 python $__tool_directory__/add_ctat_lncrna_annotations.py
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
12 --display_name "${display_name}"
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
13 --destination_path "${destination}"
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
14 --output_filename "${out_file}"
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
15 #if str( $download_question.download ) == "true":
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
16 --download_location "\"${download_question.filename}\""
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
17 #if str( $download_question.force_download ) == "true":
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
18 --force_download
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
19 #end if
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
20 #end if
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
21 ]]>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
22 </command>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
23 <inputs>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
24 <conditional name="download_question">
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
25 <param name="download" type="boolean" checked="false" label="Need to Download?" />
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
26 <when value="true">
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
27 <param name="filename" type="select" label="Select File"
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
28 dynamic_options="get_ctat_lncrna_annotations_locations()"
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
29 help="Select a lncrna annotations to Download." />
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
30 <param name="force_download" type="boolean" checked="false" label="Force New Download?" />
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
31 </when>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
32 </conditional>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
33
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
34 <param name="display_name" type="text" label="lncrna annotations Display Name" />
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
35 <param name="destination" type="text" label="Local Destination (full path)" />
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
36 </inputs>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
37 <outputs>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
38 <data name="out_file" format="data_manager_json" />
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
39 </outputs>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
40 <help>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
41 .. class:: infomark
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
42
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
43 Retrieve, and/or specify the location of, a CTAT lncrna annotations.
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
44 When download is true, the annotations from this website_ will be downloaded.
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
45
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
46 Currently mm9,mm10,hg19,hg38 are supported.
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
47
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
48 .. class:: infomark
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
49
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
50 Specify the Full Path of the destination where the CTAT lncrna annotations should be placed.
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
51 If you already have the annotations, specify the full path of the location where it exists and leave the download box unchecked.
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
52
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
53 .. class:: infomark
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
54
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
55 The display_name may be left empty if downloading.
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
56 The display_name will be used as the selector text of the entry in the data table.
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
57
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
58 .. _website: https://data.broadinstitute.org/Trinity/CTAT/lncrna/annotations.tar.gz
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
59 </help>
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
60 <code file="add_ctat_lncrna_annotations.py" />
a3aa3f9e1702 Uploaded
trinity_ctat
parents:
diff changeset
61 </tool>