Man pages sections > man3 > Bio::Graphics::Util

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

Bio::Graphics::Util(3pm) User Contributed Perl Documentation Bio::Graphics::Util(3pm)

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.
2017-08-03 perl v5.26.0