annotate bamCoverage.xml @ 30:5231f398d784 draft

planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
author bgruening
date Tue, 20 Oct 2015 14:43:12 -0400
parents 3a2aab18a217
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
1 <tool id="deeptools_bamCoverage" name="bamCoverage" version="@WRAPPER_VERSION@.0">
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
2 <description> generates a coverage bigWig file from a given BAM file. Multiple options are available to count reads and normalize coverage. (bam2bigwig)</description>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
3 <macros>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
4 <token name="@BINARY@">bamCoverage</token>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
5 <import>deepTools_macros.xml</import>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
6 </macros>
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
7 <expand macro="requirements" />
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
8 <command>
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
9 <![CDATA[
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
10 bamCoverage
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
11
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
12 @THREADS@
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
13
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
14 --bam '$bamInput'
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
15 --bamIndex ${bamInput.metadata.bam_index}
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
16 --outFileName '$outFileName'
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
17 --outFileFormat '$outFileFormat'
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
18
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
19 --fragmentLength $fragmentLength
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
20 --binSize $binSize
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
21
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
22 #if $scaling.type=='rpkm':
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
23 --normalizeUsingRPKM
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
24 #elif $scaling.type=='1x':
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
25 #if $scaling.effectiveGenomeSize.effectiveGenomeSize_opt == "specific":
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
26 --normalizeTo1x $scaling.effectiveGenomeSize.effectiveGenomeSize
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
27 #else:
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
28 --normalizeTo1x $scaling.effectiveGenomeSize.effectiveGenomeSize_opt
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
29 #end if
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
30 #elif $scaling.type=='own':
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
31 --scaleFactor $scaling.scaleFactor
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
32 #end if
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
33
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
34 #if str($region).strip() != '':
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
35 --region '$region'
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
36 #end if
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
37
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
38 #if $advancedOpt.showAdvancedOpt == "yes":
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
39 #if $advancedOpt.smoothLength:
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
40 --smoothLength '$advancedOpt.smoothLength'
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
41 #end if
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
42
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
43 $advancedOpt.doNotExtendPairedEnds
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
44 $advancedOpt.ignoreDuplicates
29
3a2aab18a217 Uploaded
bgruening
parents: 28
diff changeset
45
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
46 #if $advancedOpt.minMappingQuality:
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
47 --minMappingQuality '$advancedOpt.minMappingQuality'
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
48 #end if
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
49
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
50 --missingDataAsZero $advancedOpt.missingDataAsZero
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
51
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
52 ##if str($advancedOpt.ignoreForNormalization).strip() != '':
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
53 ## --ignoreForNormalization $advancedOpt.ignoreForNormalization
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
54 ##end if
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
55 #if $samFlag:
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
56 --samFlag $samFlag
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
57 #end if
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
58 #end if
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
59 ]]>
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
60 </command>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
61
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
62 <inputs>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
63 <param name="bamInput" format="bam" type="data" label="BAM file"
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
64 help="The BAM file must be sorted."/>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
65
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
66 <param name="fragmentLength" type="integer" value="200" min="1"
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
67 label="Length of the average fragment size"
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
68 help ="Reads will be extended to match this length unless they are paired-end, in which case they will be extended to match the fragment length. If this value is set to the read length or smaller, the read will not be extended. *Warning* the fragment length affects the normalization to 1x (see &quot;normalize coverage to 1x&quot;). Sequencing depth is defined as: (total number of mapped reads * fragment length) / effective genome size. *NOTE*: If the BAM files contain mated and unmated paired-end reads, unmated reads will be extended to match the fragment length. (--fragmentLength)"/>
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
69
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
70 <param name="binSize" type="integer" value="50" min="1"
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
71 label="Bin size in bp"
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
72 help="The genome will be divided in bins (also called tiles) of the specified length. For each bin the overlaping number of fragments (or reads) will be reported. If only half a fragment overlaps, this fraction will be reported. "/>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
73
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
74 <conditional name="scaling">
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
75 <param name="type" type="select" label="Scaling/Normalization method" >
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
76 <option value="1x">Normalize coverage to 1x</option>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
77 <option value="rpkm">Normalize to fragments (reads) per kilobase per million (RPKM)</option>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
78 <option value="own">Set your own scaling factor</option>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
79 <option value="no">Do not normalize or scale</option>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
80 </param>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
81 <when value="rpkm"/>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
82 <when value="no"/>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
83 <when value="1x">
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
84 <expand macro="effectiveGenomeSize" />
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
85 </when>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
86 <when value="own">
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
87 <param name="scaleFactor" type="float" value="1" size="3"
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
88 label="Scale factor to multiply all values" />
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
89 </when>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
90 </conditional>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
91
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
92 <param name="outFileFormat" type="select" label="Coverage file format">
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
93 <option value="bigwig" selected="true">bigwig</option>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
94 <option value="bedgraph">bedgraph</option>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
95 </param>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
96
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
97 <expand macro="region_limit_operation" />
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
98
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
99 <conditional name="advancedOpt">
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
100 <param name="showAdvancedOpt" type="select" label="Show advanced options" >
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
101 <option value="no" selected="true">no</option>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
102 <option value="yes">yes</option>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
103 </param>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
104 <when value="no" />
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
105 <when value="yes">
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
106 <param name="smoothLength" type="integer" value="1" optional="true" min="1"
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
107 label="Smooth values using the following length (in bp)"
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
108 help ="The smooth length defines a window, larger than the bin size, to average the number of reads. For example, if the bin size is set to 20 bp and the smooth length is set to 60 bp, then, for each bin size the average of it and its left and right neighbors is considered. Any value smaller than the bin size will be ignored and no smoothing will be applied. (--smoothLength)"/>
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
109
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
110 <expand macro="doNotExtendPairedEnds" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
111 <expand macro="ignoreDuplicates" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
112 <expand macro="minMappingQuality" />
29
3a2aab18a217 Uploaded
bgruening
parents: 28
diff changeset
113 <expand macro="missingDataAsZero" />
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
114 <expand macro="samFlag" />
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
115 <!-- <param name="ignoreForNormalization" type="text" value="" size="50"
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
116 label="regions that should be excluded for calculating the scaling factor"
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
117 help="Sometimes it makes sense to exclude certain regions when calculating the scaling factor. For example, if you know some regions that you suspect to be present more often in your sample's genome than in the reference genome that will therefore accumulate reads (CNV). Another typical example is the single X chromosome in male samples that should be scaled separately from the diploid autosomes. For example chrX,chrY,chr3. or chr10:12220-128932" />
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
118 -->
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
119 </when>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
120 </conditional>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
121 </inputs>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
122 <outputs>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
123 <data format="bigwig" name="outFileName">
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
124 <change_format>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
125 <when input="outFileFormat" value="bigwig" format="bigwig" />
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
126 <when input="outFileFormat" value="bedgraph" format="bedgraph" />
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
127 </change_format>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
128 </data>
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
129 </outputs>
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
130 <tests>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
131 <test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
132 <param name="bamInput" value="bowtie2-test1.bam" ftype="bam" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
133 <param name="outFileFormat" value="bigwig" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
134 <param name="showAdvancedOpt" value="no" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
135 <param name="binSize" value="10" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
136 <param name="type" value="no" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
137 <output name="outFileName" file="bamCoverage_result1.bw" ftype="bigwig" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
138 </test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
139 <test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
140 <param name="bamInput" value="bowtie2-test1.bam" ftype="bam" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
141 <param name="outFileFormat" value="bigwig" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
142 <param name="showAdvancedOpt" value="no" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
143 <param name="binSize" value="10" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
144 <output name="outFileName" file="bamCoverage_result2.bw" ftype="bigwig" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
145 </test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
146 <test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
147 <param name="bamInput" value="bowtie2-test1.bam" ftype="bam" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
148 <param name="outFileFormat" value="bedgraph" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
149 <param name="showAdvancedOpt" value="no" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
150 <param name="binSize" value="10" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
151 <output name="outFileName" file="bamCoverage_result3.bg" ftype="bedgraph" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
152 </test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
153 <test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
154 <param name="bamInput" value="phiX.bam" ftype="bam" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
155 <param name="outFileFormat" value="bigwig" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
156 <param name="showAdvancedOpt" value="no" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
157 <param name="binSize" value="10" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
158 <output name="outFileName" file="bamCoverage_result4.bw" ftype="bigwig" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
159 </test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
160 <test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
161 <param name="bamInput" value="phiX.bam" ftype="bam" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
162 <param name="outFileFormat" value="bedgraph" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
163 <param name="showAdvancedOpt" value="no" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
164 <param name="binSize" value="10" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
165 <output name="outFileName" file="bamCoverage_result4.bg" ftype="bedgraph" />
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
166 </test>
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
167 </tests>
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
168 <help>
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
169 <![CDATA[
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
170 **What it does**
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
171
28
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
172 Given a BAM file, this tool generates a bigWig or bedGraph file of fragment or
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
173 read coverages. The way the method works is by first calculating all the
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
174 number of reads (either extended to match the fragment length or not) that
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
175 overlap each bin in the genome. The resulting read counts can be normalized
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
176 using either a given scaling factor, the RPKM formula or to get a 1x depth of
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
177 coverage (RPGC). In the case of paired-end mapping each read mate is treated
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
178 independently to avoid a bias when a mixture of concordant and discordant
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
179 pairs is present. This means that *each end* will be extended to match the
f7712a057440 new bugfix release
bgruening
parents: 27
diff changeset
180 fragment length.
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
181
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
182 .. image:: $PATH_TO_IMAGES/norm_IGVsnapshot_indFiles.png
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
183
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
184
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
185 You can find more details on the bamCoverage wiki page: https://github.com/fidelram/deepTools/wiki/Normalizations#wiki-bamCoverage
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
186
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
187
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
188 **Output files**:
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
189
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
190 - coverage file either in bigWig or bedGraph format
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
191
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
192 -----
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
193
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
194 @REFERENCES@
30
5231f398d784 planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
bgruening
parents: 29
diff changeset
195 ]]>
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
196 </help>
29
3a2aab18a217 Uploaded
bgruening
parents: 28
diff changeset
197 <expand macro="citations" />
26
2ad3b027dfcd Uploaded
bgruening
parents:
diff changeset
198 </tool>