Code and analysis snapshot for MAPPER, a multimodal framework for predicting antibiotic mode of action and identifying uncertain or novel mechanistic responses.
This repository accompanies the manuscript Decoding antibiotic modes of action from multimodal cellular responses.
It contains the curated data tables, notebooks, analysis exports, and figure assets used for the current manuscript and Supplementary Information.
Suggested GitHub repository description:
MAPPER: multimodal prediction of antibiotic mode of action from cellular response data
docs/traceability.mdmaps manuscript figures to the notebooks and exported assets that generate them.docs/paper_fig2_6_code_inventory.mdsummarizes the code and local runtime artifacts required for Figures 2-6.notebooks/figure2tonotebooks/figure6contain the canonical main-figure workflows.
notebooks/– figure, preprocessing, and supplementary notebooksscripts/– reusable generation and preprocessing scriptsData/– curated input matrices and supporting input files used by the notebooksEmbeddings/– precomputed text embedding artifactsanalysis_exports/– manuscript-facing summary exports and figure-analysis CSVsimages/– exported figure assetsdocs/– code-to-figure mapping and reproducibility notes
The working project also uses large prediction, model, and result caches under:
predictions/models/results/
These are intentionally ignored in the public git history. If they are present in a local workspace, the notebooks and docs may refer to them as canonical runtime artifact roots.
The manuscript build tree under latex/ is also kept local and is not part of the public repository state.
Figures 2-6:
notebooks/figure2/figure2_data_overview.ipynbnotebooks/figure2/figure2_combined.ipynbnotebooks/figure3/figure3_llm_parametric_tests.ipynbnotebooks/figure3/figure3_text_augmentation_effects.ipynbnotebooks/figure3/figure3_combined.ipynbnotebooks/figure4/figure4_best_feature_combination.ipynbnotebooks/figure4/figure4_feature_replot.ipynbnotebooks/figure4/figure4_shapley_analysis.ipynbnotebooks/figure4/figure4_structural_novelty_modality_jumps.ipynbnotebooks/figure4/figure4_combined.ipynbnotebooks/figure5/figure5_uncertainty_comparison.ipynbnotebooks/figure5/figure5_combined.ipynbnotebooks/figure6/figure6_uncertainty_estimator_calibration.ipynbnotebooks/figure6/figure6_eclipse_instrument.ipynbnotebooks/figure6/figure6_external_lab.ipynbnotebooks/figure6/figure6_combined.ipynb
Supplementary utilities:
notebooks/supplementary/supp_string_analysis_preprocess.ipynbnotebooks/supplementary/supp_string_tabm_predictions.ipynbnotebooks/supplementary/supp_table_s7_ci.ipynbnotebooks/supplementary/regenerate_supplementary_stats.ipynb
- Main manuscript and SI figure numbering/inputs are documented in
docs/traceability.md. - Required code and local artifact roots for Figures 2-6 are summarized in
docs/paper_fig2_6_code_inventory.md. - Small local QA folders such as
.figcheck/and.pagecheck/are review artifacts and are intentionally ignored.