NAME

Qiime2::Artifact - A parser for Qiime2 artifact files

VERSION

version 0.10.7

Wiki

This module is a work-in-progress and the documentation of the API can be found in the GitHub wiki: https://github.com/telatin/qiime2tools/wiki/.

Synopsis

use Qiime2::Artifact;

my $artifact = Qiime2::Artifact->new( {
      filename => 'tree.qza'
  } );

print "Artifact_ID: ",  $artifact->{id};

Methods

new()

Load artifact from file. Parameters are:

filename (path, required)

Path to the artifact file to be imported (typical extensions are qza and qzv, but they are not enforced)

unzip (path)

To specify the absolute path to unzip binary. By default system unzip will be used.

verbose (bool)

Enable verbose reporting (for developers)

get($key)

Return the $artifact->{$key}, and throws an error if the error is not found.

Artifact object

AUTHOR

Andrea Telatin <andrea@telatin.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Andrea Telatin.

This is free software, licensed under:

The MIT (X11) License