Git Product home page Git Product logo

biod's Introduction

BioD Build Status DUB Package

BioD is a fast and memory efficient bioinformatics library written in the D programming language.

BioD aims to:

  • Provide a platform for writing high-performance bioinformatics applications in D. BioD achieves this by:
    • automatic parallelization of tasks where possible for example reading and writing BAM files
    • reducing the GC overhead by avoiding unnecessary memory allocations
  • Offer support for manipulating common biological data formats

Why D?

D is a language that suits parallel programming because of guarantees the compiler provides. D is both a low-level language and a high-level hybrid OOP/FP language. There is no other programming language that matches those features. Also, D templating/generics is far easier that that of C++ or, say, Scala.

That is not to say that D is an easy language. A powerful toolbox will be complicated. If you want to do everything with a hammer, maybe better choose Java instead ;).

For more information about D find Andrei Alexandrecu's D book. It is a classic. Ali Çehreli's book also is recommended.

Current development

Our current focus is to provide a bamreader and bamwriter that is really fast and easy to use. We believe the BAM format is here to stay for the foreseeable future in pipelines. With D we have an good way to write performance parsers, particularly with three typical scenarios:

  1. Go through a BAM file a read at a time
  2. Go through a BAM file a nucleotide at a time (pileup)
  3. Go through a BAM file with a sliding window

The sliding window is a derivation of the first - a read at a time or a nucleotide at a time.

At this point this functionality is mostly in BioD, but not in an intuitive way. We are building up this functionality and will give examples (WIP).

Install

The current default is to provide the path to the checked out repo to the D-compiler. For example in sambamba we use

DFLAGS = -wi -I. -IBioD -g

Usage

See the examples directory for examples and usage.

BioD is also a crucial part of the sambamba tool.

Contributing

Simply clone the repository on github and put in a pull request.

BioD contributors and support

See contributors. For support use the issue tracker or contact

License

BioD is licensed under the liberal MIT (expat) license.

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.