Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Day Lab
Nucleic_Acids_Research_2020
Commits
4b8e0f34
Commit
4b8e0f34
authored
Jun 29, 2020
by
Robert Phillips
Browse files
Upload New File
parent
51a54f64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Step_3/Step3_Merge_Peaks_WithinRegion.sh.txt
0 → 100644
View file @
4b8e0f34
#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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment