amino acid alteration position for SNPs using biomart
1
1
Entering edit mode
6.4 years ago
tarek.mohamed ▴ 370

Hi,

Is there a way by which I can get the location of amino acids alteration for some snps

     library(biomaRt)

         ensembl<-useMart("ENSEMBL_MART_SNP")

         ensembl<-useDataset("hsapiens_snp",mart=ensembl)

        SNPs<-getBM(filters ("ensembl_gene"),attributes=c("refsnp_id","ensembl_peptide_allele","ensembl_peptide_allele"),values=("ENSG00000197506"),mart=ensembl)

    head(SNPs)

rs45525131                    R/Q
rs45529242                       
rs45560337                    D/H

Is there a way by which I can get the location of this amino acids in the protein sequence of relevant gene?

Thanks

biomart snps locations aminoacids • 1.4k views
ADD COMMENT
2
Entering edit mode
6.4 years ago
Benn 8.3k

You can add "translation_start" to your attributes.

Your code is not completely reproducible, so I changed a little bit.

ensembl<-useMart("ENSEMBL_MART_SNP")

ensembl<-useDataset("hsapiens_snp",mart=ensembl)

SNPs<-getBM(filters="ensembl_gene",attributes=c("refsnp_id","ensembl_peptide_allele","translation_start","consequence_type_tv"),values=("ENSG00000197506"),mart=ensembl)

head(subset(SNPs, consequence_type_tv=="missense_variant"))
     refsnp_id ensembl_peptide_allele translation_start consequence_type_tv
205 rs10868138                    Y/C               113    missense_variant
255 rs11140503                    P/Q               221    missense_variant
348 rs11568388                    G/R               367    missense_variant
359 rs11568398                    R/H               585    missense_variant
362 rs11568401                    R/K                 4    missense_variant
365 rs11568403                    S/T                 5    missense_variant
ADD COMMENT
0
Entering edit mode

Thanks for the reply ! It was really helpful

ADD REPLY

Login before adding your answer.

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