Mercurial > repos > mahtabm > ensemb_rep_gvl
comparison variant_effect_predictor/Bio/SeqIO/chadoxml.pm @ 0:2bc9b66ada89 draft default tip
Uploaded
author | mahtabm |
---|---|
date | Thu, 11 Apr 2013 06:29:17 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2bc9b66ada89 |
---|---|
1 # $Id: chadoxml.pm,v 1.2 2002/12/05 13:46:36 heikki Exp $ | |
2 # | |
3 # BioPerl module for Bio::SeqIO::chadoxml | |
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::chadoxml - chadoxml 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 => 'chadoxml'); | |
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 chadoxml 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 | |
60 methods. Internal methods are usually preceded with a _ | |
61 | |
62 =cut | |
63 | |
64 # Let the code begin... | |
65 | |
66 package Bio::SeqIO::chadoxml; | |
67 use Bio::SeqIO::chado; | |
68 use vars qw(@ISA); | |
69 use strict; | |
70 | |
71 use Data::Stag::XMLWriter; | |
72 | |
73 @ISA = qw(Bio::SeqIO::chado); | |
74 | |
75 sub default_handler_class { | |
76 return "Data::Stag::XMLWriter"; | |
77 } | |
78 | |
79 1; |