A Snakemake workflow to process scRNA-seq data from 10x Genomics
Chromium is a Snakemake workflow to process 3' single cell RNA sequencing data from the 10x Genomics platform. It is compatible with 10xv2 and 10xv3 chemistry and features three different quantification methods to obtain both spliced and unspliced abundance estimates:
Chromium and all of its dependencies can be installed via the mamba package manager:
-
Install Snakemake and Snakedeploy
$ mamba create -c bioconda -c conda-forge --name snakemake snakemake snakedeploy
-
Activate the Snakemake environment
$ mamba activate snakemake
-
Create a project directory
$ mkdir -p path/to/project
-
Deploy the workflow in the project directory
$ snakedeploy deploy-workflow https://github.com/snakemake-workflows/chromium path/to/project
-
Create workflow configuration
$ vim config/config.yaml # workflow parameters
-
Create samples table
$ vim config/samples.csv # sample metadata
-
Create units table
$ vim config/units.csv # unit metdata
-
Test configuration by performing a dry-run
$ snakemake -n
-
Execute workflow and deploy software dependencies
$ snakemake --cores all --use-conda
For more information, see the Usage section of the documentation.
Full documentation for Chromium is available here
If you need help, open an issue with one of the following labels:
- help wanted (extra attention is needed)
- question (further information is requested)
If you have any suggestions, open an issue with one of the following labels:
- documentation (improvements or additions to documentation)
- enhancement (new feature or request)
To contribute to Chromium, clone this repository locally and commit your code on a separate branch. Please generate unit tests for your code and run the linter before opening a pull request:
$ snakemake --generate-unit-tests # generate unit tests
$ snakemake --lint # run the linter
You can find more details in the Contributing guide.
Participation in this project is subject to a Code of Conduct.
Chromium was developed by James Ashmore but has benefited from contributions by the following:
If you would like to be added to this list, please open a pull request with your contribution.
If you use Chromium in your research, please cite using the DOI: 10.5281/zenodo.4783308
Chromium is used by the following companies and institutes:
If you would like to be added to this list, please open a pull request with your information.
The methods were chosen based on this research paper:
Soneson C, Srivastava A, Patro R, Stadler MB (2021) Preprocessing choices affect RNA velocity results for droplet scRNA-seq data. PLoS Comput Biol 17(1): e1008585. https://doi.org/10.1371/journal.pcbi.1008585
The workflow was motivated by the following projects:
The documentation was informed by the following articles:
Chromium is licensed under the MIT license.
Copyright © 2020, James Ashmore