Code Monkey home page Code Monkey logo

genki's Introduction

GenKI (Gene Knock-out Inference)

A VGAE (Variational Graph Auto-Encoder) based model to learn perturbation using scRNA-seq data.
New! Data has been added.
Paper

drawing


Install dependencies

Fist install dependencies of GenKI with conda:

conda env create -f environment.yml
conda activate ogenki

Install pytorch-geometric following the document:
https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html

Install GenKI with pip:

pip install git+https://github.com/yjgeno/GenKI.git

or install it manually from source:

git clone https://github.com/yjgeno/GenKI.git
cd GenKI
pip install .

Tutorial

Virtual KO experiment:
https://github.com/yjgeno/GenKI/blob/master/notebook/Example.ipynb

genki's People

Contributors

yjgeno avatar

Stargazers

 avatar  avatar BioWalker avatar AAAAAA avatar Hongru Hu avatar  avatar shaoxing Dai avatar Yingzhou Shi avatar  avatar  avatar

Watchers

James Cai avatar  avatar

genki's Issues

The kernel died when importing build_adata, DataLoader and VGAE_trainer

Hi, @yjgeno @guanxunli @jamesjcai.
Thanks for the wonderful package.

I installed dependencies and GenKI following your instruction.
But I couldn't use your package because of an issue.
When I run the code below, jupyter notebook restart automatically with the message "the kernel appears to have died. it will restart automatically".

from GenKI.preprocesing import build_adata
from GenKI.dataLoader import DataLoader
from GenKI.train import VGAE_trainer

Could you help me solve this problem?

Thank you.

Can genkI help me to generate some simulation data?

Hi!
Thanks for your perfect work! I'm looking for a method which can generate virtual perturbed data. When I notice GenKi can predict the effect after perturbation of certain target, I wonder if Genki could just generate the simulated KO data for independent analysis in addition to the initial goal. Besides, I am also concerned about if GenKI can perturb multiple genes simultaneously as a optional setting.
With best wishes!
cdd

Benchmark on number of cells and runtime

Hi @yjgeno @jamesjcai @guanxunli

Thanks for developing GenKI. I was excited to use it to knockout a gene from Malaria Cell Atlas and see if it gives better results in terms of biology than scTenifoldKnk. Since the MCA atlas is large, nearly 29K cells, I split them into their sell stages and then tried running GenKI. I have 7K cells in current run and I am using 12 cores but it's been entire day and it seems to have stuck at DataLoader step.

Do you have any benchmark as to how much time will it take against number of cells?

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.