Skip to content

BEELINE v1.1

Latest

Choose a tag to compare

@alexmorinvt alexmorinvt released this 03 Apr 17:11
3746408

BEELINE v1.1 Release Notes

Changes Incompatible with Previous Versions

Config files

  • Config file format has changed. Config files from v1.0 are not immediately compatible with v1.1. If migrating, update configs per the following changes:

    • Remove the dataset_dir parameter.
    • Replace the name fields for datasets and algorithms with dataset_id / algorithm_id.
    • Add a runs list with individual run_id entries to each dataset.
    • Move should_run to a top-level field on each dataset and algorithm entry rather than nesting it inside params.
    • Use image to specify the Docker image for running an algorithm. This lets users swap multiple image versions without rebuilding or retagging images.
    • Use scan_run_subdirectories to automatically search for subdirectories of a dataset directory. If runs are not enumerated in the config file, BEELINE will skip them (non-breaking).
    • Optionally label datasets with a nickname parameter for plotting (non-breaking).

    See config-files/ for example configs.

  • Zenodo dataset version v4 is required. The input data directory structure has changed. Users on earlier versions of BEELINE should continue to use Zenodo dataset version v3.

Data Structure Changes

  • The default ground truth network filename is now GroundTruthNetwork.csv (previously refNetwork.csv).
  • Config files now specify the ground truth network once at the dataset level (previously specified per-run as trueEdges).
  • Note: The following changes apply specifically to the Zenodo datasets.
  • Curated datasets now split into separate directories by dropout level (GSD, GSD-q50, GSD-q70), each with a shared GroundTruthNetwork.csv at the dataset directory level.
  • Synthetic datasets now include an added cell-count subdirectory level (e.g. dyn-BF/dyn-BF-100/dyn-BF-100-1/).

New Features

Runner

Relevant files: BLRunner.py, BLRun/runner.py

  • Each algorithm now implements as a class inheriting from an abstract Runner base class (BLRun/runner.py), replacing the v1.0 function-map pattern.
  • BLRunner.py now checks for existing working directories before running and prompts for confirmation before overwriting them.
  • The scan_run_subdirectories option on dataset entries allows BLRunner.py to auto-discover run subdirectories rather than requiring an explicit runs list.
  • A new experiment_id field in output_settings inserts a named path segment in the output directory, allowing multiple experiments to share one output root.

Algorithms

Relevant files: BLRun/pearsonRunner.py, BLRun/scsglRunner.py, BLRun/jump3Runner.py

  • Added PEARSON (Pearson correlation baseline).
  • Added SCSGL (contributed by @yiqisu) and JUMP3.
  • Excluded SCNS from this release due to prohibitively long run time. SCNS remains available as a buildable Docker container, and users may manually migrate the SCNS runner code from BEELINE v1.0 to BEELINE v1.1, if they desire.
  • Updated Dockerfiles as needed so that containers build locally as of Docker version 28.5.1 and Ubuntu 24.04.2.

Evaluation

Relevant files: BLEvaluator.py, BLEval/data.py

  • Rewrote the evaluation subsystem as a hierarchy of callable classes (AUPRC, AUROC, EarlyPrecision, etc.), each responsible for loading, computing, and writing its own output.
  • Evaluation data now mirrors the dataset config hierarchy and infers grouping from it.

Plotting

Relevant files: BLPlotter.py, BLPlot/plotter.py

  • Rebuilt plotting from 2 files into a full framework: PlotAUPRC, PlotAUROC, PlotEPR, PlotSummaryHeatmap, PlotEPRHeatmap, and shared helpers in plotter.py and _heatmap.py.
  • BLPlotter.py now exposes a proper CLI with --auprc, --auroc, --epr, --summary, --epr-summary, and --all flags.

Utilities

  • Moved and upgraded utils/generateExpInputs.py for preprocessing experimental scRNA-seq datasets.
  • Moved and upgraded utils/initialize.sh and utils/setupAnacondaVENV.sh.
  • Moved and upgraded utils/environment.yml for direct conda environment creation.
  • Created utils/buildDocs.sh for locally building the documentation.

Documentation

  • Now builds documentation with Sphinx.
  • Added a new Reproducing BEELINE Results page with step-by-step instructions for recreating Figures 2 and 4 from Pratapa et al. (2020).

Use of Generative AI

We prepared portions of this codebase and documentation with assistance from Claude Sonnet 4.6, an AI assistant developed by Anthropic. The authors have reviewed and approved all content and take full responsibility for its accuracy.