Extract rs IDs
0
0
Entering edit mode
13 months ago

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 • 264 views
0
Entering edit mode

, 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 ?

0
Entering edit mode

You can get them through biomart

0
Entering edit mode

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