bPeaks application is based on the bPeaks package. This package is available in CRAN. The presentation below explains how the package works:
The reference paper is in pubmed.