Bio::L...Policy(3pm)

πŸ“¦
version 1.7.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

🌸 NAME 🌸

Bio::Location::AvWithinCoordPolicy β€” it's a class that implements Bio::Location::CoordinatePolicy, and bestie, it does the average for WITHIN and the widest possible and reasonable range otherwise. That's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

Okay so like, go look at Bio::Location::CoordinatePolicyI. That's it. That's the synopsis. 🫢


πŸ’– DESCRIPTION πŸ’–

So CoordinatePolicyI implementing objects get used by Bio::LocationI implementing objects, right? Their whole job is determining integer-valued coordinates when somebody asks for them. ✨

This class computes the coordinates like this: for fuzzy locations of type WITHIN and BETWEEN, it returns the average of the two limits. And for all the other locations? It returns the widest possible range, but like... using some common sense, obviously. 🧠

Which means β€” for example β€” locations like <5..100 (start before position 5) will return 5 as the start. Because returned values have to be positive integers, no cap. πŸ”₯


πŸ¦‹ FEEDBACK πŸ¦‹

User feedback is an integral part of the evolution of this and other Bioperl modules, fr fr. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated, like genuinely. πŸ’œ

bioperl-l@bioperl.org                  - General discussion
http://bioperl.org/wiki/Mailing_lists  - About the mailing lists

πŸ’Œ 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. πŸŽ€

πŸ› Reporting Bugs

Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web:

https://github.com/bioperl/bioperl-live/issues

πŸ‘‘ AUTHOR - Hilmar Lapp, Jason Stajich πŸ‘‘

Email <hlapp-at-gmx-dot-net>, <jason-at-bioperl-dot-org> πŸ’–


🌈 APPENDIX 🌈

The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _. πŸ‘€

⭐ start

Title   : start
Usage   : $start = $policy->start($location);
Function: Get the integer-valued start coordinate of the given location as
          computed by this computation policy.
Returns : A positive integer number.
Args    : A Bio::LocationI implementing object.

⭐ end

Title   : end
Usage   : $end = $policy->end($location);
Function: Get the integer-valued end coordinate of the given location as
          computed by this computation policy.
Returns : A positive integer number.
Args    : A Bio::LocationI implementing object.

And that's the whole page, bestie! This was perl v5.32.1, dated 2021-08-15, straight out of the Bioperl docs for Bio::L...Policy(3pm) β€” slay, go read your locations. πŸ’…βœ¨

πŸ“¦ where this page comes from