Strand Aware Intersect With Bx-Python
0
0
Entering edit mode
12.5 years ago
Egl ▴ 20

I've played a little with the bx-python library. This example script prints every region/line in fila_a overlapping at least one region in file_b. Is it possible to modify this script to also check if the strands of the overlapping regions are equal?

python bed intersect • 2.0k views
ADD COMMENT
0
Entering edit mode

An easy way to do this is to subset the BED files into positive and negative strand files and do the intersections with those independently.

ADD REPLY

Login before adding your answer.

Traffic: 3285 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6