Skip to main content
`Ctrl`+`K`

# Annotation DB Features

Genomic annotations can be visualised directly from an annotation database, without needing a sequence object. This is useful for exploring annotations loaded from GFF or GenBank files.

## Drawing features from an annotation database

We load annotations for Caenorhabditis elegans chromosome I from a GFF file.

## Drawing all features for a region

We can draw features for a specific region by providing coordinate bounds.

Note

This produces the same visual output as `seq.get_drawable(biotype=...)`, but without loading the sequence data.

## Using the range slider

By default, figures include an interactive range slider below the main plot. Drag the handles or select a region on the slider to zoom into a portion of the sequence. The x-axis label indicates the slider.

Note

Hover over filled shapes to see feature details (name, biotype, coordinates, strand).

## Filtering by biotype

We can select specific feature types to display.

## Disabling the range slider for static images

The range slider is included when saving figures as images. To produce a clean static image, disable the controls with `show_controls=False`.