identify Gencode genes residing in 1-Mb intervals
1
0
Entering edit mode
10.2 years ago
hana ▴ 190

Hi

I would like to make the graph of distribution of expressed genes by chromosome form transcripts.gtf file. I need to extract the Gencode genes residing in 1-Mb intervals along the chromosome.How I can calculate genes residing in 1-Mb intervals?

Any suggestion would be appreciated

Thank you

RNA-Seq • 1.8k views
ADD COMMENT
1
Entering edit mode
10.2 years ago
PoGibas 5.1k

I would solve such problem using bedtools.

  1. Divide your genome/chromosome into x bp size windows (have a look at bedtools makewindows);
  2. Intersect windows.bed with transcripts.bed (see bedtools intersect)

Edit:

Before this you have to download chromosome sizes (see Pierre's answer here).

ADD COMMENT
0
Entering edit mode

Thank you so much

ADD REPLY
0
Entering edit mode

If my suggestion worked for you, please accept my answer (and post your thanks as comment and not as an additional answer :-) ).

ADD REPLY

Login before adding your answer.

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