Git Product home page Git Product logo

chromium's Introduction

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:

  • help wanted (extra attention is needed)
  • question (further information is requested)

Feedback

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)

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

chromium's People

Contributors

jma1991 avatar

Stargazers

Niek Wit avatar Ge Wu avatar allisonvmitch avatar  avatar Susheel Bhanu Busi avatar Robin Garcia avatar

chromium's Issues

getFeatureRangers error

Hi,

Thanks for making the workflow publicly available. I'm trying to run a test dataset and getting the following error(s):

Error in rule eisar_ranges:
    jobid: 29
    output: results/eisar/GRCh38.p13/GRCh38.p13.ranges.rds
    log: results/eisar/GRCh38.p13/GRCh38.p13.ranges.out, results/eisar/GRCh38.p13/GRCh38.p13.ranges.err (check log file(s) for error message)
    conda-env: /mnt/lscratch/users/sbusi/aaron_MG_MT/scrna/.snakemake/conda/336b4d3ff693c764dcc44de6b60b8999

RuleException:
CalledProcessError in line 21 of /mnt/lscratch/users/sbusi/aaron_MG_MT/scrna/workflow/rules/eisar.smk:
Command 'source /scratch/users/sbusi/tools/miniconda3/bin/activate '/mnt/lscratch/users/sbusi/aaron_MG_MT/scrna/.snakemake/conda/336b4d3ff693c764dcc44de6b60b8999'; set -euo pipefail;  Rscript --vanilla /mnt/lscratch/users/sbusi/aaron_MG_MT/scrna/.snakemake/scripts/tmpkayhz1p2.eisar_ranges.R' returned non-zero exit status 1.

The log file has the following message:

Error in getFeatureRanges(gtf = input$gtf, featureType = c("spliced",  :
  getFeatureRanges() requires installing the Bioconductor package 'GenomicFeatures' using BiocManager::install("GenomicFeatures")
Calls: main -> getFeatureRanges
Execution halted

any idea why this might be the case?

Thank you,
Susheel

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.