Here you can find the jupyter notebooks used to produce the figures in our manuscript. The relevant notebooks for the latest version of our manuscript are:
Notebook name | Content | Figure (in manuscript) |
---|---|---|
exp_01__comparison_of_different_score_integration_approaches_3D.ipynb |
Here we compare the ranking performance of LC-MS²Struct with the different comparison methods. | - Figure 2 (a, b) - Extended Data Figure 4 |
exp_02__performance_analysis_using_molecule_classification_3D.ipynb |
Here we analyze the performance improvements using LC-MS²Struct for different ClassyFire and PubChemLite molecular classes. | - Figure 3 (a, b) - Extended Data Figure 2 |
exp_03__stereochemistry.ipynb |
Here we assess the performance of LC-MS²Struct in the ONLYSTEREO setting. | - Figure 4 (a, b) |
exp_04__using_3D_features_for_inchikey1_aggregation.ipynb |
Here we compare the ranking performance in the ALLDATA setting when using 2D and 3D FCFP fingerprints in combination with LC-MS²Struct. The generated figures can be also found in the supplementary material of the manuscript. | - Extended Data Figure 3 |
You can reproduce figures in our manuscript simply running the aforementioned notebooks using the instructions below.
- Make sure you downloaded the result archives from Zenodo (ALLDATA and ONLYSTEREO) and extracted them in the root directory of this repository.
- Create a conda environment:
conda env create -f environment.yml
conda activate lcms2struct_manuscript_figures
- Make the environment available in your JupyterLab
python -m ipykernel install --user --name=lcms2struct_manuscript_figures
## Expected output
# Installed kernelspec lcms2struct_manuscript_figures in /path/to/your/home/.local/share/jupyter/kernels/lcms2struct_manuscript_figures
- Install the figure helper-tools
cd ../../../../
pwd
## Expected output is the git-repository's root-directory
pip install .
- Change back to the notebooks' directory and start JupyterLab
cd results_processed/publication/massbank/ssvm_lib=v2__exp_ver=4/
jupyter lab
- Choose any notebook and execute it. Ensure that it is running on the kernel corresponding to the conda environment.