Git Product home page Git Product logo

sjcount's Introduction

Copyright 2013 Dmitri Pervouchine ([email protected]), Lab Roderic Guigo Bioinformatics and Genomics Group @ Centre for Genomic Regulation Parc de Recerca Biomedica: Dr. Aiguader, 88, 08003 Barcelona

This file is a part of the 'sjcount' package. 'sjcount' package is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

'sjcount' package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with 'sjcount' package. If not, see http://www.gnu.org/licenses/.

============================================================================

DESCRIPTION

sjcount is a utility for fast SJ quantification. It is an annotation-agnostic offset-aware vesrion of bam2ssj (see https://github.com/pervouchine/bam2ssj)

This a light version of sjcount-full package (https://github.com/pervouchine/sjcount-full) which does not count multisplits

============================================================================

INSTALLATION

To install, type 'make all'

Prerequisites: You need samtools, but it will be installed automatically by the makefile Samtools package Version: 0.1.18

NOTE that

  1. If samtools is already installed, you can simply update the SAMTOOLS_DIR varibale in the makefile

  2. Some users get error messages even when compiling sjcount with a correct SAMDIR path, something like

    /centos6/samtools-9.3.2013/libbam.a(bgzf.o): In function mt_destroy: /centos6/samtools-9.3.2013/bgzf.c:458: undefined reference to pthread_join /centos6/samtools-9.3.2013/libbam.a(bgzf.o): In function bgzf_mt: /centos6/samtools-9.3.2013/bgzf.c:445: undefined reference to pthread_create

This error has to do with big zip libraries, not with samtools.

============================================================================

USAGE

Usage: ./sjcount -bam bam_file [-ssj junctions_output] [-ssc boundaries_output] [-log log_file] [-read1 0|1] [-read2 0|1] [-nbins number_of_bins] [-lim number_of_lines] [-quiet]

Input: a sorted BAM file with header

Options:

-read1 0/1, reverse complement read1 no/yes (default=1)
-read2 0/1, reverse complement read2 no/yes (default=0)
-nbins number of overhang bins, (default=1)
-maxnh, the max value of the NH tag, (default=none)
-lim nreads stop after nreads, (default=no limit)
-unstranded, force strand to be '.'
-continuous, no mismatches when overlapping splice boundaries
-quiet, suppress verbose output

Output:

-ssj: Splice Junction counts, tab-delimited  (default=stdout)
Columns are: chr, begin, end, strand, offset, count
-ssc: Splice boundary counts, tab-delimited  (default=none)
Columns are: chr, position, strand, offset, count

============================================================================

DETAILS See documentation in latex/sjcount.pdf

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.