GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 2020MEAI/HTINet2: Source code and datasets for HTINet2 published on BIB.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
Graph_representation
Graph_representation
 
 
Knowledge_embedding
Knowledge_embedding
 
 
README.md
README.md
 
 
fig1.jpg
fig1.jpg
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

HTINet2: Herb Target Prediction via Knowledge Graph Embedding and Residual-like Graph Neural Network

Overview

We proposed a deep learning-based target prediction framework termed HTINet2, which designed three key modules, namely, KG Construction and Embedding Learning, Graph Representation Learning, and Target Prediction.

architecture

Environment Requirement

If you want to use env of anaconda:

conda create -n HTINet2
conda activate HTINet2
pip install -r requirements.txt

Usage

Knowledge Embedding

The TMKG knowledge graph we constructed comes frome multiple sources. These databases include SymMap, soFDA, STRING v11, KEGG, GO of gene ontology, the TCM books consist of “ChP 2020”, “100 Classic Famous Formulas”, “TCM Diagnostics”, “Treatise on Febrile Diseases”, “Formulas of TCM”, and “Internal and External Women and Children’s Diseases”.

Using OpenNE methods to learn the deep knowledge embedding of TMKG for herbs and targets. The output using LINE method is located at /Knowledge_embedding. For example, each row of herb_LINE.txt or gene_LINE.txt represents a herb or gene's vector, and each line of their names can be found in name2id.

Graph Representation

Dataset

  • training dataset training_set.npy, testing dataset testing_set.npy, validation dataset val_set.npy, they all contain three parts, the genes corresponding to herbs, the herbs corresponding to genes, and the total number of genes corresponding to herbs. All dataset set_all.npy is all genes corresponding to herbs.
  • in datasets, each id represents a herb or target. The relationship between the id and their names can be found in name2id.
  • graph representation component inspired by LR-GCCF, and the initialized embeddings of GNN are the result of pre-training of the Knowledge Embedding module /Knowledge_embedding/herb_LINE.txt and /Knowledge_embedding/gene_LINE.txt.

Running

  • train
cd code
python train.py
  • test
cd code
python test.py

To adjust the dimension of the model, it is necessary to also modify the dimension of the pre-training embeddings in the Knowledge Embedding stage. This step ensures consistency of embedding dimensions within the framework, especially since the framework is not end-to-end.

Citing

If you find HTINet2 useful for your research, please consider citing the following paper:

Duan P, Yang K*, Su X, Fan S, Dong X, Zhang F, Li X, Xing X, Zhu Q, Yu J, Zhou X*. HTINet2: herb–target prediction via knowledge graph embedding and residual-like graph neural network[J]. Briefings in Bioinformatics, 2024, 25(5): bbae414.

About

Source code and datasets for HTINet2 published on BIB.

Topics

herbtarget

Resources

Readme
Activity

Stars

10 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.