Skip to content

Commit

Permalink
biology/py-ont-fast5-api: Interface to Oxford Nanopore .fast5 files
Browse files Browse the repository at this point in the history
The ont_fast5_api is a simple interface to HDF5 files of the Oxford
Nanopore .fast5 file format. It provides:

    o Implementation of the fast5 file schema using h5py library
    o Methods to interact with and reflect the fast5 file schema
    o Tools to convert between multi_read and single_read formats
    o Tools to compress/decompress raw data in files
  • Loading branch information
Jason W. Bacon authored and Jason W. Bacon committed Aug 13, 2021
1 parent 6aeff2e commit 5797d6a
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions biology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
SUBDIR += py-loompy
SUBDIR += py-macs2
SUBDIR += py-multiqc
SUBDIR += py-ont-fast5-api
SUBDIR += py-orange3-bioinformatics
SUBDIR += py-orange3-single-cell
SUBDIR += py-pandas-charm
Expand Down
42 changes: 42 additions & 0 deletions biology/py-ont-fast5-api/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
PORTNAME= ont-fast5-api
DISTVERSIONPREFIX= release_
DISTVERSION= 4.0.0
CATEGORIES= biology python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= jwb@FreeBSD.org
COMMENT= Interface to HDF5 files in Oxford Nanopore .fast5 format

LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE.md

LIB_DEPENDS= libvbz_hdf_plugin.so:archivers/vbz-compression
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}h5py>=2.2.0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}progressbar>0:misc/py-progressbar@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes

GH_ACCOUNT= nanoporetech
GH_PROJECT= ont_fast5_api

NO_ARCH= yes
NO_BUILD= yes

post-patch:
${RM} ${WRKSRC}/ont_fast5_api/vbz_plugin/*

pre-configure:
@${REINPLACE_CMD} -e 's|progressbar33|progressbar|g' \
${WRKSRC}/setup.py \
${WRKSRC}/README.rst \
${WRKSRC}/ont_fast5_api/conversion_tools/conversion_utils.py

do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions biology/py-ont-fast5-api/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1628770827
SHA256 (nanoporetech-ont_fast5_api-release_4.0.0_GH0.tar.gz) = 7f9b3fa0f814ff38c30e9cb21971ec61e2b3fd52fb166a8404c21bf25679e0ab
SIZE (nanoporetech-ont_fast5_api-release_4.0.0_GH0.tar.gz) = 4081125
9 changes: 9 additions & 0 deletions biology/py-ont-fast5-api/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The ont_fast5_api is a simple interface to HDF5 files of the Oxford
Nanopore .fast5 file format. It provides:

o Implementation of the fast5 file schema using h5py library
o Methods to interact with and reflect the fast5 file schema
o Tools to convert between multi_read and single_read formats
o Tools to compress/decompress raw data in files

WWW: https://pypi.python.org/pypi/ont_fast5_api

0 comments on commit 5797d6a

Please sign in to comment.