Skip to content

funalab/MaLoN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaLoN : Multi-view attention LSTM for Network inference

This is the code for "Inference of gene regulatory networks for overcoming low performance in real world data" This project is carried out in cooperation with Funahashi Lab. at Keio University.

Overview

Multi-view attention LSTM for Network inference (MaLoN) performs the task of gene regulatory network inference using time-series gene expression data as input. An overview diagram of MaLoN is shown below.

screenshot

Requirements

% pip install -r requirements.txt

Quick Start

  1. Download this repository by git clone.
% git clone https://github.com/funalab/MaLoN.git
  1. Install requirements.
% cd MaLoN/
% python -m venv venv
% source ./venv/bin/activate
% pip install -r requirements.txt
  1. Infer networks and evaluate the results for benchmark datasets.

To run MaLoN for reproduction in the article, follow the commands below.

% cd src/tools/benchmarking
% ./inference_and_evaluation_for_invivo_datasets.sh mv

Or, run with ablated models.

% cd src/tools/benchmarking
% ./inference_and_evaluation_for_invivo_datasets_dnn.sh
% ./inference_and_evaluation_for_invivo_datasets_sv.sh
  1. Infer networks for original datasets.

Note that input the format of expression data (row: gene, colomn: time-series, tab-deliminated, no rowname column)

4.1 Inference

% cd src/lib/models
% python main_mv.py [expression_file_path] --config [config_file_path] --name [dataset_name]

4.2 Evaluation (if you have the true network)

% cd src/lib/models
% python evaluation.py [predicted_edgelist_file_path] [true_edgelist_file_path] [dataset_name] [output_directory_path]
  1. Visualize dynamic regulation maps.

Dynamic regulation maps were plotted when the number of genes is less than or equal to 10 in the 4.1. If you want to plot them additionally or separately, follow the command below.

% cd src/lib/tools
% python plot_dynamic_regulation_map.py [dynamic regulation map file path] --type ['source' or 'target'] --out [output directory path] --name [dataset name]

References

Acknowledgement

The development of this algorithm was funded by JST CREST Grant Number JPMJCR2011 including AIP challenge program to Akira Funahashi and JSPS KAKENHI Grant Numbers 21J20961 to Yusuke Hiki.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors