Giter Site home page Giter Site logo

dasvc's Introduction

DASVC - De-novo Assembly Structural Variant Caller Build Status

A tool for calling SVs from genome-wide contig alignments.

What does the pipeline do?

  1. Aligns a genome (query) to a reference genome (target) using LastZ.
  2. Chains the query genome against the target genome using UCSC
  3. Nets the chains. This resolves overlapping alignments and inversions.
  4. netToMaf mafToSam samToBam
  5. Sorts the bam by query
  6. Annotates the bam file and chains the query.
  7. Calls Structural Variants.

Dependancies (for the full pipeline)

The dependancies are only required if you'd like to run the whole pipeline. Otherwise, you can build you own netted SAM file and run the last step.

  1. LASTZ. For aligning contigs to a reference genome (lastz-distrib-1.03.73).
  2. LAST. Conversion from MAF to SAM (last/744).
  3. UCSC. File conversion, chaining and netting.
  4. SNAKEMAKE. Running the pipeline.
  5. CMAKE. Building Bamtools.
  6. BEDTOOLS. Basic range operations (2.21.0)

Installing

  1. Install dependancies
  2. get and build code :
git clone --recursive https://github.com/zeeev/DASVC.git
cd DASVC
make
  1. Export paths to binaries
  2. Modify the config file: "pipeline/config.json"
  3. Run Snakemake :

locally with 5 jobs :

snakemake -s Snakefile -j 25 -w 50

cluster with 25 jobs :

snakemake  -c "qsub {params.sge_opts}" -s Snakefile -j 25 -w 50

Annotations added to BAM file

  1. "QS" Query start
  2. "QE" Query end
  3. "QL" Query length
  4. "TS" Target start
  5. "TE" Target end
  6. "MB" Number matching bases in block (=|M)
  7. "PI" Percent identity
  8. "BI" Block ID (equivalent to query name)
  9. "TM" Total matching bases in query sequence
  10. "AI" Query order 1,2,3....

#Structural variant (SV) format

The SV calls are in bed format:

  1. Target seqid
  2. Target start
  3. target end
  4. SV type (internal is contained within an alignment block)
  5. SV length (insertions are in query length)
  6. Percent identity in alignment block or for flanking alignment blocks
  7. Number of bases matching in alignment block or for flanking alignment blocks
  8. Query seqid
  9. Query start
  10. Query end
  11. Sequence (for deletions it's the target sequence and insertions are the query sequence)

dasvc's People

Contributors

zeeev avatar

Watchers

James Cloos avatar Shwetha Canchi Murali 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.