Remove manipulation of @INC and use of lib - require install for use.
[bioperl-live.git] / lib / Bio / Factory / MapFactoryI.pm
blobf7a86ca6c16312ec5a4353e5682e69a490b641dd
2 # BioPerl module for Bio::Factory::MapFactoryI
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Jason Stajich <jason@bioperl.org>
8 # Copyright Jason Stajich
10 # You may distribute this module under the same terms as perl itself
12 # POD documentation - main docs before the code
14 =head1 NAME
16 Bio::Factory::MapFactoryI - A Factory for getting markers
18 =head1 SYNOPSIS
20 # get a Map Factory somehow likely from Bio::MapIO system
22 while( my $map = $mapin->next_map ) {
23 print "map name is ", $map->name, " length is ",
24 $map->length, " ", $map->units, "\n";
25 $mapout->write_map($map);
28 =head1 DESCRIPTION
30 This interface describes the necessary minimum methods for getting
31 Maps from a data stream. It also supports writing Map data back to a
32 stream.
34 =head1 FEEDBACK
36 =head2 Mailing Lists
38 User feedback is an integral part of the evolution of this and other
39 Bioperl modules. Send your comments and suggestions preferably to
40 the Bioperl mailing list. Your participation is much appreciated.
42 bioperl-l@bioperl.org - General discussion
43 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
45 =head2 Support
47 Please direct usage questions or support issues to the mailing list:
49 I<bioperl-l@bioperl.org>
51 rather than to the module maintainer directly. Many experienced and
52 reponsive experts will be able look at the problem and quickly
53 address it. Please include a thorough description of the problem
54 with code and data examples if at all possible.
56 =head2 Reporting Bugs
58 Report bugs to the Bioperl bug tracking system to help us keep track
59 of the bugs and their resolution. Bug reports can be submitted via the
60 web:
62 https://github.com/bioperl/bioperl-live/issues
64 =head1 AUTHOR - Jason Stajich
66 Email jason@bioperl.org
68 =head1 APPENDIX
70 The rest of the documentation details each of the object methods.
71 Internal methods are usually preceded with a _
73 =cut
76 # Let the code begin...
79 package Bio::Factory::MapFactoryI;
80 use strict;
82 use base qw(Bio::Root::RootI);
84 =head2 next_map
86 Title : next_map
87 Usage : my $map = $factory->next_map;
88 Function: Get a map from the factory
89 Returns : L<Bio::Map::MapI>
90 Args : none
92 =cut
94 sub next_map{
95 my ($self,@args) = @_;
96 $self->throw_not_implemented();
99 =head2 write_map
101 Title : write_map
102 Usage : $factory->write_map($map);
103 Function: Write a map out through the factory
104 Returns : none
105 Args : L<Bio::Map::MapI>
107 =cut
109 sub write_map{
110 my ($self,@args) = @_;
111 $self->throw_not_implemented();