Description Usage Arguments Details Value Author(s) References See Also Examples
DNase I footprinting analysis of DNase-seq data.
1 |
bam |
BAM file of DNase-seq mapped reads. |
chrN |
Vector of chromosome names. |
chrL |
Vector of chromosome sizes (bp). |
p |
p-value cutoff for the footprint events (default 1e-9). |
width |
Max. and min. footprint width (bp). |
N |
Genome is divided in blocks of N bp. for processing. N must be not higher than the size of the smallest chromosome. |
correction |
Multiple comparison adjustment method for the p-values at each flank of a footprint. Allowed values are same as in p.adjust: "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none" (default "BH"). |
Strand-specific digital genomic footprinting in DNase-seq data. The cumulative Skellam distribution function (package 'skellam') is used to detect significant normalized count differences of opposed sign at each DNA strand. This is done in order to determine the footprint flanks. Preprocessing of the mapped reads is recommended before running DNaseR (e.g., quality checking and removal of sequence-specific bias).
Initially, one p-value is calculated at each flank of the footprint. To control for multiple testing, the p-values delimiting each flank of the footprint (pval.forward and pval.reverse) are corrected using Benjamini-Hochberg procedure ("BH", default). The column pval.footprint.event stores the sum 'pval.forward + pval.reverse'.
The internal functions pskellam
and pskellam.sp
from the Jerry W. Lewis' 'skellam' R package (version 0.0-8-7) are used to calculate the cumulative Skellam distribution (see LICENSE file).
footprints.events |
A data.frame with the location of each footprint ("chr","start","end"), the width of the footprint ("length"), the corrected p-values at each flank ("pval.forward","pval.reverse"), the final p-value of the footprint ("pval.footprint.event") and its -log10 ("log10.pval.footprint.event"). |
Pedro Madrigal, pm12@sanger.ac.uk
Madrigal P, Krajewski P (2012) Current bioinformatic approaches to identify DNase I hypersensitive sites and genomic footprints from DNase-seq data. Front Genet 3: 230.
Neph S, Vierstra J, Stergachis AB, Reynolds AP, Haugen E, Vernot B, Thurman RE, John S, Sandstrom R, Johnson AK, Maurano MT, Humbert R, Rynes E, Wang H, Vong S, Lee K, Bates D, Diegel M, Roach V, Dunn D, Neri J, Schafer A, Hansen RS, Kutyavin T, Giste E, Weaver M, Canfield T, Sabo P, Zhang M, Balasundaram G, Byron R, MacCoss MJ, Akey JM, Bender MA, Groudine M, Kaul R, Stamatoyannopoulos JA (2012) An expansive human regulatory lexicon encoded in transcription factor footprints. Nature 489: 83-90.
Skellam JG (1946) The frequency distribution of the difference between two Poisson variates belonging to different populations. J R Stat Soc Ser A 109: 296.
Song L, Crawford GE (2010) DNase-seq: a high-resolution technique for mapping active gene regulatory elements across the genome from mammalian cells. Cold Spring Harb Protoc 2:pdb.prot5384.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## hg18. chrY:1 - 3000Kb reads from DNase-seq dataset wgEncodeUwDgfTh1Aln.bam
## from the ENCODE Project.
##
## Downloaded from:
## http://hgdownload-test.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeUwDgf/
## release1/wgEncodeUwDgfTh1Aln.bam
owd <- setwd(tempdir())
bamfile <- "chrY_3Kb_wgEncodeUwDgfTh1Aln.bam"
f <- system.file("extdata", bamfile, package="DNaseR",mustWork = TRUE)
dgf <- footprints(bam=f, chrN="chrY", chrL=3e6, p=1e-9, width=c(6,40), N=2e6)
setwd(owd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.