3 # BioPerl module for Bio::Factory::MapFactoryI
5 # Cared for by Jason Stajich <jason@bioperl.org>
7 # Copyright Jason Stajich
9 # You may distribute this module under the same terms as perl itself
11 # POD documentation - main docs before the code
15 Bio::Factory::MapFactoryI - A Factory for getting markers
19 # get a Map Factory somehow likely from Bio::MapIO system
21 while( my $map = $mapin->next_map ) {
22 print "map name is ", $map->name, " length is ",
23 $map->length, " ", $map->units, "\n";
24 $mapout->write_map($map);
29 This interface describes the necessary minimum methods for getting
30 Maps from a data stream. It also supports writing Map data back to a
37 User feedback is an integral part of the evolution of this and other
38 Bioperl modules. Send your comments and suggestions preferably to
39 the Bioperl mailing list. Your participation is much appreciated.
41 bioperl-l@bioperl.org - General discussion
42 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
46 Report bugs to the Bioperl bug tracking system to help us keep track
47 of the bugs and their resolution. Bug reports can be submitted via the
50 http://bugzilla.open-bio.org/
52 =head1 AUTHOR - Jason Stajich
54 Email jason@bioperl.org
58 The rest of the documentation details each of the object methods.
59 Internal methods are usually preceded with a _
64 # Let the code begin...
67 package Bio
::Factory
::MapFactoryI
;
70 use base
qw(Bio::Root::RootI);
75 Usage : my $map = $factory->next_map;
76 Function: Get a map from the factory
77 Returns : L<Bio::Map::MapI>
83 my ($self,@args) = @_;
84 $self->throw_not_implemented();
90 Usage : $factory->write_map($map);
91 Function: Write a map out through the factory
93 Args : L<Bio::Map::MapI>
98 my ($self,@args) = @_;
99 $self->throw_not_implemented();