NAME

BIE::Data::HDF5::Path - Perl extension for walking around in HDF5 files.

SYNOPSIS

  use BIE::Data::HDF5::Path;

  my $h5file = BIE::Data::HDF5::Path->new("data.h5");
  #only support creation of relative group name currently
  $h5file->mkPath("newPath/newSubPath/newSubSubPath");
  #both relative and absolute group names work when set new path
  $h5file->path("newPath");
  $h5file->path("/newPath/newSubPath");

DESCRIPTION

BIE::Data::HDF5::Path is a module for operation of locations in HDF5 data file.

ATTRIBUTES AND METHODS

  • "id": The ID of the path.

  • "mkPath": Create a new location in HDF5 File. Only accept relative path now.

  • "list": List all entries under the path.

  • "cd": Enter another path. Return a BIE::Data::HDF5::Path object if successfully.

  • "openData": Return a BIE::Data::HDF5::Data if successfully.

SEE ALSO

BIE::Data::HDF5::File

BIE::Data::HDF5::Data

BIE::App::PacBio See this module for a live example.

AUTHOR

Xin Zheng, <zhengxin@mail.nih.gov>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Xin Zheng

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.