Giter VIP home page Giter VIP logo

cplae_snmcat's Introduction

Coupled autoencoders snmCAT dataset

Environment

  1. Create the conda environment with the required dependencies.
conda create -n snmCAT
conda activate snmCAT
conda install python=3.7
conda install pytorch torchvision torchaudio -c pytorch
pip install jupyterlab scikit-learn feather-format seaborn pandas rich tqdm timebudget autopep8 pyqt5
  1. Clone and install this repo:
git clone https://github.com/rhngla/cplAE_snmCAT
cd cplAE_snmCAT
pip install -e .
  1. Get the data required for this repository
data_dir
    ├── CH.csv
    ├── mCH.csv
    ├── metadata.csv
    └── rna.csv
  1. Specify data paths in config.toml (at repository root level):
data_dir = "/home/Local/dat/raw/snmCAT-seq/"
metadata_file = "/home/Local/dat/raw/snmCAT-seq/metadata.csv"
rna_file = "/home/Local/dat/raw/snmCAT-seq/rna.csv"
mCH_file = "/home/Local/dat/raw/snmCAT-seq/mCH.csv"
CH_file = "/home/Local/dat/raw/snmCAT-seq/CH.csv"
outlier_file = "/home/Local/dat/raw/snmCAT-seq/outliers.csv" # .csv is generated within notebook 02_ouliers_E.ipynb

Dataset description

Human snmCAT-seq dataset from Luo et al. 2019, shared by Fangming Xie from Eran Mukamel's group.

DNA methylation (mC), open chromatin (A), and transcriptomes (T) were measured in the same set of single nuclei .

  • metadata.csv: general information of each cell, including ID, biological sample, and cell cluster labels.
  • rna.csv: Unnormalized cell x gene count matrix
  • mCH.csv: cell x gene matrix, representing methylated cytosine count in the gene body of that gene
  • CH.csv: cell x gene matrix with total number of cytosines (methylated + unmethylated).

mCH and CH matrices have the same dimensions. Element-wise ratio of mCH to CH (i.e. fraction of methylated to total cytosines) are usually interpreted as DNA methylation levels.

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.