Git Product home page Git Product logo

schimera's Introduction

Theseus

Theseus defeating the Minatour

Theseus is a relatively brute force approach to tackling the PCR chimera problem in scRNA-seq by filtering molecules that, for a given cell barcode and UMI pair, have low read abundance. We call this TPT normalization and is defined as follows. For a given pair of cell barcode and UMI, u, and a particular transcript i:

TPTi,u = (readsi,u)/sum(readsj,u)

Where the denominator is summed over all transcripts j sharing the same u.

The user can define a threshold to filter molecules with low TPT and obtain a new expression matrix.

Yorimasa

Yorimasa defeating the Nue

Yorimasa, is a slighlty more sophisticated option, in which the user specifies labels for cells and a set of genes that should be relatively unique for that population. A random forest classifier is trained on the dataset using a diverse set of features. A filter is applied using the out-of-bag probability estimates to remove chimeric molecules.

The features used may include:

  • Reads per molecule
  • TPT
  • Relative abundance of the cell barcode
  • Relative abundance of the transcript
  • Transcript GC content
  • Transcript length

Folder Contents

This folder contains iPython notebooks that process Drop-seq output (examples are included in the data subfolder along with precomputed gene level features) with Yorimasa and Theseus and a python script that processes 10X output run using cellranger 1.2+ with Theseus. The names Bellerophon and Perseus were taken already in the context of PCR chimeras.

Usage for 10x Theseus script:

The h5 file is typically the molecule_info file

python theseus_10x.py  FULLPATH2H5.h5 OUTPUTPATH TPT_THRESHOLD NUMBER_OF_CELLS

Python Dependencies: pandas, numpy, matplotlib, seaborn, scipy, sklearn, statsmodels

schimera's People

Contributors

asncd avatar

Watchers

James Cloos avatar David Feldman 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.