Entering edit mode
6.5 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
Thanks for the reply ! It was really helpful