This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extract rs IDs

How can I pick out all rs Ids of a specific gene from https://www.ncbi.nlm.nih.gov/snp/. I get them all in SNP database but my question is, I need them serially to perform on many bioinformatics tools, so is there any process to gather them all without taking one by one from SNP database?

rsid

, I need them serially to perform on many bioinformatics tools, so is there any process to gather them all without taking one by one from SNP database?

what does it mean ?

You can get them through biomart

Use EntrezDirect. Remove (head -5) to get them all.

$ esearch -db snp -query "GAPDH AND Homo sapiens [ORGN]" | esummary | xtract -pattern DocumentSummary -element SNP_ID | head -5
1592191707
1592191325
1592191293
1592191058
1592191047

0 answers

No answers yet.

Log in to answer this question.