~ubuntu-branches/ubuntu/trusty/bioperl/trusty

« back to all changes in this revision

Viewing changes to Bio/DB/Ace.pm

  • Committer: Package Import Robot
  • Author(s): Charles Plessy
  • Date: 2013-09-22 13:39:48 UTC
  • mfrom: (3.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20130922133948-c6z62zegjyp7ztou
Tags: 1.6.922-1
* New upstream release.
* Replaces and Breaks grinder (<< 0.5.3-3~) because of overlaping contents.
  Closes: #722910
* Stop Replacing and Breaking bioperl ( << 1.6.9 ): not needed anymore. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#
3
3
# BioPerl module for Bio::DB::Ace
4
4
#
5
 
# Please direct questions and support issues to <bioperl-l@bioperl.org> 
 
5
# Please direct questions and support issues to <bioperl-l@bioperl.org>
6
6
#
7
7
# Cared for by Ewan Birney <birney@ebi.ac.uk>
8
8
#
20
20
 
21
21
    $db = Bio::DB::Ace->new( -server => 'myace.server.com', port => '120000');
22
22
 
23
 
    $seq = $db->get_Seq_by_id('MUSIGHBA1'); # Unique ID
 
23
    $seq = $db->get_Seq_by_id('J00522'); # Unique ID
24
24
 
25
25
    # or ...
26
26
 
62
62
  bioperl-l@bioperl.org                  - General discussion
63
63
  http://bioperl.org/wiki/Mailing_lists  - About the mailing lists
64
64
 
65
 
=head2 Support 
 
65
=head2 Support
66
66
 
67
67
Please direct usage questions or support issues to the mailing list:
68
68
 
69
69
I<bioperl-l@bioperl.org>
70
70
 
71
 
rather than to the module maintainer directly. Many experienced and 
72
 
reponsive experts will be able look at the problem and quickly 
73
 
address it. Please include a thorough description of the problem 
 
71
rather than to the module maintainer directly. Many experienced and
 
72
reponsive experts will be able look at the problem and quickly
 
73
address it. Please include a thorough description of the problem
74
74
with code and data examples if at all possible.
75
75
 
76
76
=head2 Reporting Bugs
182
182
sub get_Seq_by_acc {
183
183
 
184
184
  my $self = shift;
185
 
  my $acc = shift or $self->throw("Must supply an accesion number!\n");
 
185
  my $acc = shift or $self->throw("Must supply an accession number!\n");
186
186
 
187
187
  return $self->get_Seq_by_id($acc);
188
188
}
208
208
}
209
209
 
210
210
1;
211
 
 
212
 
 
213
 
 
214
 
 
215
 
 
216