0
|
1 <tool id='align_and_estimate_abundance' name='Align and Estimate Abundance' version='r20140717'>
|
|
2
|
|
3 <description> using utility align_and_estimate_abundance.pl</description>
|
|
4
|
|
5 <requirements>
|
|
6 <requirement type="package" version="r20140717">trinityrnaseq</requirement>
|
|
7 <requirement type="package" version="0.12.7">bowtie</requirement>
|
3
|
8 <requirement type="package" version="2.2.5">bowtie2</requirement>
|
2
|
9 <requirement type="package" version="1.2">samtools</requirement>
|
0
|
10 <requirement type="package" version="1.5.1">eXpress</requirement>
|
|
11 </requirements>
|
|
12
|
|
13 <command> \$TRINITY_HOME/util/align_and_estimate_abundance.pl
|
|
14 --transcripts $transcripts
|
|
15 --est_method $est_method
|
|
16 --aln_method $aln_method
|
|
17 --prep_reference
|
|
18
|
|
19 ## Inputs.
|
|
20 #if str($reads.paired_or_single) == "paired":
|
|
21
|
|
22 --left $reads.left_input --right $reads.right_input
|
|
23
|
|
24 #if $reads.left_input.ext == 'fa':
|
|
25 --seqType fa
|
|
26 #else:
|
|
27 --seqType fq
|
|
28 #end if
|
|
29
|
|
30 ## Additional parameters.
|
|
31 #if str($reads.optional.use_options) == "yes":
|
|
32
|
|
33 #if str($reads.optional.library_type) != "None":
|
|
34 --SS_lib_type $reads.optional.library_type
|
|
35 #end if
|
|
36
|
|
37
|
|
38
|
|
39 #end if
|
|
40
|
|
41 #else:
|
|
42 --single $reads.input
|
|
43
|
|
44 #if str($reads.input.ext) == 'fa':
|
|
45 --seqType fa
|
|
46 #else:
|
|
47 --seqType fq
|
|
48 #end if
|
|
49
|
|
50 ## Additional parameters.
|
|
51 #if str($reads.optional.use_option) == "yes":
|
|
52
|
|
53 #if str($reads.additional_params.library_type) != "None":
|
|
54 --SS_lib_type $reads.optional.library_type
|
|
55 #end if
|
|
56
|
|
57 #end if
|
|
58 #end if
|
|
59
|
|
60 ## direct to output
|
|
61 > $align_and_estimate_abundance_log 2>&1
|
|
62
|
|
63 </command>
|
|
64
|
1
|
65 <inputs>
|
|
66
|
|
67 <!-- Required -->
|
|
68 <param name="transcripts" type="data" format="fasta" label="Transcripts [ in fasta format ]" help="--transcripts < string > ; transcript fasta file"/>
|
|
69
|
|
70 <param name="est_method" type="select" display="radio" label="Choose abundance estimation method" help="">
|
|
71 <option value="RSEM" selected="True">RSEM</option>
|
|
72 <option value="eXpress">eXpress</option>
|
|
73 </param>
|
|
74
|
|
75 <param name="aln_method" type="select" display="radio" label="Choose alignment method" help="">
|
|
76 <option value="bowtie" selected="True">bowtie</option>
|
|
77 <option value="bowtie2">bowtie2</option>
|
|
78 </param>
|
|
79
|
|
80 <conditional name="reads">
|
|
81 <param name="paired_or_single" type="select" label="Paired or Single-end reads?">
|
|
82 <option value="paired">Paired</option>
|
|
83 <option value="single">Single</option>
|
|
84 </param>
|
|
85
|
|
86
|
|
87 <when value="paired">
|
|
88 <param format="fasta,fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/>
|
|
89 <param format="fasta,fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/>
|
|
90
|
|
91 <param name="seqtype" type="select" label="--seqType" help="">
|
|
92 <option value='fq' selected='true'>fastq</option>
|
|
93 <option value='fa'>fasta</option>
|
|
94 </param>
|
|
95
|
|
96 <conditional name='optional'>
|
|
97 <param name='use_options' type='select' label='Use Optional parameters?'>
|
|
98 <option value='no'>NO</option>
|
|
99 <option value='yes'>YES</option>
|
|
100 </param>
|
|
101 <when value='no'/>
|
|
102 <when value='yes'>
|
|
103 <param name="library_type" type="select" label="Strand-specific Library Type">
|
|
104 <option value="None">None</option>
|
|
105 <option value="FR">FR</option>
|
|
106 <option value="RF">RF</option>
|
|
107 </param>
|
|
108
|
|
109
|
|
110
|
|
111 </when>
|
|
112 </conditional>
|
|
113 </when>
|
|
114 <when value="single">
|
|
115 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/>
|
|
116 <param name="seqtype" type="select" label="--seqType" help="">
|
|
117 <option value='fq' selected='true'>fastq</option>
|
|
118 <option value='fa'>fasta</option>
|
|
119 </param>
|
|
120
|
|
121 <conditional name='optional'>
|
|
122 <param name='use_options' type='select' label='Use Optional parameters?'>
|
|
123 <option value='no'>NO</option>
|
|
124 <option value='yes'>YES</option>
|
|
125 </param>
|
|
126 <when value='no'/>
|
|
127 <when value='yes'>
|
|
128 <param name="library_type" type="select" label="Strand-specific Library Type">
|
|
129 <option value="None">None</option>
|
|
130 <option value="F">F</option>
|
|
131 <option value="R">R</option>
|
|
132 </param>
|
|
133 </when>
|
|
134 </conditional>
|
|
135 </when>
|
|
136 </conditional>
|
|
137
|
|
138 </inputs>
|
|
139
|
|
140 <outputs>
|
|
141 <data format="txt" name="align_and_estimate_abundance_log" label="${tool.name} on ${on_string}: log" />
|
|
142 <data format="bam" name="bowtie_bam" label="${tool.name} on ${on_string}: bam" from_work_dir="bowtie.bam" />
|
|
143 <data format="tabular" name="rsem_isoforms" label="${tool.name} on ${on_string}: isoforms" from_work_dir="RSEM.isoforms.results"/>
|
|
144 <data format="tabular" name="rsem_genes" label="${tool.name} on ${on_string}: genes" from_work_dir="RSEM.genes.results"/>
|
|
145 </outputs>
|
|
146 </tool>
|
|
147
|