Sanger Institute, Wellcome Trust Genome Campus, Cambs, UK All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.
use GFF;
How to Read Method Protocols
Normal Perl data type notations are used for argument declarations in the method protocols. A backslash denotes argument passing by reference. Class methods are invoked using the 'class->method(args)' or 'method class args' Perl call formats.
$ref
is a properly defined object reference in that class. If invoked by the GFF
class, then verifies that the $ref belongs to any one of the
GFF derived classes. Method 'dies' upon failure, unless the
$nodie variable is non-null (default: null), in which case,
the function merely carps a warning and returns null for failure.
$level to a number greater than 1 triggers a verbose
GFF.pm et al. module diagnostic mode output to STDERR. If
$level argument is omitted, then the trace is turned off.
Examples: verify() (above) reports success; GFF::read()
provides user feedback during file input. Generally speaking, the verbosity
of the output depends upon the $level given: 1 = minimum trace
(most useful for monitoring certain iterative operations like reading in a
file), 2 = verbose (debug) trace (not so useful except for GFF.pm coders)
10/11/99 - rbsk: see GeneFeatureSet.pm, GifGFF.pm and Graph.pm
4/10/99 - rbsk: see GeneFeatureSet.pm and GeneFeature.pm
27/08/99 - rbsk: GeneFeature parse_group bug fix
26/08/99 - rbsk: GeneFeature.pm changes...
28/1/99 - rbsk: module renamed from GFFObject.pm => GFF.pm
overall GFF object module hierarchy remolded
GFF.pm => GFF::GeneFeatureSet.pm
GeneFeature.pm => GFF::GeneFeature.pm
HomolGeneFeature.pm => GFF::HomolGeneFeature.pm
all in GFF subdirectory
22/4/99 - rbsk: added trace(), verify() and trace() methods
16/3/99 - rbsk: created this class to abstract "version" method
from GFF, GeneFeature and HomolGeneFeature.