The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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

Given a detail segment, return the whole seq_id that contains it

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

Given a detail segment and the current settings, return the region centered on the segment. The whole segment can be passed if desired -- this will avoid a redundant lookup.