def METHOD_NAME(hgvs_ids, assembly):
    """Query ClinGen to get myvariant IDs for all input non genomic hgvs IDs
    Keyword arguments:
    hgvs_ids -- list of non genomic hgvs IDs
    assembly -- genomic assembly, either hg19 or hg38
    """
    def parse_myvariant_ids(doc, assembly):
        """Parse the results from clingen to retrieve myvariant id
        Keyword arguments:
        doc -- doc retrieved from clingen
        """
        ASSEMBLY_MAPPING = {
            "hg19": "MyVariantInfo_hg19",
            "hg38": "MyVariantInfo_hg38"
        }
        extract_path = 'externalRecords/' + ASSEMBLY_MAPPING[assembly]
        res = DictQuery(doc).get(extract_path)
        if res:
            return [_doc['id'] for _doc in res if _doc]
        else:
            return []
    hgvs_dict = {}
    hgvs_ids = list(set(hgvs_ids))
    for i in range(0, len(hgvs_ids), 1000):
        if i + 1000 <= len(hgvs_ids):
            batch = hgvs_ids[i: i + 1000]
        else:
            batch = hgvs_ids[i:]
        data = '\n'.join(batch)
        res = requests.post('http://reg.genome.network/alleles?file=hgvs',
                            data=data,
                            headers={'content-type': "text/plain"}).json()
        # loop through clingen results and input hgvs id in parallel
        # construct a mapping dictionary with key as input hgvs id
        # and value as myvariant hgvs id
        for _doc, _id in zip(res, batch):
            hgvs_dict[_id] = parse_myvariant_ids(_doc, assembly)
    return hgvs_dict