| 1 | # $Id: bioperl.lisp 15559 2009-02-23 12:11:20Z maj $ | ||
| 2 | # | ||
| 3 | # BioPerl module for Bio::Search::Hit::hmmer3Hit | ||
| 4 | # | ||
| 5 | # Please direct questions and support issues to <bioperl-l@bioperl.org> | ||
| 6 | # | ||
| 7 | # Cared for by Thomas Sharpton <thomas.sharpton@gmail.com> | ||
| 8 | # | ||
| 9 | # Copyright Thomas Sharpton | ||
| 10 | # | ||
| 11 | # You may distribute this module under the same terms as perl itself | ||
| 12 | |||
| 13 | # POD documentation - main docs before the code | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Bio::Search::Hit::hmmer3Hit - DESCRIPTION of Object | ||
| 18 | |||
| 19 | =head1 SYNOPSIS | ||
| 20 | |||
| 21 | Give standard usage here | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | Describe the object here | ||
| 26 | |||
| 27 | =head1 FEEDBACK | ||
| 28 | |||
| 29 | =head2 Mailing Lists | ||
| 30 | |||
| 31 | User feedback is an integral part of the evolution of this and other | ||
| 32 | Bioperl modules. Send your comments and suggestions preferably to | ||
| 33 | the Bioperl mailing list. Your participation is much appreciated. | ||
| 34 | |||
| 35 | bioperl-l@bioperl.org - General discussion | ||
| 36 | http://bioperl.org/wiki/Mailing_lists - About the mailing lists | ||
| 37 | |||
| 38 | =head2 Support | ||
| 39 | |||
| 40 | Please direct usage questions or support issues to the mailing list: | ||
| 41 | |||
| 42 | L<bioperl-l@bioperl.org> | ||
| 43 | |||
| 44 | rather than to the module maintainer directly. Many experienced and | ||
| 45 | reponsive experts will be able look at the problem and quickly | ||
| 46 | address it. Please include a thorough description of the problem | ||
| 47 | with code and data examples if at all possible. | ||
| 48 | |||
| 49 | =head2 Reporting Bugs | ||
| 50 | |||
| 51 | Report bugs to the Bioperl bug tracking system to help us keep track | ||
| 52 | of the bugs and their resolution. Bug reports can be submitted via | ||
| 53 | the web: | ||
| 54 | |||
| 55 | https://github.com/bioperl/bioperl-live/issues | ||
| 56 | |||
| 57 | =head1 AUTHOR - Thomas Sharpton | ||
| 58 | |||
| 59 | Email thomas.sharpton@gmail.com | ||
| 60 | |||
| 61 | Describe contact details here | ||
| 62 | |||
| 63 | =head1 CONTRIBUTORS | ||
| 64 | |||
| 65 | Additional contributors names and emails here | ||
| 66 | |||
| 67 | =head1 APPENDIX | ||
| 68 | |||
| 69 | The rest of the documentation details each of the object methods. | ||
| 70 | Internal methods are usually preceded with a _ | ||
| 71 | |||
| 72 | =cut | ||
| 73 | |||
| 74 | # Let the code begin... | ||
| 75 | |||
| 76 | package Bio::Search::Hit::hmmer3Hit; | ||
| 77 | 1 | $Bio::Search::Hit::hmmer3Hit::VERSION = '1.7.3'; | |
| 78 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 79 | |||
| 80 | 1 | ▶ | use base qw(Bio::Search::Hit::GenericHit); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 81 | |||
| 82 | =head2 new | ||
| 83 | |||
| 84 | Title : new | ||
| 85 | Usage : my $obj = Bio::Search::Hit::HMMERHit->new(); | ||
| 86 | Function: Builds a new Bio::Search::Hit::HMMERHit object | ||
| 87 | Returns : Bio::Search::Hit::HMMERHit | ||
| 88 | Args : | ||
| 89 | |||
| 90 | Plus the Bio::Search::Hit::GenericHit inherited params | ||
| 91 | -name => Name of Hit (required) | ||
| 92 | -description => Description (optional) | ||
| 93 | -accession => Accession number (optional) | ||
| 94 | -length => Length of the Hit (optional) | ||
| 95 | -score => Raw Score for the Hit (optional) | ||
| 96 | -significance => Significance value for the Hit (optional) | ||
| 97 | -algorithm => Algorithm used (BLASTP, FASTX, etc...) | ||
| 98 | -hsps => Array ref of HSPs for this Hit. | ||
| 99 | |||
| 100 | |||
| 101 | =cut | ||
| 102 | |||
| 103 | |||
| 104 | =head2 next_domain | ||
| 105 | |||
| 106 | Title : next_domain | ||
| 107 | Usage : my $domain = $hit->next_domain(); | ||
| 108 | Function: An alias for L<next_hsp()>, this will return the next HSP | ||
| 109 | Returns : L<Bio::Search::HSP::HSPI> object | ||
| 110 | Args : none | ||
| 111 | |||
| 112 | |||
| 113 | =cut | ||
| 114 | |||
| 115 | 0 | ▶ | sub next_domain{ shift->next_hsp } |
|
Subroutine
next_domain: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 116 | |||
| 117 | =head2 domains | ||
| 118 | |||
| 119 | Title : domains | ||
| 120 | Usage : my @domains = $hit->domains(); | ||
| 121 | Function: An alias for L<hsps()>, this will return the full list of hsps | ||
| 122 | Returns : array of L<Bio::Search::HSP::HSPI> objects | ||
| 123 | Args : none | ||
| 124 | |||
| 125 | |||
| 126 | =cut | ||
| 127 | |||
| 128 | 0 | ▶ | sub domains{ shift->hsps() } |
|
Subroutine
domains: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 129 | |||
| 130 | =head2 bits | ||
| 131 | |||
| 132 | Usage : $hit_object->bits(); | ||
| 133 | Purpose : Gets the bit score of the best HSP for the current hit. | ||
| 134 | Example : $bits = $hit_object->bits(); | ||
| 135 | Returns : Integer or undef if bit score is not set | ||
| 136 | Argument : n/a | ||
| 137 | |||
| 138 | See Also : L<score()|score> | ||
| 139 | |||
| 140 | =cut | ||
| 141 | |||
| 142 | 0 | ▶ | sub bits { return 0 } |
|
Subroutine
bits: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 143 | |||
| 144 | =head2 iteration | ||
| 145 | |||
| 146 | Title : iteration | ||
| 147 | Usage : $obj->iteration($newval) | ||
| 148 | Function: PSI-BLAST iteration | ||
| 149 | Returns : value of iteration | ||
| 150 | Args : newvalue (optional) | ||
| 151 | |||
| 152 | |||
| 153 | =cut | ||
| 154 | |||
| 155 | 0 | ▶ | sub iteration { return 0 } |
|
Subroutine
iteration: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 156 | |||
| 157 | 1 | 1; | |