annotate data_manager/add_ctat_ref_lib.xml @ 0:fcf82328f066 draft default tip

new version. Not tested yet.
author trinity_ctat
date Mon, 22 Jan 2018 16:06:42 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
1 <tool id="ctat_genome_ref_lib_data_manager"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
2 name="CTAT Genome Reference Library Data Manager"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
3 version="1.0.0" tool_type="manage_data">
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
4 <description>Retrieve, and/or specify the location of, a CTAT Genome Reference Library.
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
5 </description>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
6 <requirements>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
7 <requirement type="package" version="2.7">python</requirement>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
8 <requirement type="package" version="0.3.0">gmap-fusion</requirement>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
9 <!-- gmap-fusion is required in order to process downloaded libraries
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
10 to create all of the required files and indexes. It includes gmap
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
11 and FusionFilter, programs from both of which are needed.
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
12 -->
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
13 </requirements>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
14 <command detect_errors="default">
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
15 <![CDATA[
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
16 python $__tool_directory__/add_ctat_ref_lib.py
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
17 --genome_name "${genome_name}"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
18 --destination_path "${destination}"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
19 --output_filename "${out_file}"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
20 #if str(${download}) == "true":
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
21 --download "${filename}"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
22 #end if
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
23 ]]>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
24 </command>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
25 <inputs>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
26 <!--
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
27 <param name="download" type="boolean" checked="false"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
28 truevalue="- -download" falsevalue="" label="Need to Download? (yes/no)" />
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
29 <param name="download" type="select" label="Need to Download?">
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
30 <option value="single" selected="true">Single Dataset</option>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
31 <option value="paired_collection">Paired Collection</option>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
32 <when value="paired_collection">
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
33 <param name="fastq_input" format="fastqsanger" type="data_collection" collection_type="paired" label="Select dataset pair" help="Specify paired dataset collection containing paired reads"/>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
34 </when>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
35 -->
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
36 <conditional name="download_question">
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
37 <param name="download" type="boolean" checked="false" label="Need to Download? (yes/no)" />
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
38 </param>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
39 <when value="true">
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
40 <param name="filename" type="select" label="Select File" display="radio"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
41 dynamic_options="get_ctat_genome_filenames()" help="Select a CTAT Genome Reference Library to Download." />
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
42 </when>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
43 </conditional>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
44
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
45 <param name="genome_name" type="text" label="Reference Genome name" />
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
46 <param name="destination" type="text" label="Local Destination (full path)" />
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
47 </inputs>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
48 <outputs>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
49 <data name="out_file" format="data_manager_json" />
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
50 </outputs>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
51 <help>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
52 Retrieve, and/or specify the location of, a CTAT Genome Reference Library.
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
53 When download is true, the file retrieved and processed is https://data.broadinstitute.org/Trinity/CTAT_RESOURCE_LIB/GRCh38_gencode_v26_CTAT_lib_Nov012017.plug-n-play.tar.gz.
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
54 Specify the Full Path of the location where the CTAT Reference Library should be placed.
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
55 You will need approximately 30GB of space for this library.
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
56 If you already have the library, specify the full path of the location where it exists and leave the download box unchecked.
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
57 The Reference Genome name may be left empty if downloading. The name will be used as the selector text of the entry in the data table.
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
58 For more information on CTAT Genome Reference Libraries, see <a http="https://github.com/FusionFilter/FusionFilter/wiki">FusionFilter</a>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
59 </help>
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
60 <code file="add_ctat_ref_lib.py"
fcf82328f066 new version. Not tested yet.
trinity_ctat
parents:
diff changeset
61 </tool>