Git Product home page Git Product logo

fast5's Introduction

Fast5 Library

http://travis-ci.org/mateidavid/fast5.svg?branch=master http://img.shields.io/:license-mit-blue.svg

A lightweight C++ library for accessing Oxford Nanopore Technologies sequencing data.

Installation

Core C++ Library

The core library is written in header-only C++11, and it enables read-write access to fast5 files from C++ code.

The core library requires no installation, other than setting the compiler’s include path to find fast5.hpp. See f5ls-full.cpp for an example.

The core library is built on top the HDF5 C API, so the compiler must also be able to find the HDF5 headers and libraries. See the project’s Travis CI Dockerfile for an example of how to install prerequisites on Debian Jessie.

Python Wrapper

The Python wrapper for the core library enables read-only access to fast5 files from Python code. The wrapper also adds several Python scripts:

f5ls
Summarize contents of fast5 files.
f5pack
Pack and unpack fast5 files. For a detailed description of this tool, see our blog post.

The Python wrapper also depends on Cython. To build the Python wrapper:

# set paths to HDF5
export HDF5_INCLUDE_DIR=/path/to/hdf5.h
export HDF5_LIB_DIR=/path/to/libhdf5.so

# either
make -C python develop         # to install in a virtualenv
# or
make -C python develop-user    # to install in user mode

License

MIT License.

fast5's People

Contributors

0xaf1f avatar chocobo1 avatar edwardbetts avatar jts avatar mateidavid avatar nicolaprezza avatar

Watchers

 avatar  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.