Skip to content

samtools/htslib-plugins

Folders and files

NameName
Last commit message
Last commit date
Aug 10, 2016
Aug 10, 2016
Aug 13, 2018
Mar 19, 2021
Sep 21, 2018
Jun 14, 2016
Dec 3, 2017
Aug 9, 2016
Sep 22, 2016

Repository files navigation

Plugins for use with HTSlib.

Built plugins need to be on HTSlib's plugin search path so that HTSlib and programs using it can find them. This can be arranged in either of the following ways:

  • Copy them to HTSlib's built-in search path, which typically includes /usr/local/libexec/htslib and similar directories. (If building HTSlib yourself, use ./configure --with-plugin-path=…:DIR:… to include directories of your choice in the path.)

  • Alternatively, set the HTS_PATH environment variable to include the directory containing the built plugins.

EGA-style encrypted (.cip) files

The hfile_cip plugin provides access to files encrypted with the European Genome-Phenome Archive's AES-CTR scheme, which usually have the extension .cip. The en-/decryption key is taken from the $HTS_CIP_KEY environment variable.

iRODS

The hfile_irods plugin provides access to remote data stored in iRODS. It can be built for iRODS 3.x, 4.1.x, or 4.2 onwards, and the resulting plugins can be renamed with version numbers so that they can be installed alongside each other.

When built against iRODS 4.1.x, the plugin is incompatible with HTSlib 1.3.1 and earlier as it needs to be loaded with RTLD_GLOBAL. The hfile_irods_wrapper plugin can be installed in the same directory as hfile_irods to work around this problem and enable the iRODS plugin to be used with these earlier versions of HTSlib.

Memory-mapped local files

The hfile_mmap plugin provides access to local files via mmap(2).