Repository navigation
SigProfilerExtractor v1.6.1
This release adds the SigProfilerExtractor Workbench, a local web app for running extractions and exploring their results without writing code, and an interactive results dashboard (reports.html) written after every run. It also fixes VCF and BEDPE input on Windows. It includes everything from 1.6.0, which was tagged but not published to PyPI, so it is the first release on PyPI since 1.5.0.
Signature extraction itself is unchanged from 1.5.0: the same input and seeds give the same signatures.
Highlights
- SigProfilerExtractor Workbench: start an extraction from a double-click, follow its progress, and explore the results in your browser.
- Interactive results dashboard: every run writes a self-contained
reports.htmlthat opens offline. - De novo signatures and COSMIC: the Workbench shows how each de novo signature splits into COSMIC signatures, and its closest COSMIC signature by cosine similarity.
- Windows: VCF and BEDPE input now work on Windows, from Python, the command line and the Workbench.
SigProfilerExtractor Workbench
- Start it: double-click
launch_web.command(macOS) orlaunch_web.bat(Windows) in the repository folder, or run./launch_web.sh(Linux). If SigProfilerExtractor is installed with pip, runSigProfilerExtractor weborsigprofilerextractor-web. - Inputs: a folder of VCFs, a mutation matrix (SBS, DBS, ID, CNV or SV), structural-variant BEDPE files, or copy-number segments. The Workbench checks the input before anything runs, and includes ready-made examples.
- Settings: Quick look and Standard presets, with a live estimate of the work. Every other parameter sits under Advanced, with its default and an explanation.
- Monitor: progress for each mutation type, the live log, Stop, and a list of runs that can be removed or deleted.
- Results: the suggested number of signatures for each mutation type; for each de novo signature, its split into COSMIC signatures (with how well the mix reconstructs it) and its closest COSMIC signatures; the interactive dashboard; and every PDF plot and table. The side panels can be resized or hidden.
- Private: it runs only on your computer. It listens on 127.0.0.1 only, and every change it makes needs a token created for that launch.
- Quick setup: the first launch creates the Workbench's own Python environment and installs into it with uv, falling back to pip. On the CI machines this took 55 s on macOS and 46 s on Windows, against 95 s and 98 s with pip. Set
SPE_WEB_INSTALLER=pipto always use pip. - Uninstall: double-click
uninstall_web.command(macOS) oruninstall_web.bat(Windows). It removes the Workbench's environment and run records, and keeps your results.
Guide: Graphical Interface
Interactive Results Dashboard
- After each extraction,
reports.htmlin the output folder shows an overview, the signatures for every number of signatures tried, the selected de novo and COSMIC solutions, sample activities, and per-rank statistics. - Every figure has an information button that explains its axes, metrics and source data.
- Views can be bookmarked, tables sorted, and the side panel resized or hidden.
- Turn it off with
make_dashboard=Falsein Python or--make_dashboard Falseon the command line. If the dashboard cannot be built, the run still succeeds andJOB_METADATA.txtrecords a warning.
Fixes
- VCF and BEDPE input on Windows. The project name was taken by splitting the input path on
/, so a Windows path stayed whole, and SigProfilerMatrixGenerator's log file name then contained its:(OSError: [Errno 22] Invalid argument). The name is now the input folder's own name. - Workbench runs on Windows no longer fail with
UnicodeEncodeErrorwhen SigProfilerAssignment draws its progress bars. - The Workbench's run log on Windows shows its lines; they were blank.
- Process checks on Windows no longer send Ctrl+C to the console, which could interrupt
launch_web.bat --stop. - Zip downloads from GitHub now know their version; the Workbench showed "v0".
Installation
After publication to PyPI:
pip install --upgrade SigProfilerExtractor==1.6.1Compatibility
- Python 3.9 or later.
- Requires
sigProfilerPlotting>=1.5.0(raised from 1.4.3, for the dashboard),SigProfilerAssignment>=1.1.5andSigProfilerMatrixGenerator>=1.3.5.
Full changelog: CHANGELOG.md and v1.5.0...v1.6.1