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

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

NAME ✨

Bio::L...Policy β€” it's a whole class that implements Bio::Location::CoordinatePolicy, and it does the most: it hands you the widest possible and reasonable range for a location. Periodt. πŸ’…


SYNOPSIS πŸ’«

Bestie, there's no example code here, you just gotta go read Bio::Location::CoordinatePolicyI. That's the vibe. 🫢


DESCRIPTION πŸ¦‹

So objects that implement CoordinatePolicyI are the little helpers that Bio::LocationI-implementing objects call up when they need integer-valued coordinates. Like, "hey, what's the actual number?" and the policy answers. πŸŽ€

This class right here computes coordinates so that you always get the widest possible range β€” but with some common sense in the mix, because we're not feral. Which means, for example, locations like "<5..100" (that's a start that comes before position 5) will return 5 as the start. Why? Because returned values have to be positive integers, that's why. No zero, no negatives, no nonsense. πŸ”₯


FEEDBACK πŸ’Œ

User feedback is literally an integral part of the evolution of this and other Bioperl modules β€” like, the glow-up is a group project, bestie. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated, no cap. πŸ’–

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. Because the way that works is: lots of experienced and responsive experts can look at your problem and quickly address it. Iconic behavior. When you write in, please include a thorough description of the problem, plus code and data examples if at all possible. Give them the whole picture, not just the vibe. 😭

Reporting Bugs πŸ›

Report bugs to the Bioperl bug tracking system so we can keep track of 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> πŸ’œ</p>


APPENDIX πŸŽ€

The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ β€” iykyk, that underscore is the "do not touch, this is backstage" marker. πŸ™ˆ

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 one shipped as part of perl v5.32.1, dated 2021-08-15. Slay, go compute some coordinates. πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from