Getting Started

Biofilter 4 (BF4) resolves biological entities — genes, proteins, pathways, diseases, variants — tracks the relationships between them, and exposes all of it through ready-to-use reports.

What you read is a bundle: a directory of parquet files with a manifest describing them. No database server, no import step. Point Biofilter at a bundle and run reports.

Choose your path

Someone gave me a bundle

This is the common case, and it takes minutes.

  1. Install Biofilter — pip or Docker.

  2. Point at the bundle — one URI, no setup.

  3. Find a report that fits your question.

  4. Run it — CLI or Python.

I need to build a bundle

Only if no one has one for the data you need. The full human genome means 1.5 TB of downloads, processed and discarded as the build goes, so plan for 150 GB of working space.

  1. Install Biofilter — from source if you will change DTPs.

  2. Build a bundle — bundle plan, then bundle build.

  3. Run a report against what you built.

What it costs has the measured figures for disk, memory and runtime before you start.

What you’ll need

  • Python 3.10+, or Docker if you prefer containers.

  • A bundle — a path you can read, local or on a shared filesystem.

One thing to carry with you

Ids inside a bundle — entities.id, variant_id — are internal to that bundle. They are not stable across bundles, and a stale one still resolves: to a different gene, without an error. Pin the bundle, not the id. Reading a bundle explains how results carry their origin.

Where this guide stops

Once you can run a report, the rest goes deeper:

Running on the Penn LPC? The cluster-specific quickstart and the maintainer’s deployment guide live in the repository at notebooks/lpc__quickstart.md and notebooks/lpc__deploy.md.