Giter Club home page Giter Club logo

ab_capture's Introduction

Feature Barcoding analysis

These scripts help you demultiplexing your feature barcoding data when you have hashtags of donors.

All the information goes into the configuration file (YAML format). There is an example (config.yaml) with comments regarding the files' format.

There are two main R scripts:

  • demux_seurat.R, performes the demultiplexing of hashtags using Seurat's MULTIseqDemux and further making sure we classify doublets correctly and rescuing barcodes labeled as negative.
  • summary.R, summarises the classified data and gets the barcode names ready to merge it into an aggregated data.

The files you need to prepare are:

  1. Sample sheet ('samples' in the YAML file).
    • Table with columns 'gex' (path), 'capture' (path), and name.
    • Can be avoided if your samples have consistent names you can use to select pairs of Ab capture (CITE) and gene expression (Gex) data. Then you just indicate the Cell Ranger output folder of containing CITE and Gex folders in the 'count_info' part of config.yaml.

NOTES:

  1. The pipeline relies on the samples having the follwing patterns in their name:
    • Gex: to use Cell Ranger's "count" routine.
    • CITE: to use Cell Ranger's "count" routine and identify it as Feature Barcode.

It takes about 5 minutes with 90K cells with 20gb and 1 node/1 processor.

Install

Clone this repository (your ~/bin folder is a good place).

git clone https://github.com/vijaybioinfo/ab_capture.git
cd ab_capture

Make sure your config template is pointing to where you have the pipeline. This will also add the run.sh script as an alias.

sh locate_pipeline.sh

Run the pipeline

After you've added the necessary information to the YAML file you can call the pipeline.

ab_capture -y /path/to/project/config.yaml

ab_capture's People

Contributors

vijaybioinfo avatar emmanuelcastro-3312 avatar kevinmlanderos avatar

Watchers

 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.