For each disease, a directed acyclic graph (DAG) is constructed based on hierarchical descriptors, in which nodes represent disease MeSH descriptors (or disease terms) and edges represent the relationship between the current node and its ancestors. Then compare the DAG Similarity.
Due to network factors, running directly in mainland China can take a lot of time that shouldn't be spent. Therefore, it is highly recommended to use Google Colab.