NAME
Bio::Phylo::Parsers::Table - A library for parsing plain text tables.
SYNOPSIS
my $table = new Bio::Phylo::Parsers::Table;
my $matrix = $table->parse(
-file => 'data.dat',
-type => 'STANDARD',
-separator => '\t'
);
DESCRIPTION
This module is used to import data and taxa, from a plain text file, such as a tab-delimited file.
CONSTRUCTOR
- new()
-
Type : Constructor Title : new Usage : my $table = new Bio::Phylo::Parsers::Table; Function: Initializes a Bio::Phylo::Parsers::Table object. Returns : A Bio::Phylo::Parsers::Table object. Args : none.
PARSER
- from_handle(%options)
-
Type : parser Title : from_handle(%options) Usage : $table->from_handle(%options); Function: Extracts data from file, populates matrix object Returns : A Bio::Phylo::Matrices::Matrix object. Args : -handle => (\*FH), -separator => (record separator) Comments:
CONTAINER
- container
-
Type : Internal method Title : container Usage : $table->container; Function: Returns : SCALAR Args :
- container_type
-
Type : Internal method Title : container_type Usage : $table->container_type; Function: Returns : SCALAR Args :
AUTHOR
Rutger Vos, <rvosa@sfu.ca>
http://www.sfu.ca/~rvosa/
BUGS
Please report any bugs or feature requests to bug-bio-phylo@rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Bio-Phylo. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
ACKNOWLEDGEMENTS
The author would like to thank Jason Stajich for many ideas borrowed from BioPerl http://www.bioperl.org, and CIPRES http://www.phylo.org and FAB* http://www.sfu.ca/~fabstar for comments and requests.
COPYRIGHT & LICENSE
Copyright 2005 Rutger Vos, All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.