This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script will find the consensus peak regions from peak files (in | |
# BED format) of multiple samples by: | |
# | |
# 1. Converting the peak file of each sample into non-overlapping 3 | |
# cols BED file and concatenating them; | |
# | |
# 2. Sorting the concatenated file and Building a genome coverage | |
# track in BedGraph, of which the value (the 3rd col) indicates the |