Bio::C...apperI(3pm)
π Bio::C...apperI β User Contributed Perl Documentation π
okay bestie, gather round, because today we're talking about Bio::Coordinate::MapperI β an interface that describes coordinate mappers. Yes it's giving very "abstract parent class, do not touch," but hear me out because it's actually iconic. β¨
πΈ VERSION πΈ
version 1.007001
she's got a version number and she's proud of it π
β¨ SYNOPSIS β¨
# not to be used directly
that's it. that's the synopsis. and honestly? the way she said "not to be used directly" with zero further explanation... main character energy fr fr.
π¦ DESCRIPTION π¦
MapperI defines the methods for classes that are capable of mapping locations between coordinate systems. It's an interface, so like β she's the blueprint, not the building. Other classes come along and actually do the mapping. iykyk π
π METHODS π
π in
- Title:
in - Usage:
$obj->in('peptide'); - Function: Set and read the input coordinate system.
- Example: (empty β she left it blank, and that's valid)
- Returns: value of input system
- Args: new value (optional),
Bio::LocationI
set it or read it, your call β the new value is optional so you can just peek at what's already there π
π out
- Title:
out - Usage:
$obj->out('peptide'); - Function: Set and read the output coordinate system.
- Example: (empty)
- Returns: value of output system
- Args: new value (optional),
Bio::LocationI
same vibe as in, but for where you're going instead of where you came from. the glow-up direction, if you will. π«
π swap
- Title:
swap - Usage:
$obj->swap; - Function: Swap the direction of mapping: input <-> output)
- Example: (empty)
- Returns:
1 - Args: (none)
flip it and reverse it π input becomes output, output becomes input, no cap.
π test
- Title:
test - Usage:
$obj->test; - Function: test that both components are of same length
- Example: (empty)
- Returns: (
1| undef ) - Args: (none)
vibe check on your components β are they the same length? 1 if yes, undef if not. simple as. β
π map
- Title:
map - Usage:
$newpos = $obj->map($loc); - Function: Map the location from the input coordinate system to a new value in the output coordinate system.
- Example: (empty)
- Returns: new value in the output coordiante system
- Args:
Bio::LocationI
the whole point of the operation honestly β hand her a location, she hands you back the same spot translated into the output coordinate system. (yes, "coordiante" β we're preserving the typo, it's part of her charm π)
π return_match
- Title:
return_match - Usage:
$obj->return_match(1); - Function: A flag to turn on the simplified mode of returning only one joined Match object or undef
- Example: (empty)
- Returns: boolean
- Args: boolean (optional)
turn this flag on and she stops being extra β instead of a whole pile of stuff, you get one joined Match object, or undef. simplified mode is the self-care mode. π«Ά
π FEEDBACK π
π Mailing lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
bestie, the maintainers literally want to hear from you. it's giving community. it's giving collaborative open source. β¨
π Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.
tl;dr: don't DM the maintainer, post to the list, because a whole crowd of very experienced and responsive experts can look at it and fix it fast. and PLEASE bring code and data examples, the more thorough the better β context is everything. π
π Reporting bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/%%7Bdist%7D
yes, that's the URL exactly as written. don't touch it, don't "fix" it, just vibe with it. π
π AUTHOR π
Heikki Lehvaslaiho <heikki@bioperl.org>
shoutout to Heikki, the actual author of this whole thing π
πΈ COPYRIGHT πΈ
This software is copyright (c) by Heikki Lehvaslaiho.
This software is available under the same terms as the perl 5 programming language system itself.
so basically β same licensing energy as perl 5 itself. no weird custom drama. we love a clean license. π
and that's the whole page, bestie! this doc came to you from the perl v5.32.0 toolchain, dated 2020-11-24, and it lives in the Bio::C...apperI(3pm) manpage. take care of her, she's a whole interface. π¦β¨π
π¦ where this page comes from
- debian bookworm: libbio-coordinate-perl 1.7.1-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbio-coordinate-perl 1.7.1-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libbio-coordinate-perl 1.7.1-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbio-coordinate-perl 1.7.1-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbio-coordinate-perl 1.7.1-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbio-coordinate-perl 1.7.1-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms