GithubHelp home page GithubHelp logo

nibsv's Introduction

NibblerSV

Fading out to https://github.com/brentp/nibsv <--

Intro

nibsv genotypes base-resolved structural variants by counting the occurence of novel k-mers generated at the break-points.

This means that nibsv has very high specificity, but because there are some SVs that do not generate novel k-mers, it can have a lower sensitivity.

Usage

To run nibsv, download the static binary from the releases and run as:

nibsv -o ${genotyped_vcf} \
  -k 13 --space 17 --space 18 \
  ${sites_vcf}  ${bam_or_cram} ${reference_fasta}

Full usage:

[nibsv] version: 0.0.2 commit: b1b9e06937d519fed27f9032b26a285367106354
nibsv

Usage:
  nibsv [options] vcf bam ref

Arguments:
  vcf              SV vcf with sites to genotype
  bam              bam or cram file for sample
  ref              reference fasta file

Options:
  -k=K                       kmer-size must be <= 15 if space > 0 else 31 (default: 27)
  --space=SPACE              space between kmers (can be specified multiple times)
  -o=O                       output vcf (default: nibsv.vcf.gz)
  --cram-ref=CRAM_REF        optional reference fasta file for cram if difference from reference fasta
  -h, --help                 Show this help

Contributors

Brent Pedersen1, Christopher Dunn2, Eric Dawson3, Fritz Sedlazeck4, Peter Xie5, and Zev Kronenberg2

1 University of Utrecht; 2PacBio; 3Nvidia Corporation; 4Baylor College of Medicine; 5JBrowse (UC Berkeley);

nibsv's People

Contributors

brentp avatar fritzsedlazeck avatar zeeev avatar

Stargazers

Joseph Lalli avatar  avatar Shangzhe Zhang avatar Vlad Savelyev avatar Ricardo A. Vialle avatar Darek Kedra avatar Wouter De Coster avatar Jia-Xing Yue avatar Cheng Quan avatar Yilei Fu avatar Ronak Shah avatar Sangjin Lee avatar Colin Diesh avatar Eric T. Dawson avatar Dr. K. D. Murray avatar peterdfields avatar  avatar  avatar Zhuo CHEN avatar Sina Majidian avatar  avatar Billy Rowell avatar Zih-Hua Fang avatar

Watchers

 avatar  avatar Eric T. Dawson avatar Sairam avatar Christopher Dunn avatar Suresh Kumar M avatar  avatar

nibsv's Issues

running nibSV

Hi there, I just tried to make it work on OS X. I installed nib first using homebrew (after a bit of wrestling of installing from the source), and in the end nib seems to work for me now. Then both steps of nibSV installation also seemed successful by log, but then when I execute ./src/nibsv it complains about a problematic library (the same I get when I execute the example).

./src/nibsv --help
could not load: libhts.dylib
(compile with -d:nimDebugDlOpen for more information)

Don't even know where to start looking... I never tried to get a nib program to work, so it might be something really basic :-)

far fetched tought

So, I just submitted the report.

I gave up on testing everything, but I tried to at least give every tool a fair thought, so I ended up with a really long one. So in the end I tried to cut on things that we too far fetched and this is the one I had for nibSV:

Then I had this far fetched thought. I see the process somewhat analogous to how salmon/kallisto work with assigning reads to individual transcripts. The difference is that salmon/kallisto operate on kmer graphs and treating reads as a consecutive sequences of kmers when trying to find the most likely source transcript for each read. How much different it would be for nibSV build a (de Brujin?) graph, instead of the kmer dictionary? Taking the order of kmers into account would then allow using also kmers that are found in other genomic regions but in different local contexts (i.e. you would probably not need the kmer filtering step). Furthermore, treating each read as haplotype-specific set of kmers could also help to genotype heterozygous variants. I presume there would be a computational cost to building a graph, but I am pretty sure that salmon/kallisto scale very well to enormous reference sizes and depths of sequencing libraries hence it might be almost as fast as the current nibSV approach. Is that completely unreasonable?

how do we build this now?

The makefile was deleted, so I'm not sure how this is supposed to be built anymore. Brent, could you add something to the README?

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.