bedtools merge only overlapping but not book-ended features
21 views
Skip to first unread message
Melina Klostermann
unread,
Jan 31, 2023, 1:49:37 PM1/31/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bedtools-discuss
Hello,
I am buildng a pipeline for iCLIP analyses, that should output single-nuclotide resolution, meaning every entry in the bed output should be only 1nt long. I would love to use the bedtools merge to sum up the score in the 1nt features, but not merge book-ended features. Is there a way to do that?
My command is
input.bed | bedtools merge -c 4 -o sum > output.bed
I tried to set -d -1 to exclude book-ended features, but that did not do it.