Usage¶
📓 Notebook workflow (exploratory)¶
Create and activate the environment (see Installation).
Open the notebook
synco_plots.ipynb.Prepare the
CONFIGto read your data and options:paths: base, pipeline_runs, input, outputgeneral: cell_lines, run_date, verbosecompare: prediction_method (DrugLogics or BooLEVARD), threshold, synergy_column, analysis_mode (inhibitor_combination or cell_line)
Run cells to build and extract results, make ring plots and ROC or PR curves.
🖥️ CLI — run from terminal¶
You can run Synco either with a configuration file (JSON or YAML) or using a lightweight direct-arguments mode.
📄 Config-file mode (recommended for reproducibility)¶
# Preview execution plan
python -m synco -c examples/synco_example_config.json --plan
# Run analysis
python -m synco -c examples/synco_example_config.json
⚡ Direct-arguments mode (no config file)¶
python -m synco --base data/DrugLogics \
--pipeline-runs data/sample_raw/20250804/drabme_out \
--input data/synco_input \
--output results \
--cell-lines C2BBE1,CAR1,T84 \
--prediction-method DrugLogics \
--plan
🔀 Override synergies file¶
Specify the exact experimental synergies file to use with --synergies_filename (accepts a filename relative to the --input folder or an absolute path):
python -m synco -c examples/synco_example_config.json \
--synergies_filename data/synco_input/labdata_nochemo_hsa.csv --plan
⚙️ Configuration options¶
Section |
Key |
Description |
|---|---|---|
|
|
Base directory for pipeline data |
|
|
Path to pipeline prediction outputs |
|
|
Path to experimental synergy data |
|
|
Output directory for results |
|
|
List of cell lines to analyse |
|
|
Date identifier for the run |
|
|
Print detailed output |
|
|
DrugLogics or BooLEVARD |
|
|
Synergy classification threshold |
|
|
Column name for synergy scores |
|
|
|