Skip to content

Filter Presets

Filter presets let you save and reuse combinations of filters. VarLens ships with built-in presets for common clinical workflows, and you can create your own.

Preset Bar

Preset bar with active and inactive presets

The preset bar appears below the toolbar. Click a preset chip to toggle it on or off:

  • Active presets are filled with the primary color
  • Inactive presets have an outlined border
  • Multiple presets can be active at once (their filters combine with AND logic)
  • Hover over a preset to see its description

Built-in Presets

These presets ship with VarLens and cover common filtering needs:

PresetFilterUse case
Rare PathogenicgnomAD AF ≤ 1% + ClinVar Pathogenic/LPKnown rare pathogenic variants
Rare HIGHgnomAD AF ≤ 1% + Impact HIGHRare loss-of-function variants
Rare HIGH+MODgnomAD AF ≤ 1% + Impact HIGH or MODERATEBroader rare impact filter
Ultra Rare HIGHgnomAD AF ≤ 0.01% + Impact HIGHNear-absent LoF variants
ClinVar P/LPClinVar = Pathogenic or Likely pathogenicKnown pathogenic variants
HIGH ImpactImpact = HIGHLoss-of-function variants
Rare (1%)gnomAD AF ≤ 1%Standard rare variant threshold
CADD >= 20CADD Phred ≥ 20Strongly predicted deleterious

Built-in presets cannot be deleted, but you can hide them from the preset bar.

Saving a Preset

When you have filters active, the Save button appears in the preset bar:

Save preset dialog

  1. Click Save
  2. Enter a name (required) and description (optional)
  3. Click Save — your current filter state is stored as a new preset

Your preset appears in the preset bar and persists across sessions (stored in the database).

Managing Presets

Click the gear icon in the preset bar to open the manage dialog:

Manage presets dialog

From here you can:

  • Toggle visibility — hide/show presets in the toolbar bar (eye icon)
  • Delete user-created presets (trash icon)
  • Built-in presets show a lock icon and cannot be deleted

You can also activate presets from the DSL search bar by typing @ followed by the preset name:

@rare-pathogenic

The autocomplete dropdown shows available presets when you type @. Preset names are converted to URL-safe slugs (lowercase, spaces to hyphens, special characters removed).