13 Jan 2022 10:02:18 UTC
- Distribution: Bio-RNA-BarMap
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (260 / 0 / 0)
- KwaliteeBus factor: 1
- 81.35% Coverage
- License: gpl_3
- Activity24 month
- Download (26.36KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionFELIXK Felix Kühnland 1 contributors
- Felix Kuehnl
- LICENSE AND COPYRIGHT
Bio::RNA::BarMap::Mapping::Type - Represents the type of a BarMap mapping (exact or approximate)
use v5.12; # for 'say' use Bio::RNA::BarMap; # Get a new mapping type object ... from arrow string: my $type = Bio::RNA::BarMap::Mapping::Type->new('->'); # exact $type = Bio::RNA::BarMap::Mapping::Type->new('~>'); # approx # ... or programmatically: $type = Bio::RNA::BarMap::Mapping::Type->exact; # exact $type = Bio::RNA::BarMap::Mapping::Type->approx; # approx # Verify mapping type. say 'Mapping is ', $type->is_exact ? 'exact' : 'approximate'; say 'Mapping arrow: ', $type->arrow;
The objects of this class are used to represent the two possible types of a mapping, either exact or approximate, and to easily convert between these two values and their respective arrow representation. In BarMap files,
->denotes an exact mapping, and
~>an approximate one. The object is constructed from the arrow string via the constructor
new(), or using the methods
approx()to get a new object of the respective type.
Constructs a new type object from its arrow string representation, i. e.
->for the exact and
~>for the approximate variant.
Class method. Returns a new mapping type object of exact type.
Class method. Returns a new mapping type object of approximate type.
Returns true iff the current object is of exact type.
Returns true iff the current object is of approximate type.
Returns the type of this object in its arrow string representation, i. e.
->for the exact and
~>for the approximate.
<felix at bioinf.uni-leipzig.de>
Please report any bugs or feature requests by raising an issue at https://github.com/xileF1337/Bio-RNA-BarMap/issues.
You can also do so by mailing to
bug-bio-rna-barmap at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Bio-RNA-BarMap. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at the official BarMap website:
Github: the official repository
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
Copyright 2019 Felix Kuehnl.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Module Install Instructions
To install Bio::RNA::BarMap, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Bio::RNA::BarMap
For more information on module installation, please visit the detailed CPAN module installation guide.