|
0
|
1 <tool id="ctat_genome_ref_lib_data_manager"
|
|
|
2 name="CTAT Genome Reference Library Data Manager"
|
|
|
3 version="1.0.0" tool_type="manage_data">
|
|
|
4 <description>Retrieve, and/or specify the location of, a CTAT Genome Reference Library.
|
|
|
5 </description>
|
|
|
6 <requirements>
|
|
|
7 <requirement type="package" version="2.7">python</requirement>
|
|
|
8 <requirement type="package" version="0.3.0">gmap-fusion</requirement>
|
|
|
9 <!-- gmap-fusion is required in order to process downloaded libraries
|
|
|
10 to create all of the required files and indexes. It includes gmap
|
|
|
11 and FusionFilter, programs from both of which are needed.
|
|
|
12 -->
|
|
|
13 </requirements>
|
|
|
14 <command detect_errors="default">
|
|
|
15 <![CDATA[
|
|
|
16 python $__tool_directory__/add_ctat_ref_lib.py
|
|
|
17 --genome_name "${genome_name}"
|
|
|
18 --destination_path "${destination}"
|
|
|
19 --output_filename "${out_file}"
|
|
|
20 #if str(${download}) == "true":
|
|
|
21 --download "${filename}"
|
|
|
22 #end if
|
|
|
23 ]]>
|
|
|
24 </command>
|
|
|
25 <inputs>
|
|
|
26 <!--
|
|
|
27 <param name="download" type="boolean" checked="false"
|
|
|
28 truevalue="- -download" falsevalue="" label="Need to Download? (yes/no)" />
|
|
|
29 <param name="download" type="select" label="Need to Download?">
|
|
|
30 <option value="single" selected="true">Single Dataset</option>
|
|
|
31 <option value="paired_collection">Paired Collection</option>
|
|
|
32 <when value="paired_collection">
|
|
|
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"/>
|
|
|
34 </when>
|
|
|
35 -->
|
|
|
36 <conditional name="download_question">
|
|
|
37 <param name="download" type="boolean" checked="false" label="Need to Download? (yes/no)" />
|
|
|
38 </param>
|
|
|
39 <when value="true">
|
|
|
40 <param name="filename" type="select" label="Select File" display="radio"
|
|
|
41 dynamic_options="get_ctat_genome_filenames()" help="Select a CTAT Genome Reference Library to Download." />
|
|
|
42 </when>
|
|
|
43 </conditional>
|
|
|
44
|
|
|
45 <param name="genome_name" type="text" label="Reference Genome name" />
|
|
|
46 <param name="destination" type="text" label="Local Destination (full path)" />
|
|
|
47 </inputs>
|
|
|
48 <outputs>
|
|
|
49 <data name="out_file" format="data_manager_json" />
|
|
|
50 </outputs>
|
|
|
51 <help>
|
|
|
52 Retrieve, and/or specify the location of, a CTAT Genome Reference Library.
|
|
|
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.
|
|
|
54 Specify the Full Path of the location where the CTAT Reference Library should be placed.
|
|
|
55 You will need approximately 30GB of space for this library.
|
|
|
56 If you already have the library, specify the full path of the location where it exists and leave the download box unchecked.
|
|
|
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.
|
|
|
58 For more information on CTAT Genome Reference Libraries, see <a http="https://github.com/FusionFilter/FusionFilter/wiki">FusionFilter</a>
|
|
|
59 </help>
|
|
|
60 <code file="add_ctat_ref_lib.py"
|
|
|
61 </tool>
|