genes close to random genomic locations
1
0
Entering edit mode
7.2 years ago

I would like to pick a 1000 random locations in the human genome (say hg19 assembly) and get a list of the genes closest to them. Can you suggest how I can go about this?

gene • 1.4k views
ADD COMMENT
0
Entering edit mode

Try the UCSC Genome Browser's mysql databases?

ADD REPLY
3
Entering edit mode
7.2 years ago
GenoMax 141k

Generate your random intervals from hg19 assembly using bedtools random (documentation) and then use bedtools closest (documentation).

A solution using closest-features in the BEDOPS toolkit: N Closest Genes To A Given Location

ADD COMMENT
0
Entering edit mode

I read through the bedtools random documentation. It uses a file hg19.genome. Is this file in bed format and how can I download it?

ADD REPLY
0
Entering edit mode

You can find hg19.genome file here. It is a file with lengths of chromosomes.

ADD REPLY

Login before adding your answer.

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