Giter VIP home page Giter VIP logo

tenx's Introduction

tenx

A collection of Python3 pipelines that call R and Python3 scripts for the analysis of data generated with the 10x Genomics platform. The pipelines are based on 10x's Cell Ranger pipeline and DropEst for mapping and quantitation.

Downstream analysis currently relies on both the R Seurat library and Python Scanpy package, and makes use of many excellent tools from the community including Scran, DropletUtils, SingleR, Clustree, Destiny (for diffusion maps), PHATE, PAGA and Scvelo) for downstream analysis. Automatic export of UCSC cell browser instances is also supported.

For geneset over representation analysis the pipelines use a bespoke R package called gsfisher, which can also be used interactively to analyse single-cell data.

The pipelines are in active development, and should be considered "beta" software - please use at your own risk!

Examples

Interferon beta stimulated PBMCs

This example shows how the Seurat stimulated and control vignette can be reproduced by the pipeline.

Pancreatic embryogenesis

This is the scvelo Bastidas-Ponce et al. dataset

Microwell-seq Mouse Atlas (240k cells)

Here pipeline_seurat.py was run usin the seurat object provided by the Seurat authors in their Guided Clustering of the Microwell-seq Mouse Cell Atlas vignette.

installation and dependencies

  1. Installation
  2. Dependencies

typical workflow

  1. Perform mapping, quantification, aggregation and down-sampling using: pipelines/pipeline_cellranger.py

    • Can be run either from cellranger mkfastq or cellranger aggr outputs.
    • Samples are mapped and quantitated with cellranger count.
    • Aggregation of sample matrices is performed with with cellranger aggr.
    • Cells with barcodes shared between cells can be removed (within sequencing batch) to mitigate index hopping.
    • Random down-sampling of the UMI-count matrix is supported.
    • Arbitrary subsets of the aggregated dataset can be generated.
  2. Perform downstream analysis using a Seurat based workflow: pipelines/pipeline_seurat.py

    • This can be run either from count matrices (e.g. pipeline_cellranger.py output) or from saved Seurat object(s).
    • Analysis of multiple samples with different parameter combinations can be executed in parallel.
    • Supports testing for genes differently expressed between conditions.
    • Supports finding conserved markers (both between cluster and condition).
    • Support for basic geneset over-enrichment analysis (including of arbitrary "gmt" genesets e.g. from MSigDB) using gsfisher.
    • Support for visualising expression of arbitrary lists of genes on violin and UMAP plots.
    • The pipeline includes Clustree, PAGA, ScVelo, Diffusion maps, PHATE maps and SingleR.
    • The pipeline can automatically generate UCSC cell browser instances.

tenx's People

Contributors

snsansom avatar kathrinjansen avatar kevinrue avatar mjgomezv avatar bio-la avatar ladakoneva avatar

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.