0
|
1 # $Id: chadosxpr.pm,v 1.2 2002/12/05 13:46:36 heikki Exp $
|
|
2 #
|
|
3 # BioPerl module for Bio::SeqIO::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::SeqIO::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 SeqIO handler system. Go:
|
|
19
|
|
20 $stream = Bio::SeqIO->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::Seq objects to and from chadosxpr flat
|
|
29 file databases. CURRENTLY ONLY TO
|
|
30
|
|
31
|
|
32
|
|
33
|
|
34 =head1 FEEDBACK
|
|
35
|
|
36 =head2 Mailing Lists
|
|
37
|
|
38 User feedback is an integral part of the evolution of this
|
|
39 and other Bioperl modules. Send your comments and suggestions preferably
|
|
40 to one of the Bioperl mailing lists.
|
|
41 Your participation is much appreciated.
|
|
42
|
|
43 bioperl-l@bioperl.org - General discussion
|
|
44 http://www.bioperl.org/MailList.shtml - About the mailing lists
|
|
45
|
|
46 =head2 Reporting Bugs
|
|
47
|
|
48 Report bugs to the Bioperl bug tracking system to help us keep track
|
|
49 the bugs and their resolution.
|
|
50 Bug reports can be submitted via email or the web:
|
|
51
|
|
52 bioperl-bugs@bio.perl.org
|
|
53 http://bio.perl.org/bioperl-bugs/
|
|
54
|
|
55 =head1 AUTHOR - Chris Mungall
|
|
56
|
|
57 Email cjm@fruitfly.org
|
|
58
|
|
59 =head1 APPENDIX
|
|
60
|
|
61 The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
|
|
62
|
|
63 =cut
|
|
64
|
|
65 # Let the code begin...
|
|
66
|
|
67 package Bio::SeqIO::chadosxpr;
|
|
68 use Bio::SeqIO::chado;
|
|
69 use vars qw(@ISA);
|
|
70 use strict;
|
|
71
|
|
72 use Data::Stag::SxprWriter;
|
|
73
|
|
74 @ISA = qw(Bio::SeqIO::chado);
|
|
75
|
|
76 sub default_handler_class {
|
|
77 return "Data::Stag::SxprWriter";
|
|
78 }
|
|
79
|
|
80 1;
|