NAME

Bio::ViennaNGS::Bed - Object-oriented interface for manipulation of genomic interval data in BED format

SYNOPSIS

use Bio::ViennaNGS::Bed;

my $bedobject = Bio::ViennaNGS::Bed->new();

DESCRIPTION

This module provides a Moose interface for storage and manipulation of genomic interval data. It is primarily used as a convenience wrapper for BED data with more generic Bio::ViennaNGS classes for feature annotation, such as Bio::ViennaNGS::MinimalFeature, Bio::ViennaNGS::Feature, Bio::ViennaNGS::FeatureChain and Bio::ViennaNGS::FeatureLine.

METHODS

get_length
Title   : _build_length
Usage   : $obj->_build_length();
Function: Compute the length of a BED12 interval block / line, i.e.
          the sum over the lengths of all intervals that make up a
          BED12 entry.
Args    :
Returns :
as_bed_line
Title   : as_bed_line
Usage   : $obj->as_bed_line($bedtype);
Function: Dump the contents of the object as BED6 or BED12 line.
Args    : C<$bedtype> can either be 6 or 12, determining BED6 or BED12
          output.
Returns : A (tab-separated) BED6 or BED12 line as string.

DEPENDENCIES

Carp

AUTHORS

Michael T. Wolfinger <michael@wolfinger.eu>

COPYRIGHT AND LICENSE

Copyright (C) 2015 Michael T. Wolfinger <michael@wolfinger.eu>

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

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.