Bio::Graphics::Util(3)User Contributed Perl DocumentatioBio::Graphics::Util(3)NAMEBio::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.
perl v5.14.1 2011-07-22 Bio::Graphics::Util(3)