Genome::Sys(3pm)

Genome::Sys3pm

System layer

Usage

use Genome;

my $dir = Genome::Sys->dbpath('cosmic', 'latest');

Version

This document describes Genome::Sys version 0.05.

Overview

Genome::Sys is a simple layer on top of OS-level concerns, including those automatically handled by the analysis system, like database cache locations.

Methods

swpath($name,$version)

Return the path to a given executable, library, or package.

This is a wrapper for the OS-specific strategy for managing multiple versions of software packages, (i.e. /etc/alternatives for Debian/Ubuntu)

The GENOME_SW environment variable contains a colon-separated lists of paths which this falls back to. The default value is /var/lib/genome/sw/.

dbpath($name,$version)

Return the path to the preprocessed copy of the specified database. (This is in lieu of a consistent API for the database in question.)

The GENOME_DB environment variable contains a colon-separated lists of paths which this falls back to. The default value is /var/lib/genome/db/.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12–13

From libgenome-perl 0.06-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.