Is there a way to map Medgen # to OMIM # programmatically?
1 answer
just use the mapping file from the NCBI: https://ftp.ncbi.nlm.nih.gov/pub/medgen/MedGen_HPO_OMIM_Mapping.txt.gz
$ wget -qO - "https://ftp.ncbi.nlm.nih.gov/pub/medgen/MedGen_HPO_OMIM_Mapping.txt.gz" | gunzip -c | awk -F '|' '($2==145600) {print $1;}' | sort | uniq
C2930980
• 0 views
•
link
Log in to answer this question.