dhtslib ~master

D bindings for htslib


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

dhtslib

Overview

D bindings and convenience wrappers for htslib

Installation

Add dhtslib as a dependency to dub.json:

    "dependencies": {
        "dhtslib": "~>0.4.0",

(version number 0.4.0 is example but current as of today)

Usage

Convenience Wrappers

Object-oriented, idomatic(ish) D wrappers are available for:

  • BGZF (dhtslib.bgzf)
  • FASTA indexes (dhtslib.faidx)
  • Tabix (dhtslib.tabix)
  • VCF (dhtslib.vcf)

For example, this provides access to BGZF files by line as a consumable InputRange.

htslib API

Direct bindings to htslib C API are available as submodules under dhtslib.htslib. For example, import dhtslib.htslib.faidx for direct access to the C function calls. The current compatible versions are 1.7-1.9.

Currently implemented fully or partially:

  • bgzf
  • faidx
  • hts
  • regidx
  • sam
  • tbx
  • vcf
Authors:
  • James S. Blachly, MD
Dependencies:
none
Versions:
0.4.0 2018-Aug-25
0.3.0 2018-Aug-19
0.2.0 2018-May-28
0.1.2 2018-Apr-28
0.1.1 2018-Apr-28
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 8 downloads total

Score:
0.0
Short URL:
dhtslib.dub.pm