EIYBrowse.utils module¶
This module holds utility functions that can be called by other components but don’t have their own place.
-
EIYBrowse.utils.format_genomic_distance(distance, precision=1)¶ Turn an integer genomic distance into a pretty string.
Parameters: - distance (int) – Genomic distance in basepairs.
- precision (int) – Number of significant figures to display after the decimal point.