Entering edit mode
9.5 years ago
Medhat
9.8k
Is there is any options when using
bedtools intersect -a A.bed -b B.bed
to detect if line in A contains line in B and vice verse "I do not know if -f could help me in this!!"
for example
A.bed
chr1 100 200
chr1 150 300
B.bed
chr1 110 150
chr1 180 350
the result shall be A contains B (assuming I am using -wb
)
chr1 100 200 chr1 110 150
What is the expected output ?
the result shall be A contains B (assuming I am using -wb )
chr1 100 200 chr1 110 150