---
name: "Bio::Graphics::Util"
section: "3pm"
platform: "linux"
package: "libbio-graphics-perl"
version: "2.40-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Bio::Graphics::Util"
---

# Bio::Graphics::Util(3pm)

non-object-oriented utilities used in Bio::Graphics modules

## NAME

Bio::Graphics::Util - non-object-oriented utilities used in Bio::Graphics modules

- ($frame,$offset) = frame\_and\_offset($pos,$strand,$phase)

  Calculate the reading frame for a given genomic position, strand and phase.  The offset is the offset from `$pos` to the first nucleotide of the reading frame.

  In a scalar context, returns the frame only.
