blib/lib/Bio/ViennaNGS/ExtFeature.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Bio/ViennaNGS.pm ↑ Summary blib/lib/Bio/ViennaNGS/FeatureIntervalN.pm »
1 # -*-CPerl-*-
2 # Last changed Time-stamp: <2017-06-10 19:00:46 michl>
3  
4 package Bio::ViennaNGS::ExtFeature;
5  
6 1 ▶use Bio::ViennaNGS;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use version; our $VERSION = version->declare("$Bio::ViennaNGS::VERSION");
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 extends 'Bio::ViennaNGS::Feature';
11  
12  
13 1 has 'extension' => (
14 is => 'rw',
15 isa => 'Str',
16 default => '',
17 predicate => 'has_extension',
18 );
19  
20 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 1 1;
23  
24 __END__
25  
26  
27 =head1 NAME
28  
29 Bio::ViennaNGS::ExtFeature - A Moose wrapper for extended BED6-type
30 genomic intervals.
31  
32 =head1 SYNOPSIS
33  
34 use Bio::ViennaNGS::ExtFeature;
35  
36 my $expression = Bio::ViennaNGS::Feature->new(chromosome => "chr1",
37 start => "1200",
38 end => "4300",
39 strand => "+",
40 name => "foobar",
41 score => "100",
42 extension => "34:x:36 100:200",
43 );
44  
45 =head1 DESCRIPTION
46  
47 This module provides an object-oriented interface for storing extended
48 genomic intervals characterized via chromosome, start position, end
49 position, name, score, strand as well as an arbitrary string. As such,
50 it can be regarded a simple wrapper for extended BED6 elements.
51  
52 This class inherits from L<Bio::ViennaNGS::Feature>.
53  
54 =head1 SEE ALSO
55  
56 =over
57  
58 =item L<Bio::ViennaNGS>
59  
60 =item L<Bio::ViennaNGS::Feature>
61  
62 =back
63  
64 =head1 AUTHORS
65  
66 Michael T. Wolfinger E<lt>michael@wolfinger.euE<gt>
67  
68 =head1 COPYRIGHT AND LICENSE
69  
70 Copyright (C) 2014-2017 Michael T. Wolfinger E<lt>michael@wolfinger.euE<gt>
71  
72 This library is free software; you can redistribute it and/or modify
73 it under the same terms as Perl itself, either Perl version 5.10.0 or,
74 at your option, any later version of Perl 5 you may have available.
75  
76 This program is distributed in the hope that it will be useful, but
77 WITHOUT ANY WARRANTY; without even the implied warranty of
78 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
79 General Public License for more details.
80  
81 =cut
« blib/lib/Bio/ViennaNGS.pm ↑ Summary blib/lib/Bio/ViennaNGS/FeatureIntervalN.pm »