jma1991 / chromium

A Snakemake workflow to process scRNA-seq data from 10x Genomics
MIT License
7 stars 0 forks source link
snakemake

Chromium

A Snakemake workflow to process scRNA-seq data from 10x Genomics

DOI

Contents

Overview

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:

Installation

Chromium and all of its dependencies can be installed via the mamba package manager:

  1. Install Snakemake and Snakedeploy

    $ mamba create -c bioconda -c conda-forge --name snakemake snakemake snakedeploy
  2. Activate the Snakemake environment

    $ mamba activate snakemake
  3. Create a project directory

    $ mkdir -p path/to/project
  4. Deploy the workflow in the project directory

    $ snakedeploy deploy-workflow https://github.com/snakemake-workflows/chromium path/to/project

Usage

  1. Create workflow configuration

    $ vim config/config.yaml   # workflow parameters
  2. Create samples table

    $ vim config/samples.csv   # sample metadata
  3. Create units table

    $ vim config/units.csv   # unit metdata
  4. Test configuration by performing a dry-run

    $ snakemake -n
  5. Execute workflow and deploy software dependencies

    $ snakemake --cores all --use-conda

For more information, see the Usage section of the documentation.

Documentation

Full documentation for Chromium is available here

Support

If you need help, open an issue with one of the following labels:

Feedback

If you have any suggestions, open an issue with one of the following labels:

Contributing

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.

Authors

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.

Citation

If you use Chromium in your research, please cite using the DOI: 10.5281/zenodo.4783308

Used By

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.

Acknowledgements

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:

License

Chromium is licensed under the MIT license.
Copyright © 2020, James Ashmore