How can I extract mutations/variants from Pubmed/PMC articles using terms and without need to download these articles?
Any command line tool I can do that?

NCBI Elink from a pubmed id (e.g: 21378989 ) maps to a dbsnp id (eg. rs387906747 ) .
 

    wget -q -O - "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=pubmed&db=snp&id=21378989" 
    
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE eLinkResult PUBLIC "-//NLM//DTD elink 20101123//EN" "https://eutils.ncbi.nlm.nih.gov/eutils/dtd/20101123/elink.dtd">
    <eLinkResult>
      <LinkSet>
        <DbFrom>pubmed</DbFrom>
        <IdList>
          <Id>21378989</Id>
        </IdList>
        <LinkSetDb>
          <DbTo>snp</DbTo>
          <LinkName>pubmed_snp</LinkName>
          <Link>
            <Id>387906747</Id>
          </Link>
        </LinkSetDb>
      </LinkSet>
    </eLinkResult>

