wget -O - -q "ftp://ftp.ncbi.nih.gov/snp/organisms/human_9606/XML/ds_ch1.xml.gz" |\
gunzip -c |\
java -jar dist/xsltstream.jar -t transform.xsl --tag '{https://www.ncbi.nlm.nih.gov/SNP/docsum}Rs'
output:
rs171 ss41715810
rs171 ss43026199
rs171 ss96405203
rs242 ss242
rs242 ss287669350
rs242 ss326012704
rs242 ss326012781
rs242 ss498801024
rs242 ss550913725
rs242 ss552749651
(...)
programmatically (i.e mere conversion of text 'rs' to 'ss') or scientifically (fetching corresponding ss IDs for each rsID)?
scientifically it would be easy... main thing is i want to do it in short time