Intergenic distance
1
0
Entering edit mode
2.4 years ago
h_asma • 0

I want to find size of intergenic distance /size to flanking gene(including gene part) for list of my genes

e.g.,

chrX   1   10   geneA
chrX.  15   20    geneB
chrX     25.     40.  geneC

I want output like this

geneA chrX   1   15  15  
geneB chrX   10  25   15
geneC  chrX    20   40   20

Does anyone know easier way to do that?

gff gene • 604 views
ADD COMMENT
0
Entering edit mode
2.4 years ago
Trivas ★ 1.8k

I've used bedtools closest for something like this before. See documentation here https://bedtools.readthedocs.io/en/latest/content/tools/closest.html

Requires a bed file of all genes in your genome of interest. You'll want to use the -io flag (ignore overlaps).

ADD COMMENT

Login before adding your answer.

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