Git Product home page Git Product logo

bioio's Introduction

Bioio

Bioio is a header-only, fast, C++11 library for FASTA/Q I/O. The API includes:

  • Indexed fasta sequence reads.
  • Non-indexed fasta record reading.
  • Fastq record reading.

The library is intended to be as flexible as possible, including features such as:

  • Templated methods, allowing any contiguous containers (e.g. std::vector and std::string) for sequences.
  • Optional functional parameters which are applied to record names before extraction.

Fasta

fasta.cpp is a simple command line application that uses bioio to fetch subsequences from an indexed fasta file. It can be compiled with make, and is used like

./fasta [options] <fasta_path> <region>

where options can include -i to set the index path, -s to output the length of the given sequence.

region is of the format contig:[begin]-[end] where begin and end are optional (e.g. X is all of contig X, and X:1000- is everything from 1000 to the end of X).

e.g.

./fasta human_g1k_v37.fasta X:1,000,000-1,000,100
./fasta human_g1k_v37.fasta 5:10,040,010-

bioio's People

Watchers

James Cloos 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.