Giter VIP home page Giter VIP logo

methcancer-gen's Introduction

methCancer-gen: a DNA methylome dataset generator for user-specified cancer type based on conditional variational autoencoder

methCancer-gen is a deep neural network-based tool for generating DNA methylome dataset based on a user-specified cancer-type. With the matrix of DNA methylation beta values and matched cancer type information as input, the methCancer-gen approximates the underlying distribution model of the input data. After model training, methylation beta value for the specified cancer type can be generated as output. methCancer-gen can address the lack of DNA methylation data and enhance efficiency in cancer related research.

Figure

Requirements

  • Tensorflow (>= 1.8.0)
  • Python (>= 2.7)
  • Python packages : numpy, pandas

Usage

Clone the repository or download source code files.

Preprocessing

  • Reference: ./preprocessing/
  1. Prepare or edit "cancer_type_info.csv" file having (1) cancer types to generate dataset and (2) matrix of DNA methylation beta value dataset file path for each cancer. We recommend to generate dataset in 25 cancer types whose accuracies were validated in our manuscript using TCGA data as training dataset. (They are listed in "cancer_type_info.csv" file.) The file should contain the headers and follow the format :
cancer_type,datafile
BLCA,BLCA_TP.csv
BRCA,BRCA_TP.csv
CESC,CESC_TP.csv
COAD,COAD_TP.csv
...

Each data file should contain matrix of DNA methylation beta value, where each row and column represent CpG site and sample ID, respectively :

cpg,sample_1,sample_2,...,sample_n
cg00000029,0.249737,0.464333,...,0.061501
cg00000165,0.347463,0.115849,...,0.216793
cg00000236,0.917430,0.881644,...,0.908840
...
  1. Use "run_preproc.sh" to perform preprocessing.

Generating DNA methylome dataset for given cancer type

  • Reference: ./methCancer_gen/
  1. Prepare or edit "sample_info.csv" file having (1) cancer types to generate dataset and (2) number of samples to generate for each cancer. Cancer type should be in same order listed in preprocessing step. The file should contain the headers and follow the format :
cancer_type,sample_num
BLCA,100
BRCA,100
CESC,100
COAD,100
...
  1. Use "run_methCancer_gen.sh" to generate DNA methylaion dataset for user-specified cancer types.
  2. You can get the final output "Generated_dataset_from_methCancer_gen.csv".

Contact

If you have any question or problem, please send an email to [email protected]

methcancer-gen's People

Contributors

cbi-bioinfo avatar joungmin-choi 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.