How to map SNP rsids to genes and flanks
1
0
Entering edit mode
5.9 years ago
robjohn70000 ▴ 160

Hi,

I have a long list of human genes like this:

ATR, BAK1, BAX ......

I will like to extract all snps in this region: 1KB of sequence (5') + gene + 1kb of sequence (3'). How can I easily carry out this extraction? Thanks

SNP gene R sequence genome • 2.5k views
ADD COMMENT
0
Entering edit mode

see How To Map A Snp To A Gene Around +/- 60Kb ? but replace the WHERE clause with the proteinID.

ADD REPLY
0
Entering edit mode

Search for "map SNP to genes", there has been asked many times before, see links at: C: Assigning SNPs to gene names based on genomic coordinates

ADD REPLY
2
Entering edit mode
5.9 years ago
Emily 24k

Use Ensembl BioMart. Use the gene database, filter by the gene names and get the variants as attributes. Here's a help video to get you started with BioMart.

Alternatively, Ensembl REST API. Use the lookup endpoint to get the Ensembl IDs, then use the overlap endpoint to get the variants overlapping the region. Use your favourite programming language to link the endpoints together, you can get help doing this using this online course.

ADD COMMENT

Login before adding your answer.

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