0
|
1 # $Id: chadosxpr.pm,v 1.2 2002/12/05 13:46:35 heikki Exp $
|
|
2 #
|
|
3 # BioPerl module for Bio::SearchIO::chadosxpr
|
|
4 #
|
|
5 # Chris Mungall <cjm@fruitfly.org>
|
|
6 #
|
|
7 # You may distribute this module under the same terms as perl itself
|
|
8
|
|
9 # POD documentation - main docs before the code
|
|
10
|
|
11 =head1 NAME
|
|
12
|
|
13 Bio::SearchIO::chadosxpr - chadosxpr sequence input/output stream
|
|
14
|
|
15 =head1 SYNOPSIS
|
|
16
|
|
17 It is probably best not to use this object directly, but
|
|
18 rather go through the SearchIO handler system. Go:
|
|
19
|
|
20 $stream = Bio::SearchIO->new(-file => $filename, -format => 'chadosxpr');
|
|
21
|
|
22 while ( my $seq = $stream->next_seq() ) {
|
|
23 # do something with $seq
|
|
24 }
|
|
25
|
|
26 =head1 DESCRIPTION
|
|
27
|
|
28 This object can transform Bio::Search objects to and from chadosxpr flat
|
|
29 file databases. CURRENTLY ONLY TO
|
|
30
|
|
31
|
|
32 =head1 FEEDBACK
|
|
33
|
|
34 =head2 Mailing Lists
|
|
35
|
|
36 User feedback is an integral part of the evolution of this
|
|
37 and other Bioperl modules. Send your comments and suggestions preferably
|
|
38 to one of the Bioperl mailing lists.
|
|
39 Your participation is much appreciated.
|
|
40
|
|
41 bioperl-l@bioperl.org - General discussion
|
|
42 http://www.bioperl.org/MailList.shtml - About the mailing lists
|
|
43
|
|
44 =head2 Reporting Bugs
|
|
45
|
|
46 Report bugs to the Bioperl bug tracking system to help us keep track
|
|
47 the bugs and their resolution.
|
|
48 Bug reports can be submitted via email or the web:
|
|
49
|
|
50 bioperl-bugs@bio.perl.org
|
|
51 http://bio.perl.org/bioperl-bugs/
|
|
52
|
|
53 =head1 AUTHOR - Chris Mungall
|
|
54
|
|
55 Email cjm@fruitfly.org
|
|
56
|
|
57 =head1 APPENDIX
|
|
58
|
|
59 The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
|
|
60
|
|
61 =cut
|
|
62
|
|
63 # Let the code begin...
|
|
64
|
|
65 package Bio::SearchIO::chadosxpr;
|
|
66 use Bio::SearchIO::chado;
|
|
67 use vars qw(@ISA);
|
|
68 use strict;
|
|
69
|
|
70 use Data::Stag::SxprWriter;
|
|
71
|
|
72 @ISA = qw(Bio::SearchIO::chado);
|
|
73
|
|
74 sub default_handler_class {
|
|
75 return "Data::Stag::SxprWriter";
|
|
76 }
|
|
77
|
|
78 1;
|