snp ids download
0
0
Entering edit mode
@kamalesh2727kamalesh-21048
Last seen 4.9 years ago

I have been tryinng to download all snp ids for all genes present in NCBI for that i have used this code

library(biomaRt)

ensembl = useEnsembl(biomart="ensembl","snp", dataset="hsapiensgeneensembl","hsapiens_snp")

snps <- getBM(attributes=c('refsnpid','refsnpsource','hgncsymbol','chromosomename','startposition,'endposition'), filters = 'chromosome_name',values ="Y",mart = ensembl)

annotation • 479 views
1
Entering edit mode

What happens when you try that code? Is there an error message? Does it work, but not give the expected results? You need to give a few more details here.

ADD REPLY

Login before adding your answer.

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