Statistical methods for ChIP-seq and microbiome studies using next-generation DNA sequencing data