Diff of /README.md [000000] .. [03464c]

Switch to unified view

a b/README.md
1
# OmiEmbed
2
***Please also have a look at our brand new omics-to-omics DL freamwork 👀:***
3
[OmiTrans](https://github.com/zhangxiaoyu11/OmiTrans)
4
5
[![DOI](https://zenodo.org/badge/334077812.svg)](https://zenodo.org/badge/latestdoi/334077812)
6
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/ce304bf91b534e26b310b3c50072e8ae)](https://www.codacy.com/gh/zhangxiaoyu11/OmiEmbed/dashboard?utm_source=github.com&utm_medium=referral&utm_content=zhangxiaoyu11/OmiEmbed&utm_campaign=Badge_Grade)
7
[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/zhangxiaoyu11/OmiEmbed/blob/main/LICENSE)
8
![Safe](https://img.shields.io/badge/Stay-Safe-red?logo=data:image/svg%2bxml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNTEwIDUxMCIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTAgNTEwIiB3aWR0aD0iNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnPjxnPjxwYXRoIGQ9Im0xNzQuNjEgMzAwYy0yMC41OCAwLTQwLjU2IDYuOTUtNTYuNjkgMTkuNzJsLTExMC4wOSA4NS43OTd2MTA0LjQ4M2g1My41MjlsNzYuNDcxLTY1aDEyNi44MnYtMTQ1eiIgZmlsbD0iI2ZmZGRjZSIvPjwvZz48cGF0aCBkPSJtNTAyLjE3IDI4NC43MmMwIDguOTUtMy42IDE3Ljg5LTEwLjc4IDI0LjQ2bC0xNDguNTYgMTM1LjgyaC03OC4xOHYtODVoNjguMThsMTE0LjM0LTEwMC4yMWMxMi44Mi0xMS4yMyAzMi4wNi0xMC45MiA0NC41LjczIDcgNi41NSAxMC41IDE1LjM4IDEwLjUgMjQuMnoiIGZpbGw9IiNmZmNjYmQiLz48cGF0aCBkPSJtMzMyLjgzIDM0OS42M3YxMC4zN2gtNjguMTh2LTYwaDE4LjU1YzI3LjQxIDAgNDkuNjMgMjIuMjIgNDkuNjMgNDkuNjN6IiBmaWxsPSIjZmZjY2JkIi8+PHBhdGggZD0ibTM5OS44IDc3LjN2OC4wMWMwIDIwLjY1LTguMDQgNDAuMDctMjIuNjQgNTQuNjdsLTExMi41MSAxMTIuNTF2LTIyNi42NmwzLjE4LTMuMTljMTQuNi0xNC42IDM0LjAyLTIyLjY0IDU0LjY3LTIyLjY0IDQyLjYyIDAgNzcuMyAzNC42OCA3Ny4zIDc3LjN6IiBmaWxsPSIjZDAwMDUwIi8+PHBhdGggZD0ibTI2NC42NSAyNS44M3YyMjYuNjZsLTExMi41MS0xMTIuNTFjLTE0LjYtMTQuNi0yMi42NC0zNC4wMi0yMi42NC01NC42N3YtOC4wMWMwLTQyLjYyIDM0LjY4LTc3LjMgNzcuMy03Ny4zIDIwLjY1IDAgNDAuMDYgOC4wNCA1NC42NiAyMi42NHoiIGZpbGw9IiNmZjRhNGEiLz48cGF0aCBkPSJtMjEyLjgzIDM2MC4xMnYzMGg1MS44MnYtMzB6IiBmaWxsPSIjZmZjY2JkIi8+PHBhdGggZD0ibTI2NC42NSAzNjAuMTJ2MzBoMzYuMTRsMzIuMDQtMzB6IiBmaWxsPSIjZmZiZGE5Ii8+PC9nPjwvc3ZnPg==)
9
[![GitHub Repo stars](https://img.shields.io/github/stars/zhangxiaoyu11/OmiEmbed?style=social)](https://github.com/zhangxiaoyu11/OmiEmbed/stargazers)
10
[![GitHub forks](https://img.shields.io/github/forks/zhangxiaoyu11/OmiEmbed?style=social)](https://github.com/zhangxiaoyu11/OmiEmbed/network/members)
11
12
**OmiEmbed: A Unified Multi-task Deep Learning Framework for Multi-omics Data**
13
14
**Xiaoyu Zhang** (x.zhang18@imperial.ac.uk)
15
16
Data Science Institute, Imperial College London
17
18
## Introduction
19
20
OmiEmbed is a unified framework for deep learning-based omics data analysis, which supports:
21
22
1.  Multi-omics integration
23
2.  Dimensionality reduction
24
3.  Omics embedding learning
25
4.  Tumour type classification
26
5.  Phenotypic feature reconstruction
27
6.  Survival prediction
28
7.  Multi-task learning for aforementioned tasks
29
30
Paper Link: [https://doi.org/10.3390/cancers13123047](https://doi.org/10.3390/cancers13123047)
31
32
## Getting Started
33
34
### Prerequisites
35
-   CPU or NVIDIA GPU + CUDA CuDNN
36
-   [Python](https://www.python.org/downloads) 3.6+
37
-   Python Package Manager
38
    -   [Anaconda](https://docs.anaconda.com/anaconda/install) 3 (recommended)
39
    -   or [pip](https://pip.pypa.io/en/stable/installing/) 21.0+
40
-   Python Packages
41
    -   [PyTorch](https://pytorch.org/get-started/locally) 1.2+
42
    -   TensorBoard 1.10+
43
    -   Tables 3.6+
44
    -   scikit-survival 0.6+
45
    -   prefetch-generator 1.0+
46
-   [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) 2.7+
47
48
### Installation
49
-   Clone the repo
50
```bash
51
git clone https://github.com/zhangxiaoyu11/OmiEmbed.git
52
cd OmiEmbed
53
```
54
-   Install the dependencies
55
    -   For conda users  
56
    ```bash
57
    conda env create -f environment.yml
58
    conda activate omiembed
59
    ```
60
    -   For pip users
61
    ```bash
62
    pip install -r requirements.txt
63
    ```
64
65
### Try it out
66
-   Train and test using the built-in sample dataset with the default settings
67
```bash
68
python train_test.py
69
```
70
-   Check the output files
71
```bash
72
cd checkpoints/test/
73
```
74
-   Visualise the metrics and losses
75
```bash
76
tensorboard --logdir=tb_log --bind_all
77
```
78
79
## Citation
80
If you use this code in your research, please cite our paper.
81
```bibtex
82
@Article{OmiEmbed2021,
83
    AUTHOR = {Zhang, Xiaoyu and Xing, Yuting and Sun, Kai and Guo, Yike},
84
    TITLE = {OmiEmbed: A Unified Multi-Task Deep Learning Framework for Multi-Omics Data},
85
    JOURNAL = {Cancers},
86
    VOLUME = {13},
87
    YEAR = {2021},
88
    NUMBER = {12},
89
    ARTICLE-NUMBER = {3047},
90
    ISSN = {2072-6694},
91
    DOI = {10.3390/cancers13123047}
92
}
93
```
94
95
## OmiTrans
96
***Please also have a look at our brand new omics-to-omics DL freamwork 👀:***
97
[OmiTrans](https://github.com/zhangxiaoyu11/OmiTrans)
98
99
## License
100
This source code is licensed under the [MIT](https://github.com/zhangxiaoyu11/OmiEmbed/blob/main/LICENSE) license.