Intersecting regions in the genome
1
0
Entering edit mode
5.0 years ago
pixie@bioinfo ★ 1.5k

I had written a python code which outputs list of lists of start and end positions of chromosomal coordinates corresponding to certain GC% bins

for example,

GC_10: [[20451, 20500], [32451, 32500], [38301, 38350]] GC_50: [[615051, 615100], [616501, 616550], [622201, 622250], [623301, 623350]]

I have generated these for all chromosomes

I have another list of chromosome regions, as we get from normal blast hits, chr1: 685701..702450

I want to find out to which all bins my blast hits lie approximately. Any help ?

genome • 631 views
ADD COMMENT
1
Entering edit mode
5.0 years ago
ATpoint 81k

You should save these coordinates in BED format and then use bedtools, either intersect or closest depending on the exact aim.

ADD COMMENT
0
Entering edit mode

Okay, Thanks I am looking into this

ADD REPLY

Login before adding your answer.

Traffic: 2996 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