Entering edit mode
9.9 years ago
iraun
6.2k
Hi all,
One simple question, I want to retrieve all features in A that overlap completely (not partially) in B.
Is there anyway to do this using bedtools intersect? I've tried using the following command:
bedtools intersect -a file.gff3 -b file.bed -wa > output
But checking the output, I get this line and actually one base is outside my desired region so I would like discard it.
file.gff3
SL2.40ch01 ITAG_eugene gene 65436585 65439158
file.bed
SL2.40ch01 65436585 65442158
output
SL2.40ch01 ITAG_eugene gene 65436585 65439158
Thanks!