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