Skip to content

s312569/bioreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bioreader

A simple library for opening readers on compressed files. Currently supports gzipped, zipped and bzipped files using strings or java.io.File objects as inputs. The type of compression is determined by examining the extension of the file - '.gz' for gunzipped, ".zip" for zipped or ".bz2" for bzipped.

Usage

Library defines a single function `bioreader' which takes a string or a java.io.File object as an input and returns a buffered reader on the file. If the underlying file is zipped, gzipped or bzipped the appropriate input streams are applied before returning the buffered reader.

To use:

In project.clj:

[bioreader "0.1.0"]

then:

(ns yournamespace.core (:require [bioreader.core :refer [bioreader]]))

License

Copyright © 2015 Jason Mulvenna

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published