Bio::G...:Region(3pm)

📦
version 2.56 · 5 versions
, in ubuntu questing

💖 NAME 💖

okay so bestie, meet Bio::Graphics::Browser2::Region — her whole entire job is providing methods for fetching and manipulating regions. That's the vibe. 🧚✨

She lives in the User Contributed Perl Documentation corner of the world, and in the header and footer she's got a lil nickname going on: Bio::G...:Region(3pm). Same queen, shorter name tag. 💅


🦋 $whole = $db->whole_segment ($segment,$settings);

You hand her a detail segment, she hands you back the whole seq_id that contains it. That's it. That's the whole assignment. She ate and left no crumbs. 👑


🎀 $region = $db->region_segment ($segment,$settings [,$whole]);

Give her a detail segment plus the current settings and she returns the region centered on the segment. Simple, iconic, no notes. 🌸

And listen — if you already have the whole segment lying around, you can pass it in too (that's the optional $whole up in there), because doing that avoids a redundant lookup. Efficiency is the main character here, fr fr. 🔥


lowkey the most chill module in the whole browser situation and we're obsessed 🫶

written up in perl v5.40.0, dated 2024-10-20 — catch you in the next perldoc, bestie 💜🌈

📦 where this page comes from