Question: snp ids download
0
gravatar for kamalesh.27.27.kamalesh
5 months ago by

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 • 105 views
ADD COMMENTlink written 5 months ago by kamalesh.27.27.kamalesh0
1

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 REPLYlink written 5 months ago by Mike Smith4.0k
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 16.09
Traffic: 187 users visited in the last hour