Question: How to map SNP rsids to genes and flanks
0
gravatar for robjohn70000
7 months ago by
robjohn70000120
Nigeria
robjohn70000120 wrote:

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

genome snp sequence R gene • 260 views
ADD COMMENTlink modified 7 months ago by Emily_Ensembl18k • written 7 months ago by robjohn70000120

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

ADD REPLYlink written 7 months ago by Pierre Lindenbaum122k

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 REPLYlink written 7 months ago by zx87547.9k
2
gravatar for Emily_Ensembl
7 months ago by
Emily_Ensembl18k
EMBL-EBI
Emily_Ensembl18k wrote:

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 COMMENTlink modified 7 months ago • written 7 months ago by Emily_Ensembl18k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 629 users visited in the last hour