1
|
1 <tool id="splice_trap" name="SpliceTrap" version="1.0.0">
|
|
2 <description>A statistic tool for quantifying exon inclusion ratios in paired-end RNA-seq data, with broad applications for the study of alternative splicing.
|
|
3 </description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="1.2.1.1">bowtie</requirement>
|
|
6 </requirements>
|
4
|
7 <command detect_errors="exit_code" interpreter="perl">
|
|
8 $__tool_directory__/SpliceTrap.pl -p 8 -l $__tool_directory__ -d hg38v3 -1
|
|
9 #if $input_type_conditional.spliceTrap_input_type == "paired"
|
|
10 $input_type_conditional.input_1 -2 $input_type_conditional.input_2
|
|
11 #else
|
|
12 $input_type_conditional.input.forward -2 $input_type_conditional.input.reverse
|
|
13 #end if
|
|
14 -s $read_size $output1 $output2
|
|
15 </command>
|
1
|
16 <inputs>
|
5
|
17 <conditional name="input_type_conditional">
|
|
18 <param name="spliceTrap_input_type" type="select" label="Input Type" help="Select between paired and paired collection">
|
|
19 <option value="paired" selected="true">Paired</option>
|
|
20 <option value="paired_collection">Paired Collection</option>
|
|
21 </param>
|
|
22 <when value="paired">
|
|
23 <param format='fastq' name='input_1' type='data' label="FASTQ file, reverse reads" />
|
|
24 <param format='fastq' name='input_2' type='data' label="FASTQ file, forward reads" />
|
|
25 </when>
|
|
26 <when value="paired_collection">
|
|
27 <param format="fastq" name='input' type="data_collection" collection_type="paired" label="Select a paired collection" help="Specify paired dataset collection containing paired reads"/>
|
|
28 </when>
|
|
29 </conditional>
|
|
30
|
|
31 <param name='read_size' type='integer' value='50' label="Read size" />
|
1
|
32 </inputs>
|
|
33 <outputs>
|
4
|
34 <data format="txt" name="output1" />
|
|
35 <data format="txt" name="output2" />
|
1
|
36 </outputs>
|
|
37 <tests>
|
|
38 <test>
|
|
39 <param name="input1" value="input1.fastq"/>
|
|
40 <param name="input2" value="input2.fastq"/>
|
|
41 <output name="output1" file="output1.txt"/>
|
|
42 <output name="output2" file="output2.txt"/>
|
|
43 </test>
|
5
|
44 <test>
|
|
45 <param name="fastq_input">
|
|
46 <collection type="paired">
|
|
47 <element name="forward" value="input1.fastq" />
|
|
48 <element name="reverse" value="input2.fastq" />
|
|
49 </collection>
|
|
50 </param>
|
|
51 <param name="input_type" value="paired_collection" />
|
|
52 <output name="output1" file="output1.txt"/>
|
|
53 <output name="output2" file="output2.txt"/>
|
|
54 </test>
|
1
|
55 </tests>
|
4
|
56 <help>
|
1
|
57 **SpliceTrap**
|
|
58 </help>
|
|
59 <citations>
|
|
60 <citation type="bibtex">
|
|
61 http://rulai.cshl.edu/splicetrap
|
|
62 </citation>
|
|
63 </citations>
|
|
64 </tool>
|
4
|
65
|