https://github.com/berenslab/read-normalization
Companion repository to our Lause et al. (2023) preprint "Compound models and Pearson residuals for normalization of single-cell RNA-seq data without UMIs" (bioRxiv))
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: biorxiv.org, zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.6%) to scientific vocabulary
Repository
Companion repository to our Lause et al. (2023) preprint "Compound models and Pearson residuals for normalization of single-cell RNA-seq data without UMIs" (bioRxiv))
Basic Info
- Host: GitHub
- Owner: berenslab
- License: gpl-3.0
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://www.biorxiv.org/content/10.1101/2023.08.02.551637v2
- Size: 19.7 MB
Statistics
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
Compound models and Pearson residuals for single-cell RNA-seq data without UMIs
This repository holds the code needed to reproduce the analyses and figures presented in Lause et al. (2024). The code for the earlier version of the preprint from August 2023 can be found under the v1 release.
Code
Some of the notebooks depend on each other.
All plots based on the Tasic 2018 dataset require 01_prepare_tasic to run first. Then,
- to reproduce Figures for the homogeneous within-cluster data (Figure 2, S1, S2, S4), run notebook
02 - to reproduce Figures for the full Tasic data (Figure 3, S5, S6, S8), run notebook
03to compute t-SNEs etc. and notebook04to make the figures - to reproduce Figure S7 for the Census/qUMI comparison, run Census and qUMI with
05_compute_tasic_qumis_census.R(using our separate R environment, see below for setup instructions), and then run notebooks06-08to load the data, process and plot - to reproduce Figure S9 for the Tasic-like simulated data, use notebooks
09-11to simulate, process and plot - to reproduce Figure 6, run notebook
16to prepare simulated data and notebook17to plot
All plots based on the reads-per-UMI tables from the Ziegenhain/Hagemann-Jensen datasets requires 12_prepare_ziegenhain to run first. Then,
- to reproduce the main Figures 4 and 5, run notebook
13 - to reproduce Figure S3 on Pseudogenes, run notebook
14 - to reproduce Figure S10 and S11 on per-cell amplification parameter estimates, run notebook
15
Datasets
- Download the reads-per-UMI tables from zenodo and save them to
.data/reads_per_umi_tables/. R code to obtain the same tables from the public raw data is available indata/reads_per_umi_tables/prepare_data.R. - Download the Tasic raw count data from brain-map.org via the
Gene-level (exonic and intronic) read count values for all samples (zip)link. From these*.zipfiles, extract themouse_ALM_2018-06-14_exon-matrix.csvandmouse_VISp_2018-06-14_exon-matrix.csvto.data/tasic/. - All required metadata tables are contained in this repository for convenience.
Compute environment
We ran all notebooks in Python 3.8.10 on an Ubuntu machine with 40 CPUs and 440 GB RAM. The following package versions were used:
scanpy 1.9.0anndata 0.8.0sklearn 1.0.2numpy 1.21.5matplotlib 3.5.1openTSNE 0.6.0pandas 1.4.1seaborn 0.11.2mygene 3.2.2.scipy 1.8.0
Census and qUMI where run in a separate R conda environment specified in r41_env.yml. To install it, create the environment from that file with
conda env create -f r41_env.yml
Then, to install qUMI, activate the environment with conda activate r41_env_full, start R and run
remotes::install_github("willtownes/quminorm")
Owner
- Name: Berens Lab @ University of Tübingen
- Login: berenslab
- Kind: organization
- Email: philipp.berens@uni-tuebingen.de
- Location: Tübingen, Germany
- Website: https://hertie.ai/data-science
- Repositories: 60
- Profile: https://github.com/berenslab
Department of Data Science at the Hertie Institute for AI in Brain Health, University of Tübingen