Commit 4b8e0f34 authored by Robert Phillips's avatar Robert Phillips
Browse files

Upload New File

parent 51a54f64
#Load bedtools
module load BEDTools
cd /data/user/rphill3/Enhancer_Ident_ATAC/Final_PeakCalls
for i in *.narrowPeak.bed
do
#sort the bed
sort -k1,1 -k2,2n $i > Sorted_beds/$i.sorted.bed
#merge peaks within 1000bps of each other
bedtools merge -i Sorted_beds/$i.sorted.bed -d 1000 > Merged_beds/$i.sorted.merged.bed
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment