annotate insilico_read_normalization.xml @ 0:cc71440b759f draft default tip

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