A toolkit for Dynamic Analysis of Nucleosome and Protein Occupancy by Sequencing, version 2

Tutorial - Documentation - Install - Download - Help

Developed by Kaifu Chen in the Li lab at Baylor College of Medicine.


  1. Kaifu Chen, etc. Broad H3K4me3 is associated with increased transcription elongation and enhancer activity at tumor suppressor genes. Nature Genetics. 2015.

  2. (DANPOS2 was used in this project to normalize ChIP-seq reads density by the Quantile method, define enriched regions, assign region to gene, and plot figures)

  3. Kaifu Chen, etc. DANPOS: Dynamic Analysis of Nucleosome Position and Occupancy by Sequencing. Genome Research. 2012. doi:10.1101/gr.142067.112

  4. (This version has later became the Dpos function in DANPOS2)

Tools in kit

  • Tools (1)-(4): DANPOS provides different tools to analyze chromatin feature in different manner:

    • (1) Dpos analyzes changes in the location, fuzziness, and occupancy at each nucleosome or protein binding position. The functions is designed to analyze nucleosomes, but can be also very useful for analyzing other proteins whose binding pattern is similar to that of nucleosome, such as the protein MeCP2.

    • (2) Dpeak analyzes change in width, height and total signal of each enriched peak. A peak may contains multiple positions. This function is designed to analyze transcription factor and is also useful for defining some histone modification peaks.

    • (3) Dregion analyzes change in width, summit height, and total signal in each enriched region between samples. A region may contains multiple peaks, this function is designed to analyze chromatin features such as the histone modification H3K4me3.

    • (4) Dtriple is a combination of the Dpos, Dpeak, and Dregion functions. When there is no knowledge about characteristics of the sequencing target, this function provide users a way to try all the three algorithms above.

  • Tool (5): Profile is a tool in DANPOS for analyzing the distribution of a chromatin feature flanking each given group of genomic sites or regions.

such as transcription start sites, gene bodies, or enhancers. The distribution can be presented in either heat map or average density plot. See examples below:

  • Tool (6): Stat is a tool in DANPOS to do statistical analysis for positions, peaks, or regions.

For example, the figures below compare changes in fuzziness (left) and width (right) of nucleosome positions across the whole genome.

  • Tool (7): WIQ is a tool in DANPOS to do genome wide quantile normalization for data in wiggle format file.

For example, in the figure below:

Before normalization, the signal-to-noise ratio is lower in replicate 3 relative to replicate 1 and 2.

After normalization, the signal-to-noise ratio become the same in all 3 replicates.

  • Tool (8): Wig2Wiq is a tool for converting .wig format file to .wiq format.


September 2014, Version 2.2.2:

June 2014, Version 2.2.1:

  • The function fetchValueFromWig() in summits was revised to accomodate sampes that have no peak in some chromosomes.

  • The function to read .Wig file are improved to allow empty line in the file.

  • The Wiq function is improved.

    • help message for Wiq and Wig2Wiq? was updated.

    • the mean(), sum(), and size() functions in wig.py was updated.

April 2013, Version 2.2.0:

    • The Big changes designed for DANPOS2 has finally come out with this version. DANPOS becomes a comprehensive set of tools for analyzing not only nucleosome, but also other chromatin component such as histone modification.

Apr 2011

Aug 2012, the new release 2.0.0 now:

Sep 2012,

Oct 2012,

Nov 2012,

Dec 2012, the new release 2.1.0 now:

Dec 2012,

Jan 2013,

Version 2.1.4:

Version 2.1.3:

Feb 2013, the 2.1.2 version now:

Feb 2013, the 2.1.1 version now:

Mar 2011

Jun 2011

Oct 2011

Dec 2011

Mar 2011

    • minor change, some bug corrections.

    • minor change, some bug corrections.

    • put back the occupancy P value, fuzziness score, and fuzziness P value in the file pooled/#.peaks.xls

    • comes with a dantools 0.2.0 version at http://code.google.com/p/dantools/, which could be used to do additional analysis, e.g. select peaks based on differential values or distance to promoters, or do plot around transcription start sites. Thanks to Gabriel Gutiérrez and Jared Taylor for their suggestions on this.

    • Rename the final out put file to #.allPeaks.xls and contains all nucleosomes that are either differential or not, this allow users to retrieve nucleosomes showing most or least significant changes in occupancy, fuzziness, or positions.

    • provide a differential FDR value in addition to each of the previous P value, thanks to Gabriel Gutiérrez for his suggestions on this point.

    • DANPOS was highlighted in headlines by the Epigenie website on Jan 2nd, 2013, see http://epigenie.com/danpos-reveals-dynamic-nucleosomes/

    • DANPOS was used by Bilian and colleagues in their Cell Reports paper for the analysis of relationship between DNA Methyltransferases and nucleosome structure, see http://www.cell.com/cell-reports/fulltext/S2211-1247(12)00372-5?switch=standard

    • change the file seperater '-' to ':', due to the reason that some users tend to have file name containing '-'.

    • support the default output format of bowtie.

    • gives out the nucleosome fragment sizes distribution for paired-end reads too.

  • The DANPOS methodology paper has been published online at Genome Research, seehttp://genome.cshlp.org/content/early/2012/11/27/gr.142067.112.abstract

    • A paper using DANPOS to analyze nucleosome re-organization by the transcription repressor Cyc8-Tup1 complex has been accepted to Genome Research, see http://genome.cshlp.org/content/early/2012/11/01/gr.141952.112.abstract.

    • A bug in setting the step size for paired-end reads input has been corrected in the new release danpos-2.0.1.

    • DANPOS was used in a Cell paper by Zhaoyu and his colleagues to analyze nucleosome dynamics mediated by Foxa2, seehttp://www.cell.com/abstract/S0092-8674(12)01403-1?switch=standard.

    • support paired-end reads, fragment size correction based on pair information.

    • support input files in the very popular sam/bam format.

    • need not to specify an input format; for each input directory specified, automatively serch input files in all the supported formats (bam,sam,bed,wig).

    • come with comprehensive Comments/help information in the scripts.

    • report nucleosome gain/loss results in additional seperate files.

    • support multiple groups comparison rather than the previous pair-wise comparison.

    • support normalization of each group to a specified coverage, for the reason that some samples may have pre-known degree of global nucleosome loss relative to other samples (Gossett and Lieb, 2012).

    • DANPOS manuscript is under review now.

    • Ducumentation is now available in the new release danpos-1.0.0, along with some minor improvements in the package.

    • the release 0.9.0 provide options to remove clonal reads, calculates FDR value, and also further optimized some default parameters.

    • the new version 0.8.0 adds a positioning (fuzziness) score and P value for each nucleosome in each sample, and also gives out a P value to estimate difference in positioning degree between control and treatment samples.

    • Jun 2011, the new version 0.7.0 has been tested on Human genome.

    • new version 0.4 released