| 1 | # -*-CPerl-*- | ||
| 2 | # Last changed Time-stamp: <2018-07-03 12:59:06 mtw> | ||
| 3 | |||
| 4 | package Bio::ViennaNGS::FeatureIntervalN; | ||
| 5 | |||
| 6 | 1 | ▶ | use version; our $VERSION = version->declare("$Bio::ViennaNGS::VERSION"); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | extends 'Bio::ViennaNGS::FeatureInterval'; | |
| 11 | |||
| 12 | 1 | has 'name' => ( | |
| 13 | is => 'rw', | ||
| 14 | isa => 'Str', | ||
| 15 | required => '1', | ||
| 16 | predicate => 'has_name', | ||
| 17 | ); | ||
| 18 | |||
| 19 | 1 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 1 | 1; | |
| 22 | |||
| 23 | __END__ | ||
| 24 | |||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Bio::ViennaNGS::FeatureIntervalN - A Moose wrapper for named genomic | ||
| 29 | intervals. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | use Bio::ViennaNGS::FeatureIntervalN; | ||
| 34 | |||
| 35 | my $feat = Bio::ViennaNGS::FeatureIntervalN->new(chromosome => "chr1", | ||
| 36 | start => "1200", | ||
| 37 | end => "4300", | ||
| 38 | name => "myFeature", | ||
| 39 | ); | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | This module provides an object-oriented interface for storing | ||
| 44 | elementary names genomic intervals characterized via chromosome, | ||
| 45 | start position, end position and name. | ||
| 46 | |||
| 47 | This class inherits from L<Bio::ViennaNGS::FeatureInterval>. | ||
| 48 | |||
| 49 | =head1 SEE ALSO | ||
| 50 | |||
| 51 | =over | ||
| 52 | |||
| 53 | =item L<Bio::ViennaNGS> | ||
| 54 | |||
| 55 | =item L<Bio::ViennaNGS::FeatureInterval> | ||
| 56 | |||
| 57 | =back | ||
| 58 | |||
| 59 | =head1 AUTHORS | ||
| 60 | |||
| 61 | Michael T. Wolfinger E<lt>michael@wolfinger.euE<gt> | ||
| 62 | |||
| 63 | =head1 COPYRIGHT AND LICENSE | ||
| 64 | |||
| 65 | Copyright (C) 2014-2017 Michael T. Wolfinger E<lt>michael@wolfinger.euE<gt> | ||
| 66 | |||
| 67 | This library is free software; you can redistribute it and/or modify | ||
| 68 | it under the same terms as Perl itself, either Perl version 5.10.0 or, | ||
| 69 | at your option, any later version of Perl 5 you may have available. | ||
| 70 | |||
| 71 | This program is distributed in the hope that it will be useful, but | ||
| 72 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 73 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 74 | General Public License for more details. | ||
| 75 | |||
| 76 | =cut | ||