Giter Site home page Giter Site logo

dti-hca's Introduction

DTI-HCA

Requirements

  • python 3.8.16
  • cuda 11.3
  • pytorch 1.12.1
  • dgl 1.1.1
  • numpy 1.24.3
  • sklearn 1.2.2

Quick start

  1. python main.py Options are:
    1. --num_channels: the number of channels, default: 4
    2. --num_layers: the maximum length of the learned meta-paths, default: 3
    3. --alpha: hyperparameter in loss function, default: 0.4
    4. -t: select experimental data, default: 'o'

Data description

data Folder. This folder contains the DTINet dataset.

  • drug.txt : list of drug names.
  • protein.txt : list of protein names.
  • disease.txt : list of disease names.
  • se.txt : list of side effect names.
  • drug_dict_map.txt : a complete ID mapping between drug names and DrugBank ID.
  • protein_dict_map.txt: a complete ID mapping between protein names and UniProt ID.
  • drug_se.npy : Drug-SideEffect association matrix.
  • protein_protein.npy : Protein-Protein interaction matrix.
  • drug_drug.npy : Drug-Drug interaction matrix.
  • protein_disease.npy : Protein-Disease association matrix.
  • drug_disease.npy : Drug-Disease association matrix.
  • protein_drug.npy : Protein-Drug interaction matrix.
  • drug_protein.npy : Drug-Protein interaction matrix.
  • drug_protein.npy : Drug-Protein interaction matrix.
  • drug_protein_indepent.npy : the cross-validation set.
  • drug_structure.pt : drug structure features.
  • protein_structure.pt : protein sequence features.
  • mat_drug_protein_homo_protein_drug.txt : Drug-Protein interaction matrix, in which DTIs with similar drugs (i.e., drug chemical structure similarities > 0.6) or similar proteins (i.e., protein sequence similarities > 40%) were removed (see the paper).
  • mat_drug_protein_drug.txt : Drug-Protein interaction matrix, in which DTIs with drugs sharing similar drug interactions (i.e., Jaccard similarities > 0.6) were removed (see the paper).
  • mat_drug_protein_sideeffect.txt : Drug-Protein interaction matrix, in which DTIs with drugs sharing similar side effects (i.e., Jaccard similarities > 0.6) were removed (see the paper).
  • mat_drug_protein_disease.txt : Drug-Protein interaction matrix, in which DTIs with drugs or proteins sharing similar diseases (i.e., Jaccard similarities > 0.6) were removed (see the paper).
  • mat_drug_protein_unique.txt : Drug-Protein interaction matrix, in which known unique and non-unique DTIs were labelled as 3 and 1, respectively, the corresponding unknown ones were labelled as 2 and 0 (see the paper for the definition of unique).

drug_protein_feature Folder Run main.py to learn drug structure features and protein sequence features.

These files: drug.txt, protein.txt, disease.txt, se.txt, drug_dict_map, protein_dict_map, mat_drug_se.txt, mat_protein_protein.txt, mat_drug_drug.txt, mat_protein_disease.txt, mat_drug_disease.txt, mat_protein_drug.txt, mat_drug_protein.txt, Similarity_Matrix_Proteins.txt, are extracted from https://github.com/luoyunan/DTINet.

These files: mat_drug_protein_homo_protein_drug.txt, mat_drug_protein_drug.txt, mat_drug_protein_sideeffect.txt, mat_drug_protein_disease.txt, mat_drug_protein_unique.txt are extracted from https://github.com/FangpingWan/NeoDTI

dti-hca's People

Contributors

oo-123456 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.