annotate insilico_read_normalization.xml @ 1:f0bd0c42eb2e draft default tip

Uploaded
author anmoljh
date Thu, 27 Aug 2015 09:16:45 -0400
parents 60d9e2097e02
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
1 <?xml version="1.0"?>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
2 <tool id="insilico_read_nomalization" name="Insilico Read Normalization" version="r20140717">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
3
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
4 <!-- Written by Anmol J. Hemrom -->
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
5 <description>Read Normalization</description>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
6
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
7 <requirements>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
8 <requirement type="package" version="r20140717">trinityrnaseq</requirement>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
9 </requirements>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
10
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
11
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
12 <command interperter="perl"> \$TRINITY_HOME/util/insilico_read_normalization.pl
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
13 --JM $JM
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
14 --max_cov $maximum_coverage
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
15
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
16 ## Inputs.
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
17 #if str($inputs.paired_or_single) == "paired":
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
18
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
19 --left $inputs.left_input --right $inputs.right_input
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
20
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
21 #if $inputs.left_input.ext == 'fa':
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
22 --seqType fa
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
23 #else:
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
24 --seqType fq
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
25 #end if
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
26
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
27 ## Additional parameters.
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
28 #if str($inputs.additional_params.use_additional) == "yes":
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
29
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
30 #if str($inputs.additional_params.library_type) != "None":
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
31 --SS_lib_type $inputs.additional_params.library_type
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
32 #end if
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
33
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
34 $inputs.additional_params.pairs_together
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
35 --CPU $inputs.additional_params.CPU
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
36 $inputs.additional_params.PARALLEL_STATS
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
37 --KMER_SIZE $inputs.additional_params.KMER_SIZE
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
38 --max_pct_stdev $inputs.additional_params.max_pct_stdev
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
39
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
40 #end if
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
41
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
42
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
43 #else:
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
44
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
45 --single $inputs.input
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
46
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
47 #if str($inputs.input.ext) == 'fa':
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
48 --seqType fa
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
49 #else:
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
50 --seqType fq
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
51 #end if
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
52
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
53 ## Additional parameters.
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
54 #if str($inputs.additional_params.use_additional) == "yes":
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
55
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
56 #if str($inputs.additional_params.library_type) != "None":
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
57 --SS_lib_type $inputs.additional_params.library_type
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
58 #end if
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
59
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
60 ##$inputs.additional_params.pairs_together
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
61 --CPU $inputs.additional_params.CPU
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
62 ##$inputs.additional_params.PARALLEL_STATS
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
63 --KMER_SIZE $inputs.additional_params.KMER_SIZE
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
64 --max_pct_stdev $inputs.additional_params.max_pct_stdev
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
65
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
66 #end if
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
67
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
68 #end if
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
69
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
70
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
71
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
72 ## direct to output
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
73 &gt; $insilico_read_normalization_log 2&gt;&amp;1
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
74
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
75 </command>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
76
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
77
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
78 <inputs>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
79 <param name="JM" type="select" label="JM" help="--JM &lt; string &gt; ; Amount of memory to allocate to Jellyfish for Kmer catalog construction">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
80 <option value="1G">1G</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
81 <option value="10G">10G</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
82 <option value="20G">20G</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
83 <option value="50G">50G</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
84 </param>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
85
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
86 <param name="maximum_coverage" type="integer" value="25" label="Maximum Coverage" help="--max_cov &lt; int &gt; ; targeted maximum coverage for reads"/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
87
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
88 <conditional name="inputs">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
89 <param name="paired_or_single" type="select" label="Paired or Single-end data?">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
90 <option value="paired">Paired</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
91 <option value="single">Single</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
92 </param>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
93
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
94 <when value="paired">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
95 <param format="fasta,fastq" name="left_input" type="data" label="Left/Forward strand reads" help=""/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
96 <param format="fasta,fastq" name="right_input" type="data" label="Right/Reverse strand reads" help=""/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
97
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
98 <conditional name="additional_params">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
99 <param name="use_additional" type="select" label="Use Additional Params?">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
100 <option value="no">No</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
101 <option value="yes">Yes</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
102 </param>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
103 <when value="no"/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
104 <when value="yes">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
105 <param name="library_type" type="select" label="Strand-specific Library Type">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
106 <option value="None">None</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
107 <option value="FR">FR</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
108 <option value="RF">RF</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
109 </param>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
110 <param name="pairs_together" type="boolean" label="--pairs_together" help="process paired reads by averaging stats between pairs and retaining linking info" truevalue="--pairs_together" falsevalue="" checked="true" />
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
111 <param name="CPU" type="integer" value="2" min="1" max="30" label="CPU" help="--CPU &lt; int &gt; ; Number of CPUs to use (Maximum limit is 30 core)" />
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
112 <param name="PARALLEL_STATS" type="boolean" label="--PARALLEL_STATS" help="Generate read stats in parallel for paired reads" truevalue="--PARALLEL_STATS" falsevalue="" checked="true" />
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
113 <param name="KMER_SIZE" type="integer" value="25" label="--KMER SIZE" help="Default is 25" />
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
114 <param name="max_pct_stdev" type="integer" value="200" label="--max_pct_stdev" help="maximum pct of mean for stdev of kmer coverage across read"/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
115 </when>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
116 </conditional>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
117 </when>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
118
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
119
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
120 <when value="single">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
121 <param format="fasta,fastq" name="input" type="data" label="Single-end reads" help=""/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
122
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
123 <conditional name="additional_params">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
124 <param name="use_additional" type="select" label="Use Additional Params?">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
125 <option value="no">No</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
126 <option value="yes">Yes</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
127 </param>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
128 <when value="no"/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
129 <when value="yes">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
130 <param name="library_type" type="select" label="Strand-specific Library Type">
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
131 <option value="None">None</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
132 <option value="F">F</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
133 <option value="R">R</option>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
134 </param>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
135 <param name="CPU" type="integer" value="2" min="1" max="30" label="CPU" help="--CPU &lt; int &gt; ; Number of CPUs to use (Maximum limit is 30 core)" />
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
136 <param name="KMER_SIZE" type="integer" value="25" label="--KMER SIZE" help="Default is 25" />
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
137 <param name="max_pct_stdev" type="integer" value="200" label="--max_pct_stdev" help="maximum pct of mean for stdev of kmer coverage across read"/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
138 </when>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
139 </conditional>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
140 </when>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
141 </conditional>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
142
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
143
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
144 </inputs>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
145
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
146 <outputs>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
147 <data format="txt" name="insilico_read_normalization_log" label="${tool.name} on ${on_string}: log" />
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
148 <data format="fastq" name="left_normalized_read" label="${tool.name} on ${on_string}: Left Read" from_work_dir="left.norm.fq"/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
149 <data format="fastq" name="right_normalized_read" label="${tool.name} on ${on_string}: Right Read" from_work_dir="right.norm.fq"/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
150 </outputs>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
151
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
152
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
153 <tests/>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
154 <help>Insilico Read Normalization</help>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
155
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
156 </tool>
60d9e2097e02 Uploaded
anmoljh
parents:
diff changeset
157