Giter VIP home page Giter VIP logo

scrinvex's Introduction

Scrinvex Logo


Single Cell RNA Intron-Exon Counting

scrinvex counts intronic, exonic, and junction-spanning reads for each unique barcode encountered in the input bam. Each mapped read is checked against the input gtf to determine if the read lies entirely on introns, exons, or crosses at least one intron/exon junction. Reads with the same UMI are only checked against any given gene once. Subsequent reads with the same UMI will not be checked against any gene that the first read intersected.

Install scR-Invex

  • git clone --recursive [email protected]:getzlab/scrinvex.git
    • If you do not use --recursive you will be missing dependencies
    • Fix with git submodule update --init --recursive
  • make

Docker Image

scR-Invex is available via gcr.io/broad-cga-aarong-gtex/scrinvex

Usage

scrinvex {gtf} {bam} [-h] [-b {barcode file}] [-q {mapping quality}] [-o {output filename}] [-s [{summary filename}]]

GTF

scR-Invex requires that the input GTF be collapsed in such a way that each gene possesses only one transcript, and that there are no overlapping features on the same strand. You can collapse existing GTFs using the GTEx collapse annotation script

BAM

scR-Invex can read SAM, BAM, and, if the genome exists in your htscache, CRAM formats. The input sequence file does not need to be indexed, but scR-Invex requires that the file be sorted.

Barcodes

scR-Invex can read a barcodes.tsv file, which is produced by cellranger by default. The file should be a list of barcodes with one barcode on each line. Only reads with a barcode listed in the file will be considered.

Output Format

scrinvex produces 1 file, which defaults to {sample name}.scrinvex.tsv

This file contains 7 columns:

  • gene_id
  • barcode
  • Counts of intron, junction, or exon reads for that gene id - barcode combination, respectively
  • Counts of sense and antisense reads for that gene id - barcode combination, respectively

scrinvex's People

Contributors

agraubert 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.