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 exact() and approx() to get a new object of the respective type.
->
~>
new()
exact()
approx()
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 Kuehnl, <felix at bioinf.uni-leipzig.de>
<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.
bug-bio-rna-barmap at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Bio::RNA::BarMap
You can also look for information at the official BarMap website:
https://www.tbi.univie.ac.at/RNA/bar_map/
Github: the official repository
https://github.com/xileF1337/Bio-RNA-BarMap
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Bio-RNA-BarMap
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Bio-RNA-BarMap
CPAN Ratings
https://cpanratings.perl.org/d/Bio-RNA-BarMap
Search CPAN
https://metacpan.org/release/Bio-RNA-BarMap
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/.
To install Bio::RNA::BarMap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::RNA::BarMap
CPAN shell
perl -MCPAN -e shell install Bio::RNA::BarMap
For more information on module installation, please visit the detailed CPAN module installation guide.