module HTS
Based on hts-python github.com/quinlan-lab/hts-python
Based on hts-nim github.com/brentp/hts-nim/blob/master/src/hts/bam/flag.nim
Based on hts-python github.com/quinlan-lab/hts-python
Based on hts-python github.com/quinlan-lab/hts-python
Based on hts-python github.com/quinlan-lab/hts-python
BGZF
Based on hts-python github.com/quinlan-lab/hts-python
github.com/brentp/hts-nim/blob/master/src/hts/vcf.nim This is a port from Nim. TODO: Make it more like Ruby.
github.com/brentp/hts-nim/blob/master/src/hts/vcf.nim This is a port from Nim. TODO: Make it more like Ruby.
Constants
- VERSION
Attributes
lib_path[RW]
Public Class Methods
search_htslib(name = nil)
click to toggle source
# File lib/htslib.rb, line 13 def search_htslib(name = nil) name ||= "libhts.#{FFI::Platform::LIBSUFFIX}" lib_path = if ENV["HTSLIBDIR"] File.expand_path(name, ENV["HTSLIBDIR"]) else File.expand_path("../vendor/#{name}", __dir__) end return lib_path if File.exist?(lib_path) begin require "pkg-config" lib_dir = PKGConfig.variable("htslib", "libdir") lib_path = File.expand_path(name, lib_dir) rescue PackageConfig::NotFoundError warn "htslib.pc was not found in the pkg-config search path." end return lib_path if File.exist?(lib_path) warn "htslib shared library '#{name}' not found." end