tima::run_tima()
#> + par_def_ann_mas dispatched
#> ✔ par_def_ann_mas completed [6ms, 9.73 kB]
#> + par_def_pre_lib_sop_lot dispatched
#> ✔ par_def_pre_lib_sop_lot completed [1ms, 494 B]
#> + par_def_wei_ann dispatched
#> ✔ par_def_wei_ann completed [1ms, 5.49 kB]
#> + par_def_pre_ann_sir dispatched
#> ✔ par_def_pre_ann_sir completed [1ms, 1.97 kB]
#> + par_def_pre_lib_sop_ecm dispatched
#> ✔ par_def_pre_lib_sop_ecm completed [1ms, 492 B]
#> + par_def_pre_tax dispatched
#> ✔ par_def_pre_tax completed [1ms, 1.51 kB]
#> + par_def_exp_mzt dispatched
#> ✔ par_def_exp_mzt completed [0ms, 1.76 kB]
#> + par_def_pre_lib_sop_pub dispatched
#> ✔ par_def_pre_lib_sop_pub completed [1ms, 527 B]
#> + par_def_pre_lib_sop_big dispatched
#> ✔ par_def_pre_lib_sop_big completed [1ms, 314 B]
#> + par_def_pre_ann_gnp dispatched
#> ✔ par_def_pre_ann_gnp completed [1ms, 1.30 kB]
#> + par_def_pre_ann_mzt dispatched
#> ✔ par_def_pre_ann_mzt completed [0ms, 1.18 kB]
#> + par_def_pre_lib_sop_mer dispatched
#> ✔ par_def_pre_lib_sop_mer completed [1ms, 7.20 kB]
#> + par_def_cre_com dispatched
#> ✔ par_def_cre_com completed [1ms, 375 B]
#> + par_def_fil_ann dispatched
#> ✔ par_def_fil_ann completed [1ms, 1.34 kB]
#> + par_def_pre_ann_mzm dispatched
#> ✔ par_def_pre_ann_mzm completed [1ms, 1.32 kB]
#> + yaml_paths dispatched
#> ✔ yaml_paths completed [1ms, 18.82 kB]
#> + par_def_pre_fea_com dispatched
#> ✔ par_def_pre_fea_com completed [1ms, 358 B]
#> + par_def_pre_ann_spe dispatched
#> ✔ par_def_pre_ann_spe completed [0ms, 1.35 kB]
#> + par_def_pre_lib_sop_clo dispatched
#> ✔ par_def_pre_lib_sop_clo completed [1ms, 496 B]
#> + par_def_pre_lib_sop_hmd dispatched
#> ✔ par_def_pre_lib_sop_hmd completed [1ms, 492 B]
#> + par_def_pre_fea_tab dispatched
#> ✔ par_def_pre_fea_tab completed [1ms, 857 B]
#> + par_def_pre_lib_rt dispatched
#> ✔ par_def_pre_lib_rt completed [1ms, 2.19 kB]
#> + par_def_ann_spe dispatched
#> ✔ par_def_ann_spe completed [1ms, 2.66 kB]
#> + par_def_pre_fea_edg dispatched
#> ✔ par_def_pre_fea_edg completed [1ms, 706 B]
#> + par_def_cre_edg_spe dispatched
#> ✔ par_def_cre_edg_spe completed [1ms, 1.39 kB]
#> + par_def_pre_lib_spe dispatched
#> ✔ par_def_pre_lib_spe completed [0ms, 1.58 kB]
#> + paths dispatched
#> ✔ paths completed [2ms, 3.37 kB]
#> + lib_spe_is_wik_pre_sop dispatched
#> [2026-11-21 08:20:04.489] [INFO ] > Starting: download_file [url=https://github.com/taxonomicallyinformedannotation/tima-example-files/raw/main/wikidata_spectral_5607185_prepared.tsv.gz, destination=data/interim/libraries/sop/wikidata_5607185_prepared.tsv.gz]
#> [2026-11-21 08:20:04.936] [INFO ] [OK] Completed: download_file [size_bytes=15074639] (419ms)
#> ✔ lib_spe_is_wik_pre_sop completed [475ms, 15.07 MB]
#> + lib_spe_exp_mer_pre_pos dispatched
#> [2026-11-21 08:20:05.048] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/merlin_16984129_pos.rds, destination=data/interim/libraries/spectra/exp/merlin_16984129_pos.rds]
#> [2026-11-21 08:20:07.447] [INFO ] [OK] Completed: download_file [size_bytes=158718768] (2.4s)
#> ✔ lib_spe_exp_mer_pre_pos completed [2.4s, 158.72 MB]
#> + lib_sop_hmd dispatched
#> [2026-11-21 08:20:07.608] [INFO ] > Starting: download_file [url=https://hmdb.ca/system/downloads/current/structures.zip, destination=data/source/libraries/sop/hmdb/structures.zip]
#> [2026-11-21 08:20:07.680] [WARN ] file download failed (attempt 1/3), retrying in 1s: HTTP 403 Forbidden.
#> [2026-11-21 08:20:08.742] [WARN ] file download failed (attempt 2/3), retrying in 2s: HTTP 403 Forbidden.
#> [2026-11-21 08:20:10.823] [WARN ] HMDB download failed: file download failed
#> ✖ x file download failed after retries Expected: Successful operation Received:
#> HTTP 403 Forbidden. Reason: Tried 3 times with exponential backoff Fix:
#> Possible solutions: 1. Check network connection 2. Verify server/service is
#> available 3. Check authentication credentials 4. Try again later if service
#> is down 5. Increase max_attempts if transient failures are common
#> [2026-11-21 08:20:10.824] [WARN ] HMDB download failed. Creating minimal placeholder SDF file.
#> ✔ lib_sop_hmd completed [3.2s, 340 B]
#> + lib_spe_exp_mer_pre_neg dispatched
#> [2026-11-21 08:20:10.960] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/merlin_16984129_neg.rds, destination=data/interim/libraries/spectra/exp/merlin_16984129_neg.rds]
#> [2026-11-21 08:20:12.106] [INFO ] [OK] Completed: download_file [size_bytes=53975862] (1.1s)
#> ✔ lib_spe_exp_mer_pre_neg completed [1.1s, 53.98 MB]
#> + lib_spe_exp_mb_pre_sop dispatched
#> [2026-11-21 08:20:12.227] [INFO ] > Starting: download_file [url=https://github.com/Adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/sop/massbank_202510_prepared.tsv.gz, destination=data/interim/libraries/sop/massbank_202510_prepared.tsv.gz]
#> [2026-11-21 08:20:12.455] [INFO ] [OK] Completed: download_file [size_bytes=160829] (227ms)
#> ✔ lib_spe_exp_mb_pre_sop completed [229ms, 160.83 kB]
#> + lib_spe_exp_mul_pre_neg dispatched
#> [2026-11-21 08:20:12.555] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/multims2_17417089_neg.rds, destination=data/interim/libraries/spectra/exp/multims2_17417089_neg.rds]
#> [2026-11-21 08:20:12.985] [INFO ] [OK] Completed: download_file [size_bytes=2326830] (430ms)
#> ✔ lib_spe_exp_mul_pre_neg completed [432ms, 2.33 MB]
#> + lib_spe_is_nor_pre_sop dispatched
#> [2026-11-21 08:20:13.096] [INFO ] > Starting: download_file [url=https://github.com/Adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/sop/isdbnormansusdat_14854025_prepared.tsv.gz, destination=data/interim/libraries/sop/isdbnormansusdat_14854025_prepared.tsv.gz]
#> [2026-11-21 08:20:13.425] [INFO ] [OK] Completed: download_file [size_bytes=1236557] (329ms)
#> ✔ lib_spe_is_nor_pre_sop completed [331ms, 1.24 MB]
#> + lib_spe_exp_mb_pre_pos dispatched
#> [2026-11-21 08:20:13.531] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/massbank_202510_pos.rds, destination=data/interim/libraries/spectra/exp/massbank_202510_pos.rds]
#> [2026-11-21 08:20:14.094] [INFO ] [OK] Completed: download_file [size_bytes=17559329] (563ms)
#> ✔ lib_spe_exp_mb_pre_pos completed [565ms, 17.56 MB]
#> + lib_sop_lot dispatched
#> [2026-11-21 08:20:14.206] [INFO ] Retrieving latest version from Zenodo: 10.5281/zenodo.5794106
#> [2026-11-21 08:20:14.749] [INFO ] Downloading 260413_frozen_metadata.csv.gz from https://doi.org/10.5281/zenodo.5794106
#> [2026-11-21 08:20:14.750] [INFO ] > Starting: download_file [url=https://zenodo.org/api/records/19360665/files/260413_frozen_metadata.csv.gz/content, destination=data/source/libraries/sop/lotus.csv.gz]
#> Downloading ⠙
#> Downloading ⠹
#> Downloading ⠸
#> Downloading ⠼
#> Downloading ⠴
#> Downloading ⠦
#> Downloading ⠧
#> Downloading ⠇
#> Downloading ⠏
#> Downloading ⠋
#> Downloading ⠙
#> Downloading ⠹
#> Downloading ⠸
#> Downloading ⠼
#> Downloading ⠴
#> Downloading ⠦
#> Downloading ⠧
#> Downloading ⠇
#> Downloading ⠏
#> Downloading ⠋
#> Downloading ⠙
#> [2026-11-21 08:21:18.600] [INFO ] [OK] Completed: download_file [size_bytes=90298678] (1m 4s)
#> [2026-11-21 08:21:18.601] [INFO ] Download completed: data/source/libraries/sop/lotus.csv.gz
#> ✔ lib_sop_lot completed [1m 4.4s, 90.30 MB]
#> Downloading ⠙
+ lib_spe_is_wik_pre_pos dispatched
#> Downloading ⠙
[2026-11-21 08:21:18.734] [INFO ] > Starting: download_file [url=https://github.com/taxonomicallyinformedannotation/tima-isdb-pos/raw/main/wikidata_5607185_pos.rds, destination=data/interim/libraries/spectra/is/wikidata_5607185_pos.rds]
#> Downloading ⠙
#> Downloading 11% ■■■■ 18s
#> Downloading 34% ■■■■■■■■■■■ 10s
#> Downloading 59% ■■■■■■■■■■■■■■■■■■■ 6s
#> Downloading 84% ■■■■■■■■■■■■■■■■■■■■■■■■■■ 2s
#> Downloading 100% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
#> [2026-11-21 08:21:32.641] [INFO ] [OK] Completed: download_file [size_bytes=1097022129] (13.9s)
#> ✔ lib_spe_is_wik_pre_pos completed [13.9s, 1.10 GB]
#> + lib_xrefs dispatched
#> [2026-11-21 08:21:33.067] [INFO ] Fetching compound cross-references from Wikidata / QLever
#> [2026-11-21 08:21:33.068] [INFO ] > Starting: get_compounds_xrefs [(no parameters)]
#> [2026-11-21 08:22:10.446] [WARN ] QLever request failed or returned a truncated response (possibly transient upstream error). Writing empty xrefs file: compounds.tsv.gz
#> [2026-11-21 08:22:10.448] [INFO ] > Starting: export_output [file=data/interim/xrefs/compounds.tsv.gz, n_rows=0]
#> [2026-11-21 08:22:10.450] [INFO ] [OK] Completed: export_output [size_bytes=35] (1ms)
#> ✔ lib_xrefs completed [37.4s, 35 B]
#> + lib_sop_pub dispatched
#> [2026-11-21 08:22:11.115] [INFO ] > Starting: download_file [url=https://zenodo.org/records/20439802/files/PubChemLite_CCSbase_20260529.csv?download=1, destination=data/source/libraries/sop/pubchemlite.csv]
#> Downloading ⠙
#> Downloading ⠹
#> Downloading ⠸
#> Downloading ⠼
#> Downloading ⠴
#> Downloading ⠦
#> Downloading ⠧
#> Downloading ⠇
#> Downloading ⠏
#> Downloading ⠋
#> Downloading ⠙
#> Downloading ⠹
#> Downloading ⠸
#> Downloading ⠼
#> Downloading ⠴
#> Downloading ⠦
#> Downloading ⠧
#> Downloading ⠇
#> Downloading ⠏
#> Downloading ⠋
#> Downloading ⠙
#> Downloading ⠹
#> Downloading ⠸
#> [2026-11-21 08:23:19.348] [INFO ] [OK] Completed: download_file [size_bytes=293613581] (1m 8s)
#> ✔ lib_sop_pub completed [1m 8.2s, 293.61 MB]
#> Downloading ⠸
+ lib_spe_exp_mer_pre_sop dispatched
#> Downloading ⠸
[2026-11-21 08:23:19.834] [INFO ] > Starting: download_file [url=https://github.com/Adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/sop/merlin_16984129_prepared.tsv.gz, destination=data/interim/libraries/sop/merlin_16984129_prepared.tsv.gz]
#> Downloading ⠸
#> [2026-11-21 08:23:20.159] [INFO ] [OK] Completed: download_file [size_bytes=824577] (324ms)
#> ✔ lib_spe_exp_mer_pre_sop completed [326ms, 824.58 kB]
#> + lib_spe_is_nor_pre_pos dispatched
#> [2026-11-21 08:23:20.321] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/isdbnormansusdat_14854025_pos.rds, destination=data/interim/libraries/spectra/is/isdbnormansusdat_14854025_pos.rds]
#> [2026-11-21 08:23:21.381] [INFO ] [OK] Completed: download_file [size_bytes=47223884] (1.1s)
#> ✔ lib_spe_is_nor_pre_pos completed [1.1s, 47.22 MB]
#> + lib_spe_exp_mul_pre_sop dispatched
#> [2026-11-21 08:23:21.529] [INFO ] > Starting: download_file [url=https://github.com/Adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/sop/multims2_17417089_prepared.tsv.gz, destination=data/interim/libraries/sop/multims2_17417089_prepared.tsv.gz]
#> [2026-11-21 08:23:21.752] [INFO ] [OK] Completed: download_file [size_bytes=49592] (223ms)
#> ✔ lib_spe_exp_mul_pre_sop completed [225ms, 49.59 kB]
#> + lib_spe_exp_gnp_pre_neg dispatched
#> [2026-11-21 08:23:21.893] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/gnps_11566051_neg.rds, destination=data/interim/libraries/spectra/exp/gnps_11566051_neg.rds]
#> [2026-11-21 08:23:23.283] [INFO ] [OK] Completed: download_file [size_bytes=91828026] (1.4s)
#> ✔ lib_spe_exp_gnp_pre_neg completed [1.4s, 91.83 MB]
#> + lib_spe_exp_env_pre_pos dispatched
#> [2026-11-21 08:23:23.442] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/enveda180_pos.rds, destination=data/interim/libraries/spectra/exp/enveda180_pos.rds]
#> Downloading 25% ■■■■■■■■ 3s
#> Downloading 95% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
#> Downloading 100% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
#> [2026-11-21 08:23:27.908] [INFO ] [OK] Completed: download_file [size_bytes=288868004] (4.5s)
#> ✔ lib_spe_exp_env_pre_pos completed [4.5s, 288.87 MB]
#> + lib_spe_exp_gnp_pre_pos dispatched
#> [2026-11-21 08:23:28.123] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/gnps_11566051_pos.rds, destination=data/interim/libraries/spectra/exp/gnps_11566051_pos.rds]
#> Downloading 64% ■■■■■■■■■■■■■■■■■■■■ 1s
#> Downloading 100% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
#> [2026-11-21 08:23:31.889] [INFO ] [OK] Completed: download_file [size_bytes=341237933] (3.8s)
#> ✔ lib_spe_exp_gnp_pre_pos completed [3.8s, 341.24 MB]
#> + lib_spe_exp_mul_pre_pos dispatched
#> [2026-11-21 08:23:32.121] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/multims2_17417089_pos.rds, destination=data/interim/libraries/spectra/exp/multims2_17417089_pos.rds]
#> [2026-11-21 08:23:32.653] [INFO ] [OK] Completed: download_file [size_bytes=13752263] (532ms)
#> ✔ lib_spe_exp_mul_pre_pos completed [534ms, 13.75 MB]
#> + par_pre_par dispatched
#> ✔ par_pre_par completed [1ms, 1.85 kB]
#> + lib_spe_exp_env_pre_neg dispatched
#> [2026-11-21 08:23:32.905] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/enveda180_neg.rds, destination=data/interim/libraries/spectra/exp/enveda180_neg.rds]
#> [2026-11-21 08:23:34.440] [INFO ] [OK] Completed: download_file [size_bytes=55267643] (1.5s)
#> ✔ lib_spe_exp_env_pre_neg completed [1.5s, 55.27 MB]
#> + lib_spe_exp_mb_pre_neg dispatched
#> [2026-11-21 08:23:34.586] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/massbank_202510_neg.rds, destination=data/interim/libraries/spectra/exp/massbank_202510_neg.rds]
#> [2026-11-21 08:23:35.194] [INFO ] [OK] Completed: download_file [size_bytes=5972761] (607ms)
#> ✔ lib_spe_exp_mb_pre_neg completed [609ms, 5.97 MB]
#> + lib_spe_is_nor_pre_neg dispatched
#> [2026-11-21 08:23:35.317] [INFO ] > Starting: download_file [url=https://github.com/adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/spectra/exp/isdbnormansusdat_14854025_neg.rds, destination=data/interim/libraries/spectra/is/isdbnormansusdat_14854025_neg.rds]
#> [2026-11-21 08:23:36.186] [INFO ] [OK] Completed: download_file [size_bytes=34220848] (869ms)
#> ✔ lib_spe_is_nor_pre_neg completed [871ms, 34.22 MB]
#> + lib_spe_is_wik_pre_neg dispatched
#> [2026-11-21 08:23:36.329] [INFO ] > Starting: download_file [url=https://github.com/taxonomicallyinformedannotation/tima-isdb-neg/raw/main/wikidata_5607185_neg.rds, destination=data/interim/libraries/spectra/is/wikidata_5607185_neg.rds]
#> Downloading 9% ■■■■ 10s
#> Downloading 28% ■■■■■■■■■ 7s
#> Downloading 57% ■■■■■■■■■■■■■■■■■■ 4s
#> Downloading 85% ■■■■■■■■■■■■■■■■■■■■■■■■■■ 2s
#> Downloading 100% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
#> [2026-11-21 08:23:47.281] [INFO ] [OK] Completed: download_file [size_bytes=874199749] (11s)
#> ✔ lib_spe_is_wik_pre_neg completed [11s, 874.20 MB]
#> + par_pre_par2 dispatched
#> ✔ par_pre_par2 completed [0ms, 32.52 kB]
#> + lib_sop_ecm dispatched
#> [2026-11-21 08:23:47.786] [INFO ] > Starting: download_file [url=https://ecmdb.ca/download/ecmdb.json.zip, destination=data/source/libraries/sop/ecmdb.json.zip]
#> [2026-11-21 08:23:48.203] [INFO ] [OK] Completed: download_file [size_bytes=1334921] (416ms)
#> ✔ lib_sop_ecm completed [418ms, 1.33 MB]
#> + lib_sop_hmd_fam_raw dispatched
#> [2026-11-21 08:23:48.324] [INFO ] > Starting: download_file [url=https://www.csfmetabolome.ca/system/downloads/current/csf_metabolites_structures.zip, destination=data/source/libraries/sop/csfmetabolome/structures.zip]
#> [2026-11-21 08:23:48.462] [INFO ] [OK] Completed: download_file [size_bytes=251502] (138ms)
#> [2026-11-21 08:23:48.464] [INFO ] > Starting: download_file [url=https://www.fecalmetabolome.ca/system/downloads/current/feces_metabolites_structures.zip, destination=data/source/libraries/sop/fecalmetabolome/structures.zip]
#> [2026-11-21 08:23:48.670] [INFO ] [OK] Completed: download_file [size_bytes=3201305] (206ms)
#> [2026-11-21 08:23:48.671] [INFO ] > Starting: download_file [url=https://www.salivametabolome.ca/system/downloads/current/saliva_metabolites_structures.zip, destination=data/source/libraries/sop/salivametabolome/structures.zip]
#> [2026-11-21 08:23:48.813] [INFO ] [OK] Completed: download_file [size_bytes=622845] (142ms)
#> [2026-11-21 08:23:48.815] [INFO ] > Starting: download_file [url=https://www.serummetabolome.ca/system/downloads/current/serum_metabolites_structures.zip, destination=data/source/libraries/sop/serummetabolome/structures.zip]
#> [2026-11-21 08:23:49.794] [INFO ] [OK] Completed: download_file [size_bytes=12023792] (979ms)
#> [2026-11-21 08:23:49.795] [INFO ] > Starting: download_file [url=https://www.sweatmetabolome.ca/system/downloads/current/sweat_metabolites_structures.zip, destination=data/source/libraries/sop/sweatmetabolome/structures.zip]
#> [2026-11-21 08:23:49.901] [INFO ] [OK] Completed: download_file [size_bytes=42618] (105ms)
#> [2026-11-21 08:23:49.902] [INFO ] > Starting: download_file [url=https://www.urinemetabolome.ca/system/downloads/current/urine_metabolites_structures.zip, destination=data/source/libraries/sop/urinemetabolome/structures.zip]
#> [2026-11-21 08:23:50.076] [INFO ] [OK] Completed: download_file [size_bytes=2654043] (174ms)
#> [2026-11-21 08:23:50.078] [INFO ] > Starting: download_file [url=https://mcdb.ca/system/downloads/current/milk_metabolites_structures.zip, destination=data/source/libraries/sop/mcdb/structures.zip]
#> [2026-11-21 08:23:50.134] [WARN ] file download failed (attempt 1/3), retrying in 1s: HTTP 403 Forbidden.
#> [2026-11-21 08:23:51.174] [WARN ] file download failed (attempt 2/3), retrying in 2s: HTTP 403 Forbidden.
#> [2026-11-21 08:23:53.246] [WARN ] HMDB family download failed: file download failed
#> ✖ x file download failed after retries Expected: Successful operation Received:
#> HTTP 403 Forbidden. Reason: Tried 3 times with exponential backoff Fix:
#> Possible solutions: 1. Check network connection 2. Verify server/service is
#> available 3. Check authentication credentials 4. Try again later if service
#> is down 5. Increase max_attempts if transient failures are common
#> [2026-11-21 08:23:53.247] [WARN ] HMDB download failed. Creating minimal placeholder SDF file.
#> [2026-11-21 08:23:53.250] [INFO ] > Starting: download_file [url=https://smpdb.ca/downloads/smpdb_structures.zip, destination=data/source/libraries/sop/smpdb/structures.zip]
#> [2026-11-21 08:23:53.332] [WARN ] file download failed (attempt 1/3), retrying in 1s: HTTP 403 Forbidden.
#> [2026-11-21 08:23:54.370] [WARN ] file download failed (attempt 2/3), retrying in 2s: HTTP 403 Forbidden.
#> [2026-11-21 08:23:56.440] [WARN ] HMDB family download failed: file download failed
#> ✖ x file download failed after retries Expected: Successful operation Received:
#> HTTP 403 Forbidden. Reason: Tried 3 times with exponential backoff Fix:
#> Possible solutions: 1. Check network connection 2. Verify server/service is
#> available 3. Check authentication credentials 4. Try again later if service
#> is down 5. Increase max_attempts if transient failures are common
#> [2026-11-21 08:23:56.441] [WARN ] HMDB download failed. Creating minimal placeholder SDF file.
#> [2026-11-21 08:23:56.444] [INFO ] > Starting: download_file [url=https://mimedb.org/system/downloads/2.0/mimedb.sdf.zip, destination=data/source/libraries/sop/mimedb/structures.zip]
#> [2026-11-21 08:23:56.671] [WARN ] file download failed (attempt 1/3), retrying in 1s: HTTP 403 Forbidden.
#> [2026-11-21 08:23:57.722] [WARN ] file download failed (attempt 2/3), retrying in 2s: HTTP 403 Forbidden.
#> [2026-11-21 08:23:59.803] [WARN ] HMDB family download failed: file download failed
#> ✖ x file download failed after retries Expected: Successful operation Received:
#> HTTP 403 Forbidden. Reason: Tried 3 times with exponential backoff Fix:
#> Possible solutions: 1. Check network connection 2. Verify server/service is
#> available 3. Check authentication credentials 4. Try again later if service
#> is down 5. Increase max_attempts if transient failures are common
#> [2026-11-21 08:23:59.804] [WARN ] HMDB download failed. Creating minimal placeholder SDF file.
#> [2026-11-21 08:23:59.808] [INFO ] > Starting: download_file [url=https://t3db.ca/system/downloads/current/structures.zip, destination=data/source/libraries/sop/t3db/structures.zip]
#> [2026-11-21 08:23:59.870] [WARN ] file download failed (attempt 1/3), retrying in 1s: HTTP 403 Forbidden.
#> [2026-11-21 08:24:00.908] [WARN ] file download failed (attempt 2/3), retrying in 2s: HTTP 403 Forbidden.
#> [2026-11-21 08:24:02.977] [WARN ] HMDB family download failed: file download failed
#> ✖ x file download failed after retries Expected: Successful operation Received:
#> HTTP 403 Forbidden. Reason: Tried 3 times with exponential backoff Fix:
#> Possible solutions: 1. Check network connection 2. Verify server/service is
#> available 3. Check authentication credentials 4. Try again later if service
#> is down 5. Increase max_attempts if transient failures are common
#> [2026-11-21 08:24:02.978] [WARN ] HMDB download failed. Creating minimal placeholder SDF file.
#> [2026-11-21 08:24:02.981] [INFO ] > Starting: download_file [url=https://bovinedb.ca/system/downloads/current/structures.zip, destination=data/source/libraries/sop/bovinedb/structures.zip]
#> [2026-11-21 08:24:03.052] [WARN ] file download failed (attempt 1/3), retrying in 1s: HTTP 403 Forbidden.
#> [2026-11-21 08:24:04.094] [WARN ] file download failed (attempt 2/3), retrying in 2s: HTTP 403 Forbidden.
#> [2026-11-21 08:24:06.169] [WARN ] HMDB family download failed: file download failed
#> ✖ x file download failed after retries Expected: Successful operation Received:
#> HTTP 403 Forbidden. Reason: Tried 3 times with exponential backoff Fix:
#> Possible solutions: 1. Check network connection 2. Verify server/service is
#> available 3. Check authentication credentials 4. Try again later if service
#> is down 5. Increase max_attempts if transient failures are common
#> [2026-11-21 08:24:06.170] [WARN ] HMDB download failed. Creating minimal placeholder SDF file.
#> [2026-11-21 08:24:06.173] [INFO ] > Starting: download_file [url=https://www.ymdb.ca/system/downloads/current/ymdb.sdf.zip, destination=data/source/libraries/sop/ymdb/structures.zip]
#> [2026-11-21 08:24:06.439] [INFO ] [OK] Completed: download_file [size_bytes=1200611] (266ms)
#> [2026-11-21 08:24:06.440] [INFO ] > Starting: download_file [url=https://cannabisdatabase.ca/simple/download_compound_as_sdf, destination=data/source/libraries/sop/cannabisdatabase/compounds.sdf]
#> [2026-11-21 08:24:06.529] [WARN ] file download failed (attempt 1/3), retrying in 1s: Failed to perform HTTP request.
#> Caused by error in `curl::curl_fetch_disk()`:
#> ! SSL peer certificate or SSH remote key was not OK [cannabisdatabase.ca]:
#> SSL certificate OpenSSL verify result: certificate has expired (10)
#> [2026-11-21 08:24:07.584] [WARN ] file download failed (attempt 2/3), retrying in 2s: Failed to perform HTTP request.
#> Caused by error in `curl::curl_fetch_disk()`:
#> ! SSL peer certificate or SSH remote key was not OK [cannabisdatabase.ca]:
#> SSL certificate OpenSSL verify result: certificate has expired (10)
#> [2026-11-21 08:24:09.673] [WARN ] HMDB family download failed: file download failed
#> ✖ x file download failed after retries Expected: Successful operation Received:
#> Failed to perform HTTP request. Caused by error in `curl::curl_fetch_disk()`:
#> ! SSL peer certificate or SSH remote key was not OK [cannabisdatabase.ca]:
#> SSL certificate OpenSSL verify result: certificate has expired (10) Reason:
#> Tried 3 times with exponential backoff Fix: Possible solutions: 1. Check
#> network connection 2. Verify server/service is available 3. Check
#> authentication credentials 4. Try again later if service is down 5. Increase
#> max_attempts if transient failures are common
#> [2026-11-21 08:24:09.674] [WARN ] HMDB download failed. Creating minimal placeholder SDF file.
#> [2026-11-21 08:24:09.676] [WARN ] Failed to create zip file, trying alternative method
#> zip warning: missing end signature--probably not a zip file (did you
#> zip warning: remember to use binary mode when you transferred it?)
#> zip warning: (if you are trying to read a damaged archive try -F)
#>
#> zip error: Zip file structure invalid (compounds.sdf)
#> ✔ lib_sop_hmd_fam_raw completed [21.4s, 20.00 MB]
#> + lib_spe_exp_env_pre_sop dispatched
#> [2026-11-21 08:24:09.816] [INFO ] > Starting: download_file [url=https://github.com/Adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/sop/enveda180_prepared.tsv.gz, destination=data/interim/libraries/sop/enveda180_prepared.tsv.gz]
#> [2026-11-21 08:24:10.261] [INFO ] [OK] Completed: download_file [size_bytes=2885970] (446ms)
#> ✔ lib_spe_exp_env_pre_sop completed [448ms, 2.89 MB]
#> + lib_spe_exp_gnp_pre_sop dispatched
#> [2026-11-21 08:24:10.381] [INFO ] > Starting: download_file [url=https://github.com/Adafede/SpectRalLibRaRies/raw/main/data/interim/libraries/sop/gnps_11566051_prepared.tsv.gz, destination=data/interim/libraries/sop/gnps_11566051_prepared.tsv.gz]
#> [2026-11-21 08:24:10.645] [INFO ] [OK] Completed: download_file [size_bytes=495725] (264ms)
#> ✔ lib_spe_exp_gnp_pre_sop completed [266ms, 495.73 kB]
#> + par_fin_par dispatched
#> ✔ par_fin_par completed [1ms, 342 B]
#> + par_fin_par2 dispatched
#> ✔ par_fin_par2 completed [2ms, 4.27 kB]
#> + lib_sop_hmd_fam_pre dispatched
#> [2026-11-21 08:24:10.994] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=CSFMETABOLOME, input=data/source/libraries/sop/csfmetabolome/structures.zip, tag=csf]
#> [2026-11-21 08:24:11.050] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/csfmetabolome_prepared.tsv.gz, n_rows=445]
#> [2026-11-21 08:24:11.053] [INFO ] [OK] Completed: export_output [size_bytes=19485] (3ms)
#> [2026-11-21 08:24:11.054] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=445] (60ms)
#> [2026-11-21 08:24:11.055] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=FECALMETABOLOME, input=data/source/libraries/sop/fecalmetabolome/structures.zip, tag=fecal]
#> [2026-11-21 08:24:12.500] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/fecalmetabolome_prepared.tsv.gz, n_rows=6810]
#> [2026-11-21 08:24:12.524] [INFO ] [OK] Completed: export_output [size_bytes=237060] (23ms)
#> [2026-11-21 08:24:12.525] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=6810] (1.5s)
#> [2026-11-21 08:24:12.526] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=SALIVAMETABOLOME, input=data/source/libraries/sop/salivametabolome/structures.zip, tag=saliva]
#> [2026-11-21 08:24:12.696] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/salivametabolome_prepared.tsv.gz, n_rows=1245]
#> [2026-11-21 08:24:12.701] [INFO ] [OK] Completed: export_output [size_bytes=47303] (6ms)
#> [2026-11-21 08:24:12.702] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=1245] (176ms)
#> [2026-11-21 08:24:12.703] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=SERUMMETABOLOME, input=data/source/libraries/sop/serummetabolome/structures.zip, tag=serum]
#> [2026-11-21 08:24:20.788] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/serummetabolome_prepared.tsv.gz, n_rows=25411]
#> [2026-11-21 08:24:20.843] [INFO ] [OK] Completed: export_output [size_bytes=812712] (54ms)
#> [2026-11-21 08:24:20.844] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=25411] (8.1s)
#> [2026-11-21 08:24:20.845] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=SWEATMETABOLOME, input=data/source/libraries/sop/sweatmetabolome/structures.zip, tag=sweat]
#> [2026-11-21 08:24:20.856] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/sweatmetabolome_prepared.tsv.gz, n_rows=89]
#> [2026-11-21 08:24:20.858] [INFO ] [OK] Completed: export_output [size_bytes=4110] (1ms)
#> [2026-11-21 08:24:20.859] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=89] (14ms)
#> [2026-11-21 08:24:20.859] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=URINEMETABOLOME, input=data/source/libraries/sop/urinemetabolome/structures.zip, tag=urine]
#> [2026-11-21 08:24:21.529] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/urinemetabolome_prepared.tsv.gz, n_rows=4364]
#> [2026-11-21 08:24:21.543] [INFO ] [OK] Completed: export_output [size_bytes=209222] (14ms)
#> [2026-11-21 08:24:21.544] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=4364] (684ms)
#> [2026-11-21 08:24:21.545] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=MCDB, input=data/source/libraries/sop/mcdb/structures.zip, tag=milk]
#> [2026-11-21 08:24:21.548] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/mcdb_prepared.tsv.gz, n_rows=0]
#> [2026-11-21 08:24:21.550] [INFO ] [OK] Completed: export_output [size_bytes=256] (1ms)
#> [2026-11-21 08:24:21.551] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=0] (5ms)
#> [2026-11-21 08:24:21.552] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=SMPDB, input=data/source/libraries/sop/smpdb/structures.zip, tag=pathway]
#> [2026-11-21 08:24:21.554] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/smpdb_prepared.tsv.gz, n_rows=0]
#> [2026-11-21 08:24:21.555] [INFO ] [OK] Completed: export_output [size_bytes=256] (1ms)
#> [2026-11-21 08:24:21.556] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=0] (4ms)
#> [2026-11-21 08:24:21.557] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=MIMEDB, input=data/source/libraries/sop/mimedb/structures.zip, tag=microbiome]
#> [2026-11-21 08:24:21.559] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/mimedb_prepared.tsv.gz, n_rows=0]
#> [2026-11-21 08:24:21.560] [INFO ] [OK] Completed: export_output [size_bytes=256] (1ms)
#> [2026-11-21 08:24:21.561] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=0] (4ms)
#> [2026-11-21 08:24:21.561] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=T3DB, input=data/source/libraries/sop/t3db/structures.zip, tag=toxin]
#> [2026-11-21 08:24:21.563] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/t3db_prepared.tsv.gz, n_rows=0]
#> [2026-11-21 08:24:21.565] [INFO ] [OK] Completed: export_output [size_bytes=256] (1ms)
#> [2026-11-21 08:24:21.566] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=0] (4ms)
#> [2026-11-21 08:24:21.566] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=BOVINEDB, input=data/source/libraries/sop/bovinedb/structures.zip, tag=NA]
#> [2026-11-21 08:24:21.569] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/bovinedb_prepared.tsv.gz, n_rows=0]
#> [2026-11-21 08:24:21.570] [INFO ] [OK] Completed: export_output [size_bytes=256] (1ms)
#> [2026-11-21 08:24:21.571] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=0] (5ms)
#> [2026-11-21 08:24:21.572] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=YMDB, input=data/source/libraries/sop/ymdb/structures.zip, tag=NA]
#> [2026-11-21 08:24:21.894] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/ymdb_prepared.tsv.gz, n_rows=2024]
#> [2026-11-21 08:24:21.903] [INFO ] [OK] Completed: export_output [size_bytes=83615] (9ms)
#> [2026-11-21 08:24:21.904] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=2024] (332ms)
#> [2026-11-21 08:24:21.905] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=CANNABISDATABASE, input=data/source/libraries/sop/cannabisdatabase/compounds.sdf, tag=NA]
#> [2026-11-21 08:24:21.907] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/cannabisdatabase_prepared.tsv.gz, n_rows=0]
#> [2026-11-21 08:24:21.908] [INFO ] [OK] Completed: export_output [size_bytes=256] (1ms)
#> [2026-11-21 08:24:21.909] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=0] (4ms)
#> ✔ lib_sop_hmd_fam_pre completed [10.9s, 1.42 MB]
#> + par_usr_pre_lib_sop_lot dispatched
#> ✔ par_usr_pre_lib_sop_lot completed [48ms, 174 B]
#> + par_usr_pre_lib_sop_mer dispatched
#> ✔ par_usr_pre_lib_sop_mer completed [21ms, 3.01 kB]
#> + par_usr_pre_tax dispatched
#> ✔ par_usr_pre_tax completed [21ms, 438 B]
#> + par_usr_exp_mzt dispatched
#> ✔ par_usr_exp_mzt completed [21ms, 425 B]
#> + par_usr_pre_lib_sop_hmd dispatched
#> ✔ par_usr_pre_lib_sop_hmd completed [21ms, 178 B]
#> + par_usr_wei_ann dispatched
#> ✔ par_usr_wei_ann completed [20ms, 1.79 kB]
#> + par_usr_pre_ann_sir dispatched
#> ✔ par_usr_pre_ann_sir completed [21ms, 859 B]
#> + par_usr_pre_ann_gnp dispatched
#> ✔ par_usr_pre_ann_gnp completed [22ms, 633 B]
#> + par_usr_pre_lib_sop_big dispatched
#> ✔ par_usr_pre_lib_sop_big completed [21ms, 107 B]
#> + par_usr_pre_lib_spe dispatched
#> ✔ par_usr_pre_lib_spe completed [21ms, 322 B]
#> + par_usr_pre_ann_mzm dispatched
#> ✔ par_usr_pre_ann_mzm completed [20ms, 635 B]
#> + par_usr_pre_ann_mzt dispatched
#> ✔ par_usr_pre_ann_mzt completed [21ms, 546 B]
#> + par_usr_cre_com dispatched
#> ✔ par_usr_cre_com completed [21ms, 200 B]
#> + par_usr_pre_lib_sop_ecm dispatched
#> ✔ par_usr_pre_lib_sop_ecm completed [20ms, 176 B]
#> + par_usr_ann_mas dispatched
#> ✔ par_usr_ann_mas completed [21ms, 4.73 kB]
#> + par_usr_pre_lib_rt dispatched
#> ✔ par_usr_pre_lib_rt completed [21ms, 487 B]
#> + par_usr_pre_ann_spe dispatched
#> ✔ par_usr_pre_ann_spe completed [21ms, 656 B]
#> + par_usr_pre_fea_tab dispatched
#> ✔ par_usr_pre_fea_tab completed [23ms, 274 B]
#> + par_usr_ann_spe dispatched
#> ✔ par_usr_ann_spe completed [20ms, 1.46 kB]
#> + par_usr_pre_lib_sop_clo dispatched
#> ✔ par_usr_pre_lib_sop_clo completed [20ms, 178 B]
#> + par_usr_pre_fea_com dispatched
#> ✔ par_usr_pre_fea_com completed [20ms, 200 B]
#> + par_usr_fil_ann dispatched
#> ✔ par_usr_fil_ann completed [20ms, 808 B]
#> + par_usr_pre_lib_sop_pub dispatched
#> ✔ par_usr_pre_lib_sop_pub completed [22ms, 195 B]
#> + par_usr_pre_fea_edg dispatched
#> ✔ par_usr_pre_fea_edg completed [21ms, 328 B]
#> + par_usr_cre_edg_spe dispatched
#> ✔ par_usr_cre_edg_spe completed [21ms, 425 B]
#> + par_pre_lib_sop_lot dispatched
#> ✔ par_pre_lib_sop_lot completed [1ms, 186 B]
#> + par_pre_lib_sop_mer dispatched
#> ✔ par_pre_lib_sop_mer completed [1ms, 845 B]
#> + par_pre_tax dispatched
#> ✔ par_pre_tax completed [1ms, 330 B]
#> + par_exp_mzt dispatched
#> ✔ par_exp_mzt completed [0ms, 270 B]
#> + par_pre_lib_sop_hmd dispatched
#> ✔ par_pre_lib_sop_hmd completed [0ms, 191 B]
#> + par_wei_ann dispatched
#> ✔ par_wei_ann completed [1ms, 940 B]
#> + par_pre_ann_sir dispatched
#> ✔ par_pre_ann_sir completed [1ms, 435 B]
#> + par_pre_ann_gnp dispatched
#> ✔ par_pre_ann_gnp completed [1ms, 324 B]
#> + par_pre_lib_sop_big dispatched
#> ✔ par_pre_lib_sop_big completed [0ms, 155 B]
#> + par_pre_lib_spe dispatched
#> ✔ par_pre_lib_spe completed [1ms, 406 B]
#> + par_pre_ann_mzm dispatched
#> ✔ par_pre_ann_mzm completed [1ms, 330 B]
#> + par_pre_ann_mzt dispatched
#> ✔ par_pre_ann_mzt completed [0ms, 313 B]
#> + par_cre_com dispatched
#> ✔ par_cre_com completed [1ms, 191 B]
#> + par_pre_lib_sop_ecm dispatched
#> ✔ par_pre_lib_sop_ecm completed [1ms, 191 B]
#> + par_ann_mas dispatched
#> ✔ par_ann_mas completed [1ms, 1.99 kB]
#> + par_pre_lib_rt dispatched
#> ✔ par_pre_lib_rt completed [1ms, 376 B]
#> + par_pre_ann_spe dispatched
#> ✔ par_pre_ann_spe completed [1ms, 323 B]
#> + par_pre_fea_tab dispatched
#> ✔ par_pre_fea_tab completed [1ms, 279 B]
#> + par_ann_spe dispatched
#> ✔ par_ann_spe completed [1ms, 583 B]
#> + par_pre_lib_sop_clo dispatched
#> ✔ par_pre_lib_sop_clo completed [0ms, 186 B]
#> + par_pre_fea_com dispatched
#> ✔ par_pre_fea_com completed [0ms, 184 B]
#> + par_fil_ann dispatched
#> ✔ par_fil_ann completed [1ms, 374 B]
#> + par_pre_lib_sop_pub dispatched
#> ✔ par_pre_lib_sop_pub completed [0ms, 193 B]
#> + par_pre_fea_edg dispatched
#> ✔ par_pre_fea_edg completed [1ms, 243 B]
#> + par_cre_edg_spe dispatched
#> ✔ par_cre_edg_spe completed [0ms, 373 B]
#> + lib_sop_lot_pre dispatched
#> [2026-11-21 08:24:29.047] [INFO ] > Starting: prepare_libraries_sop_lotus [input=data/source/libraries/sop/lotus.csv.gz]
#> [2026-11-21 08:24:36.504] [INFO ] [OK] Completed: prepare_libraries_sop_lotus [n_pairs=677545] (7.5s)
#> [2026-11-21 08:24:36.506] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/lotus_prepared.tsv.gz, n_rows=677545]
#> [2026-11-21 08:24:39.334] [INFO ] [OK] Completed: export_output [size_bytes=49541873] (2.8s)
#> ✔ lib_sop_lot_pre completed [10.3s, 49.54 MB]
#> + lib_sop_mer_cla_cache dispatched
#> [2026-11-21 08:24:39.764] [INFO ] > Starting: download_file [url=https://github.com/Adafede/marimo/raw/refs/heads/main/apps/public/classyfire/classyfire_cache.csv, destination=data/interim/libraries/sop/merged/structures/taxonomies/classyfire_cache.csv]
#> [2026-11-21 08:24:41.622] [INFO ] [OK] Completed: download_file [size_bytes=142917851] (1.9s)
#> ✔ lib_sop_mer_cla_cache completed [1.9s, 124 B]
#> + lib_sop_mer_str_pro dispatched
#> [2026-11-21 08:24:41.771] [INFO ] > Starting: download_file [url=https://github.com/taxonomicallyinformedannotation/tima-example-files/raw/main/processed.csv.gz, destination=data/interim/libraries/sop/merged/structures/processed.csv.gz]
#> [2026-11-21 08:24:42.865] [INFO ] [OK] Completed: download_file [size_bytes=96419862] (1.1s)
#> ✔ lib_sop_mer_str_pro completed [1.1s, 111 B]
#> + lib_sop_mer_npc_cache dispatched
#> [2026-11-21 08:24:43.014] [INFO ] > Starting: download_file [url=https://github.com/Adafede/marimo/raw/refs/heads/main/apps/public/npclassifier/npclassifier_cache.csv, destination=data/interim/libraries/sop/merged/structures/taxonomies/npclassifier_cache.csv]
#> Downloading 44% ■■■■■■■■■■■■■■ 1s
#> Downloading 98% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
#> Downloading 100% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
#> [2026-11-21 08:24:45.719] [INFO ] [OK] Completed: download_file [size_bytes=201875293] (2.7s)
#> ✔ lib_sop_mer_npc_cache completed [2.7s, 125 B]
#> + lib_sop_hmd_pre dispatched
#> [2026-11-21 08:24:45.862] [INFO ] > Starting: prepare_libraries_sop_hmdb_like [source=HMDB, input=data/source/libraries/sop/hmdb/structures.zip, tag=NA]
#> [2026-11-21 08:24:45.865] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/hmdb_prepared.tsv.gz, n_rows=0]
#> [2026-11-21 08:24:45.866] [INFO ] [OK] Completed: export_output [size_bytes=256] (1ms)
#> [2026-11-21 08:24:45.867] [INFO ] [OK] Completed: prepare_libraries_sop_hmdb_like [n_pairs=0] (5ms)
#> ✔ lib_sop_hmd_pre completed [6ms, 256 B]
#> + lib_sop_big_pre dispatched
#> [2026-11-21 08:24:46.008] [INFO ] Preparing BiGG structure-organism pairs
#> [2026-11-21 08:25:08.029] [INFO ] > Starting: process_smiles [n_structures=1426]
#> [2026-11-21 08:25:08.030] [INFO ] Processing SMILES with RDKit
#> Downloading uv...Done!
#> Downloading cpython-3.13.18-linux-x86_64-gnu (download) (33.9MiB)
#> Downloaded cpython-3.13.18-linux-x86_64-gnu (download)
#> Downloading pillow (6.8MiB)
#> Downloading numpy (15.0MiB)
#> Downloading rdkit (28.2MiB)
#> Downloaded pillow
#> Downloaded numpy
#> Downloaded rdkit
#> Installed 5 packages in 20ms
#> [2026-11-21 08:25:11.166] [INFO ] Processing 1425 new SMILES with RDKit
#> [2026-11-21 08:25:11.168] [INFO ] Starting SMILES processing pipeline
#> [2026-11-21 08:25:11.168] [INFO ] Input: /tmp/RtmphG2Sys/file21705ce60734.smi
#> [2026-11-21 08:25:11.168] [INFO ] Output: /tmp/RtmphG2Sys/file21707fb1b50d.csv.gz
#> [2026-11-21 08:25:11.168] [INFO ] Input file validated: /tmp/RtmphG2Sys/file21705ce60734.smi
#> [2026-11-21 08:25:11.168] [INFO ] Output file validated: /tmp/RtmphG2Sys/file21707fb1b50d.csv.gz
#> [2026-11-21 08:25:11.169] [INFO ] Processing parameters: workers=8, batch_size=1000, progress_interval=10000
#> [2026-11-21 08:25:11.169] [INFO ] SMILES supplier initialized
#> [2026-11-21 08:25:12.862] [INFO ] Processing complete. Total molecules processed: 1425
#> [2026-11-21 08:25:12.875] [INFO ] Successfully processed 1425 SMILES
#> [2026-11-21 08:25:12.879] [INFO ] [OK] Completed: process_smiles [n_processed=1425] (4.8s)
#> [2026-11-21 08:25:20.012] [INFO ] > Starting: process_smiles [n_structures=2085]
#> [2026-11-21 08:25:20.014] [INFO ] Processing SMILES with RDKit
#> [2026-11-21 08:25:20.020] [INFO ] Processing 1242 new SMILES with RDKit
#> [2026-11-21 08:25:20.021] [INFO ] Starting SMILES processing pipeline
#> [2026-11-21 08:25:20.021] [INFO ] Input: /tmp/RtmphG2Sys/file217050be47f8.smi
#> [2026-11-21 08:25:20.021] [INFO ] Output: /tmp/RtmphG2Sys/file2170798375fe.csv.gz
#> [2026-11-21 08:25:20.021] [INFO ] Input file validated: /tmp/RtmphG2Sys/file217050be47f8.smi
#> [2026-11-21 08:25:20.021] [INFO ] Output file validated: /tmp/RtmphG2Sys/file2170798375fe.csv.gz
#> [2026-11-21 08:25:20.021] [INFO ] Processing parameters: workers=8, batch_size=1000, progress_interval=10000
#> [2026-11-21 08:25:20.021] [INFO ] SMILES supplier initialized
#> [2026-11-21 08:25:21.506] [INFO ] Processing complete. Total molecules processed: 1242
#> [2026-11-21 08:25:21.519] [INFO ] Successfully processed 1242 SMILES
#> [2026-11-21 08:25:21.523] [INFO ] [OK] Completed: process_smiles [n_processed=1242] (1.5s)
#> [2026-11-21 08:25:21.557] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/bigg_prepared.tsv.gz, n_rows=2363]
#> [2026-11-21 08:25:21.568] [INFO ] [OK] Completed: export_output [size_bytes=82190] (11ms)
#> ✔ lib_sop_big_pre completed [35.6s, 82.19 kB]
#> + lib_spe_exp_int_pre dispatched
#> [2026-11-21 08:25:21.868] [INFO ] > Starting: prepare_libraries_spectra [library_name=internal, n_input_files=1]
#> [2026-11-21 08:25:21.871] [WARN ] Input file(s) not found; creating empty library template
#> [2026-11-21 08:25:23.506] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/internal_prepared.tsv.gz, n_rows=1]
#> [2026-11-21 08:25:23.507] [INFO ] [OK] Completed: export_output [size_bytes=79] (1ms)
#> [2026-11-21 08:25:23.552] [INFO ] Exporting parameters to: data/interim/params/261121_082523_prepare_libraries_spectra.yaml
#> [2026-11-21 08:25:23.553] [INFO ] [OK] Completed: prepare_libraries_spectra [n_structures=1, n_spectra_total=2, files_exported=3] (1.7s)
#> ✔ lib_spe_exp_int_pre completed [1.7s, 1.28 kB]
#> + lib_sop_ecm_pre dispatched
#> [2026-11-21 08:25:24.024] [INFO ] Preparing ECMDB structure-organism pairs
#> [2026-11-21 08:25:24.520] [INFO ] Exporting parameters to: data/interim/params/261121_082524_prepare_libraries_sop_ecmdb.yaml
#> [2026-11-21 08:25:24.522] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/ecmdb_prepared.tsv.gz, n_rows=3760]
#> [2026-11-21 08:25:24.533] [INFO ] [OK] Completed: export_output [size_bytes=165776] (11ms)
#> ✔ lib_sop_ecm_pre completed [510ms, 165.78 kB]
#> + lib_rt dispatched
#> [2026-11-21 08:25:24.963] [INFO ] Preparing retention time libraries
#> [2026-11-21 08:25:24.993] [WARN ] No retention time library found, returning empty retention time and sop tables.
#> [2026-11-21 08:25:25.022] [INFO ] Exporting parameters to: data/interim/params/261121_082525_prepare_libraries_rt.yaml
#> [2026-11-21 08:25:25.023] [INFO ] > Starting: export_output [file=data/interim/libraries/rt/prepared.tsv.gz, n_rows=1]
#> [2026-11-21 08:25:25.024] [INFO ] [OK] Completed: export_output [size_bytes=86] (1ms)
#> [2026-11-21 08:25:25.025] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/rt_prepared.tsv.gz, n_rows=1]
#> [2026-11-21 08:25:25.026] [INFO ] [OK] Completed: export_output [size_bytes=105] (1ms)
#> ✔ lib_rt completed [65ms, 191 B]
#> + input_features dispatched
#> ✔ input_features completed [0ms, 451.55 kB]
#> + input_spectra dispatched
#> ✔ input_spectra completed [0ms, 7.77 MB]
#> + lib_sop_clo_pre dispatched
#> [2026-11-21 08:25:26.283] [INFO ] Preparing closed structure-organism pairs library
#> [2026-11-21 08:25:26.284] [WARN ] Closed resource not accessible at: data/source/libraries/sop/closed.csv.gz. Returning empty template instead.
#> [2026-11-21 08:25:26.295] [INFO ] Exporting parameters to: data/interim/params/261121_082526_prepare_libraries_sop_closed.yaml
#> [2026-11-21 08:25:26.296] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/closed_prepared.tsv.gz, n_rows=1]
#> [2026-11-21 08:25:26.297] [INFO ] [OK] Completed: export_output [size_bytes=277] (1ms)
#> ✔ lib_sop_clo_pre completed [16ms, 277 B]
#> + lib_sop_pub_pre dispatched
#> [2026-11-21 08:25:26.707] [INFO ] > Starting: prepare_libraries_sop_pubchemlite [input=data/source/libraries/sop/pubchemlite.csv]
#> [2026-11-21 08:25:32.883] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/pubchemlite_prepared.tsv.gz, n_rows=566689]
#> [2026-11-21 08:25:34.443] [INFO ] [OK] Completed: export_output [size_bytes=29385634] (1.6s)
#> [2026-11-21 08:25:34.444] [INFO ] [OK] Completed: prepare_libraries_sop_pubchemlite [n_pairs=566689] (7.7s)
#> ✔ lib_sop_pub_pre completed [7.7s, 29.39 MB]
#> + lib_spe_exp_int_pre_neg dispatched
#> ✔ lib_spe_exp_int_pre_neg completed [0ms, 601 B]
#> + lib_spe_exp_int_pre_pos dispatched
#> ✔ lib_spe_exp_int_pre_pos completed [1ms, 601 B]
#> + lib_spe_exp_int_pre_sop dispatched
#> ✔ lib_spe_exp_int_pre_sop completed [0ms, 79 B]
#> + lib_rt_sop dispatched
#> ✔ lib_rt_sop completed [0ms, 105 B]
#> + lib_rt_rts dispatched
#> ✔ lib_rt_rts completed [0ms, 86 B]
#> + fea_pre dispatched
#> [2026-11-21 08:25:37.614] [INFO ] > Starting: prepare_features_tables [input=data/source/example_features.csv, candidates=1]
#> [2026-11-21 08:25:37.648] [INFO ] Prepared 5328 feature-sample pairs
#> [2026-11-21 08:25:37.649] [INFO ] [OK] Completed: prepare_features_tables [n_features=5328] (35ms)
#> [2026-11-21 08:25:37.666] [INFO ] Exporting parameters to: data/interim/params/261121_082537_prepare_features_tables.yaml
#> [2026-11-21 08:25:37.668] [INFO ] > Starting: export_output [file=data/interim/features/example_features.tsv.gz, n_rows=5328]
#> [2026-11-21 08:25:37.691] [INFO ] [OK] Completed: export_output [size_bytes=172763] (23ms)
#> ✔ fea_pre completed [79ms, 172.76 kB]
#> + fea_edg_spe dispatched
#> [2026-11-21 08:25:38.154] [INFO ] > Starting: create_edges_spectra [method=gnps, n_input_files=1]
#> [2026-11-21 08:25:38.174] [INFO ] Creating spectral similarity network edges
#> [2026-11-21 08:25:38.176] [INFO ] Importing spectra from: data/source/example_spectra.mgf
#> [2026-11-21 08:25:38.177] [INFO ] Reading MGF file (7.41 MB) with optimized parser: data/source/example_spectra.mgf
#> [2026-11-21 08:25:38.293] [INFO ] Total spectra read: 16282
#> [2026-11-21 08:25:38.730] [INFO ] Loaded 16282 spectra from file
#> [2026-11-21 08:25:38.742] [INFO ] Filtered to MS2 spectra: 16282 -> 12195 (4087 removed)
#> [2026-11-21 08:25:38.746] [INFO ] Combining replicate spectra by FEATURE_ID
#> [2026-11-21 08:25:41.265] [INFO ] Combined replicates: 12195 -> 4087 spectra
#> [2026-11-21 08:25:41.286] [INFO ] Sanitizing 4087 spectra (cutoff: 0)
#> [2026-11-21 08:25:41.948] [INFO ] Sanitization complete: 3660/4087 spectra retained (89.6%, 427 removed)
#> [2026-11-21 08:25:41.949] [INFO ] Import complete: 3660 spectra ready for analysis
#> [2026-11-21 08:25:41.950] [INFO ] ======================================
#> [2026-11-21 08:25:41.950] [INFO ] Take yourself a break, you deserve it.
#> [2026-11-21 08:25:41.951] [INFO ] ======================================
#> [2026-11-21 08:25:41.952] [INFO ] > Starting: create_edges [n_spectra=3660, method=gnps, threshold=0.1, min_peaks=1]
#> [2026-11-21 08:25:45.727] [INFO ] Here is the distribution of edge similarity scores (0.1 bins):
#> [2026-11-21 08:25:45.729] [INFO ]
#> bin N Pct
#> [0,0.1] 4838216 72.26%
#> (0.1,0.2] 1077987 16.10%
#> (0.2,0.3] 418929 6.26%
#> (0.3,0.4] 188260 2.81%
#> (0.4,0.5] 88549 1.32%
#> (0.5,0.6] 42889 0.64%
#> (0.6,0.7] 21379 0.32%
#> (0.7,0.8] 11100 0.17%
#> (0.8,0.9] 6098 0.09%
#> (0.9,1] 2563 0.04%
#> [2026-11-21 08:25:45.753] [INFO ] [OK] Completed: create_edges [n_edges=1857754, n_comparisons=6695970, pass_rate=27.7%] (3.8s)
#> [2026-11-21 08:25:46.513] [INFO ] Selected community partition at resolution 1.000 (modularity 0.643)
#> [2026-11-21 08:25:47.003] [INFO ] Found 86 communities using weighted Louvain/Leiden clustering
#> [2026-11-21 08:25:47.005] [INFO ] > Starting: export_output [file=data/interim/features/example_edgesSpectra.tsv, n_rows=54804]
#> [2026-11-21 08:25:47.013] [INFO ] [OK] Completed: export_output [size_bytes=2768255] (9ms)
#> [2026-11-21 08:25:47.015] [INFO ] Edges written to: data/interim/features/example_edgesSpectra.tsv
#> [2026-11-21 08:25:47.016] [INFO ] [OK] Completed: create_edges_spectra [n_edges=54804, n_features=3660] (8.9s)
#> ✔ fea_edg_spe completed [8.9s, 2.77 MB]
#> + lib_sop_mer dispatched
#> [2026-11-21 08:25:47.617] [INFO ] > Starting: prepare_libraries_sop_merged [n_libraries=28, filter_enabled=FALSE, filter_level=none]
#> [2026-11-21 08:25:59.680] [INFO ] Splitting SOP library into standardized components
#> [2026-11-21 08:26:02.384] [INFO ] > Starting: process_smiles [n_structures=2103323]
#> [2026-11-21 08:26:02.385] [INFO ] Processing SMILES with RDKit
#> [2026-11-21 08:26:12.861] [INFO ] Processing 3342 new SMILES with RDKit
#> [2026-11-21 08:26:12.863] [INFO ] Starting SMILES processing pipeline
#> [2026-11-21 08:26:12.863] [INFO ] Input: /tmp/RtmphG2Sys/file217050912f1a.smi
#> [2026-11-21 08:26:12.863] [INFO ] Output: /tmp/RtmphG2Sys/file217076ee655c.csv.gz
#> [2026-11-21 08:26:12.863] [INFO ] Input file validated: /tmp/RtmphG2Sys/file217050912f1a.smi
#> [2026-11-21 08:26:12.863] [INFO ] Output file validated: /tmp/RtmphG2Sys/file217076ee655c.csv.gz
#> [2026-11-21 08:26:12.864] [INFO ] Processing parameters: workers=8, batch_size=1000, progress_interval=10000
#> [2026-11-21 08:26:12.864] [INFO ] SMILES supplier initialized
#> [08:26:12] Explicit valence for atom # 1 N, 3, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 9
#> [08:26:12] ERROR: Explicit valence for atom # 1 N, 3, is greater than permitted
#> [08:26:12] Explicit valence for atom # 1 Cl, 7, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 12
#> [08:26:12] ERROR: Explicit valence for atom # 1 Cl, 7, is greater than permitted
#> [08:26:12] Explicit valence for atom # 1 Br, 3, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 13
#> [08:26:12] ERROR: Explicit valence for atom # 1 Br, 3, is greater than permitted
#> [08:26:12] Explicit valence for atom # 1 Br, 5, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 14
#> [08:26:12] ERROR: Explicit valence for atom # 1 Br, 5, is greater than permitted
#> [08:26:12] Explicit valence for atom # 1 Cl, 3, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 15
#> [08:26:12] ERROR: Explicit valence for atom # 1 Cl, 3, is greater than permitted
#> [08:26:12] Explicit valence for atom # 1 Cl, 5, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 16
#> [08:26:12] ERROR: Explicit valence for atom # 1 Cl, 5, is greater than permitted
#> [08:26:12] Explicit valence for atom # 1 I, 7, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 17
#> [08:26:12] ERROR: Explicit valence for atom # 1 I, 7, is greater than permitted
#> [08:26:12] Explicit valence for atom # 1 Cl, 3, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 18
#> [08:26:12] ERROR: Explicit valence for atom # 1 Cl, 3, is greater than permitted
#> [08:26:12] Explicit valence for atom # 8 Br, 2, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 21
#> [08:26:12] ERROR: Explicit valence for atom # 8 Br, 2, is greater than permitted
#> [08:26:12] Explicit valence for atom # 9 Cl, 2, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 22
#> [08:26:12] ERROR: Explicit valence for atom # 9 Cl, 2, is greater than permitted
#> [08:26:12] Explicit valence for atom # 6 C, 5, is greater than permitted
#> [08:26:12] ERROR: Could not sanitize molecule on line 24
#> [08:26:12] ERROR: Explicit valence for atom # 6 C, 5, is greater than permitted
#> [08:26:12] Can't kekulize mol. Unkekulized atoms: 6 7 8 9 10 11 12 13 14
#> [08:26:12] Can't kekulize mol. Unkekulized atoms: 6 7 8 9 10 11 12 13 14
#> [08:26:12] ERROR: Could not sanitize molecule on line 25
#> [08:26:12] ERROR: Can't kekulize mol. Unkekulized atoms: 6 7 8 9 10 11 12 13 14
#> [08:26:12] Explicit valence for atom # 56 P, 7, is greater than permitted
#> [2026-11-21 08:26:12.956] [WARNING] Failed to process SMILES 'CC(C)=CCCC(C)=CCCC(C)=CCCC(C)=CCCC(C)=CCCC(C)=CCCC(C)=CCCC(C)=CCCC(C)=CCCC(C)=CCCC(C)=CCO[P-]([O])(=O)=O': Explicit valence for atom # 56 P, 7, is greater than permitted
#> [08:26:12] Explicit valence for atom # 7 Si, 6, is greater than permitted
#> [2026-11-21 08:26:12.959] [WARNING] Failed to process SMILES 'C1=CC=C2C(=C1)O[Si-]3(O2)(OC4=CC=CC=C4O3)CI': Explicit valence for atom # 7 Si, 6, is greater than permitted
#> [08:26:12] Explicit valence for atom # 4 P, 7, is greater than permitted
#> [2026-11-21 08:26:12.960] [WARNING] Failed to process SMILES 'C(C(F)(F)[P-](C(C(F)(F)F)(F)F)(C(C(F)(F)F)(F)F)(F)(F)F)(F)(F)F': Explicit valence for atom # 4 P, 7, is greater than permitted
#> [08:26:12] Explicit valence for atom # 6 Si, 6, is greater than permitted
#> [08:26:12] Explicit valence for atom # 4 P, 7, is greater than permitted
#> [2026-11-21 08:26:12.961] [WARNING] Failed to process SMILES 'C1=CC=C(C=C1)[Si-](C2=CC=CC=C2)(C3=CC=CC=C3)(F)F': Explicit valence for atom # 6 Si, 6, is greater than permitted
#> [2026-11-21 08:26:12.961] [WARNING] Failed to process SMILES '[H][C@](O)(CO[P-]([O])(=O)=O)C=O': Explicit valence for atom # 4 P, 7, is greater than permitted
#> [2026-11-21 08:26:14.081] [WARNING] Batch processing: 5/1000 molecules failed
#> [2026-11-21 08:26:17.055] [INFO ] Processing complete. Total molecules processed: 3325
#> [2026-11-21 08:26:17.077] [INFO ] Successfully processed 3325 SMILES
#> [2026-11-21 08:26:35.115] [INFO ] [OK] Completed: process_smiles [n_processed=2055991] (32.7s)
#> [2026-11-21 08:26:44.049] [INFO ] Referenced structure-organism pairs (1,277,349)
#> [2026-11-21 08:26:45.829] [INFO ] Structures: 406,451 stereoisomers, 1,376,835 without stereochemistry, 1,533,206 constitutional isomers
#> [2026-11-21 08:26:51.862] [INFO ] Unique organisms (37,469)
#> [2026-11-21 08:26:51.890] [INFO ] Processing 813 organism name(s) for OTT taxonomy lookup
#> [2026-11-21 08:26:52.484] [INFO ] Querying OTT API in 9 batches
#> [2026-11-21 08:26:55.645] [INFO ] Retrieving detailed taxonomy for 4 unique OTT IDs
#> [2026-11-21 08:26:56.382] [INFO ] Got OTTaxonomy!
#> [2026-11-21 08:26:57.135] [INFO ] Enriching NPClassifier taxonomy from additional cache: data/interim/libraries/sop/merged/structures/taxonomies/npclassifier_cache.csv
#> [2026-11-21 08:26:59.163] [INFO ] Enriched NPClassifier taxonomy with 1081432 entries from additional cache (1081432 missing keys matched)
#> [2026-11-21 08:27:01.923] [INFO ] Updated additional NPClassifier cache (1783925 total entries): data/interim/libraries/sop/merged/structures/taxonomies/npclassifier_cache.csv
#> [2026-11-21 08:27:01.987] [INFO ] Enriching ClassyFire taxonomy from additional cache: data/interim/libraries/sop/merged/structures/taxonomies/classyfire_cache.csv
#> [2026-11-21 08:27:03.185] [INFO ] Enriched ClassyFire taxonomy with 160492 entries from additional cache (160492 missing keys matched)
#> [2026-11-21 08:27:03.225] [INFO ] Exporting parameters to: data/interim/params/261121_082703_prepare_libraries_sop_merged.yaml
#> [2026-11-21 08:27:03.226] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/merged/keys.tsv.gz, n_rows=1277349]
#> [2026-11-21 08:27:04.994] [INFO ] [OK] Completed: export_output [size_bytes=30653307] (1.8s)
#> [2026-11-21 08:27:04.996] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/merged/organisms/taxonomies/ott.tsv.gz, n_rows=36758]
#> [2026-11-21 08:27:05.083] [INFO ] [OK] Completed: export_output [size_bytes=1017689] (86ms)
#> [2026-11-21 08:27:05.084] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/merged/structures/canonical.tsv.gz, n_rows=2055991]
#> [2026-11-21 08:27:09.227] [INFO ] [OK] Completed: export_output [size_bytes=37022191] (4.1s)
#> [2026-11-21 08:27:09.229] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/merged/structures/stereo.tsv.gz, n_rows=1783286]
#> [2026-11-21 08:27:15.083] [INFO ] [OK] Completed: export_output [size_bytes=85851521] (5.9s)
#> [2026-11-21 08:27:15.085] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/merged/structures/metadata.tsv.gz, n_rows=1536355]
#> [2026-11-21 08:27:16.652] [INFO ] [OK] Completed: export_output [size_bytes=30529909] (1.6s)
#> [2026-11-21 08:27:16.654] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/merged/structures/taxonomies/classyfire.tsv.gz, n_rows=384675]
#> [2026-11-21 08:27:17.007] [INFO ] [OK] Completed: export_output [size_bytes=8106524] (352ms)
#> [2026-11-21 08:27:17.009] [INFO ] > Starting: export_output [file=data/interim/libraries/sop/merged/structures/taxonomies/npc.tsv.gz, n_rows=1302050]
#> [2026-11-21 08:27:18.959] [INFO ] [OK] Completed: export_output [size_bytes=19028653] (2s)
#> [2026-11-21 08:27:18.961] [INFO ] [OK] Completed: prepare_libraries_sop_merged [n_pairs=1277349, n_structures=1783286, n_organisms=36758, files_exported=7] (1m 31s)
#> ✔ lib_sop_mer completed [1m 31.3s, 212.21 MB]
#> + lib_mer_str_met dispatched
#> ✔ lib_mer_str_met completed [1ms, 30.53 MB]
#> + lib_mer_str_stereo dispatched
#> ✔ lib_mer_str_stereo completed [1ms, 85.85 MB]
#> + lib_mer_str_tax_cla dispatched
#> ✔ lib_mer_str_tax_cla completed [0ms, 8.11 MB]
#> + lib_mer_str_tax_npc dispatched
#> ✔ lib_mer_str_tax_npc completed [0ms, 19.03 MB]
#> + lib_mer_org_tax_ott dispatched
#> ✔ lib_mer_org_tax_ott completed [0ms, 1.02 MB]
#> + lib_mer_key dispatched
#> ✔ lib_mer_key completed [1ms, 30.65 MB]
#> + ann_sir_pre dispatched
#> [2026-11-21 08:27:23.726] [INFO ] > Starting: prepare_annotations_sirius [version=6]
#> [2026-11-21 08:27:23.794] [INFO ] > Starting: process_smiles [n_structures=2563]
#> [2026-11-21 08:27:23.796] [INFO ] Processing SMILES with RDKit
#> [2026-11-21 08:27:36.655] [INFO ] Processing 9 new SMILES with RDKit
#> [2026-11-21 08:27:36.657] [INFO ] Starting SMILES processing pipeline
#> [2026-11-21 08:27:36.657] [INFO ] Input: /tmp/RtmphG2Sys/file21706adf7d8d.smi
#> [2026-11-21 08:27:36.657] [INFO ] Output: /tmp/RtmphG2Sys/file2170478a8dc4.csv.gz
#> [2026-11-21 08:27:36.657] [INFO ] Input file validated: /tmp/RtmphG2Sys/file21706adf7d8d.smi
#> [2026-11-21 08:27:36.657] [INFO ] Output file validated: /tmp/RtmphG2Sys/file2170478a8dc4.csv.gz
#> [2026-11-21 08:27:36.657] [INFO ] Processing parameters: workers=8, batch_size=1000, progress_interval=10000
#> [2026-11-21 08:27:36.657] [INFO ] SMILES supplier initialized
#> [08:27:36] Explicit valence for atom # 8 Cl, 3, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 1
#> [08:27:36] ERROR: Explicit valence for atom # 8 Cl, 3, is greater than permitted
#> [08:27:36] Explicit valence for atom # 4 P, 7, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 2
#> [08:27:36] ERROR: Explicit valence for atom # 4 P, 7, is greater than permitted
#> [08:27:36] Explicit valence for atom # 2 P, 7, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 3
#> [08:27:36] ERROR: Explicit valence for atom # 2 P, 7, is greater than permitted
#> [08:27:36] Explicit valence for atom # 4 P, 7, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 4
#> [08:27:36] ERROR: Explicit valence for atom # 4 P, 7, is greater than permitted
#> [08:27:36] Explicit valence for atom # 2 P, 7, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 5
#> [08:27:36] ERROR: Explicit valence for atom # 2 P, 7, is greater than permitted
#> [08:27:36] Explicit valence for atom # 6 P, 7, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 6
#> [08:27:36] ERROR: Explicit valence for atom # 6 P, 7, is greater than permitted
#> [08:27:36] Explicit valence for atom # 6 P, 7, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 7
#> [08:27:36] ERROR: Explicit valence for atom # 6 P, 7, is greater than permitted
#> [08:27:36] Explicit valence for atom # 4 P, 7, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 8
#> [08:27:36] ERROR: Explicit valence for atom # 4 P, 7, is greater than permitted
#> [08:27:36] Explicit valence for atom # 2 P, 7, is greater than permitted
#> [08:27:36] ERROR: Could not sanitize molecule on line 9
#> [08:27:36] ERROR: Explicit valence for atom # 2 P, 7, is greater than permitted
#> [2026-11-21 08:27:36.658] [INFO ] Processing complete. Total molecules processed: 0
#> [2026-11-21 08:27:36.660] [INFO ] Successfully processed 0 SMILES
#> [2026-11-21 08:27:47.688] [INFO ] [OK] Completed: process_smiles [n_processed=2554] (23.9s)
#> [2026-11-21 08:27:47.695] [INFO ] > Starting: complement_metadata [n_input=2571]
#> [2026-11-21 08:28:09.342] [INFO ] [OK] Completed: complement_metadata [n_enriched=2571] (21.6s)
#> [2026-11-21 08:28:09.347] [INFO ] [OK] Completed: prepare_annotations_sirius [n_canopus=15, n_formulas=19, n_structures=2571] (45.6s)
#> [2026-11-21 08:28:09.365] [INFO ] Exporting parameters to: data/interim/params/261121_082809_prepare_annotations_sirius.yaml
#> [2026-11-21 08:28:09.366] [INFO ] > Starting: export_output [file=data/interim/annotations/example_canopusPrepared.tsv.gz, n_rows=15]
#> [2026-11-21 08:28:09.367] [INFO ] [OK] Completed: export_output [size_bytes=830] (1ms)
#> [2026-11-21 08:28:09.368] [INFO ] > Starting: export_output [file=data/interim/annotations/example_formulaPrepared.tsv.gz, n_rows=19]
#> [2026-11-21 08:28:09.369] [INFO ] [OK] Completed: export_output [size_bytes=521] (1ms)
#> [2026-11-21 08:28:09.370] [INFO ] > Starting: export_output [file=data/interim/annotations/example_siriusPrepared.tsv.gz, n_rows=2571]
#> [2026-11-21 08:28:09.382] [INFO ] [OK] Completed: export_output [size_bytes=97924] (12ms)
#> ✔ ann_sir_pre completed [45.7s, 99.28 kB]
#> + ann_spe_exp_mzm_pre dispatched
#> [2026-11-21 08:28:11.053] [INFO ] > Starting: prepare_annotations_mzmine [n_files=1]
#> [2026-11-21 08:28:11.054] [WARN ] No mzmine annotations found, returning an empty file instead
#> [2026-11-21 08:28:11.056] [INFO ] [OK] Completed: prepare_annotations_mzmine [n_annotations=1] (3ms)
#> [2026-11-21 08:28:11.067] [INFO ] Exporting parameters to: data/interim/params/261121_082811_prepare_annotations_mzmine.yaml
#> [2026-11-21 08:28:11.069] [INFO ] > Starting: export_output [file=data/interim/annotations/example_mzminePrepared.tsv.gz, n_rows=1]
#> [2026-11-21 08:28:11.070] [INFO ] [OK] Completed: export_output [size_bytes=308] (1ms)
#> ✔ ann_spe_exp_mzm_pre completed [19ms, 308 B]
#> + ann_spe_exp_gnp_pre dispatched
#> [2026-11-21 08:28:12.957] [INFO ] > Starting: prepare_annotations_gnps [n_files=1]
#> [2026-11-21 08:28:12.958] [WARN ] No GNPS annotations found, returning an empty file instead
#> [2026-11-21 08:28:12.960] [INFO ] [OK] Completed: prepare_annotations_gnps [n_annotations=1] (3ms)
#> [2026-11-21 08:28:12.975] [INFO ] Exporting parameters to: data/interim/params/261121_082812_prepare_annotations_gnps.yaml
#> [2026-11-21 08:28:12.976] [INFO ] > Starting: export_output [file=data/interim/annotations/example_gnpsPrepared.tsv.gz, n_rows=1]
#> [2026-11-21 08:28:12.977] [INFO ] [OK] Completed: export_output [size_bytes=308] (1ms)
#> ✔ ann_spe_exp_gnp_pre completed [23ms, 308 B]
#> + ann_spe_exp_mzt_pre dispatched
#> [2026-11-21 08:28:14.893] [WARN ] No mzTab input provided for prepare_annotations_mztab, exporting empty annotations
#> [2026-11-21 08:28:14.897] [INFO ] > Starting: export_output [file=data/interim/annotations/example_mztabPrepared.tsv.gz, n_rows=1]
#> [2026-11-21 08:28:14.898] [INFO ] [OK] Completed: export_output [size_bytes=308] (2ms)
#> ✔ ann_spe_exp_mzt_pre completed [7ms, 308 B]
#> + tax_pre dispatched
#> [2026-11-21 08:28:16.784] [INFO ] > Starting: prepare_taxa [taxon=NULL]
#> [2026-11-21 08:28:16.940] [INFO ] Processing 2 organism name(s) for OTT taxonomy lookup
#> [2026-11-21 08:28:17.193] [INFO ] Querying OTT API in 1 batches
#> [2026-11-21 08:28:17.719] [INFO ] Retrying failed queries using genus names only
#> [2026-11-21 08:28:17.725] [INFO ] Retrying with 1 genus names: blk
#> [2026-11-21 08:28:18.100] [INFO ] Retrieving detailed taxonomy for 1 unique OTT IDs
#> [2026-11-21 08:28:18.370] [INFO ] Got OTTaxonomy!
#> [2026-11-21 08:28:18.421] [INFO ] [OK] Completed: prepare_taxa [n_features=5328] (1.6s)
#> [2026-11-21 08:28:18.444] [INFO ] Exporting parameters to: data/interim/params/261121_082818_prepare_taxa.yaml
#> [2026-11-21 08:28:18.446] [INFO ] > Starting: export_output [file=data/interim/taxa/example_taxed.tsv.gz, n_rows=5328]
#> [2026-11-21 08:28:18.451] [INFO ] [OK] Completed: export_output [size_bytes=20154] (5ms)
#> ✔ tax_pre completed [1.7s, 20.15 kB]
#> + ann_ms1_pre dispatched
#> [2026-11-21 08:28:20.379] [INFO ] > Starting: annotate_masses [ms_mode=pos, tolerance_ppm=10, tolerance_dalton=0.0025, tolerance_rt=0.02]
#> [2026-11-21 08:28:20.380] [INFO ] Starting mass-based annotation (streaming network-first path)
#> [2026-11-21 08:28:20.381] [INFO ] ============================================================
#> [2026-11-21 08:28:20.382] [INFO ] Data Sanitizing: Pre-flight Checks
#> [2026-11-21 08:28:20.383] [INFO ] ============================================================
#> [2026-11-21 08:28:20.384] [INFO ] Checking features file...
#> [2026-11-21 08:28:20.391] [INFO ] [OK] Features file: 5328 rows, 7 columns
#> [2026-11-21 08:28:20.392] [INFO ] ============================================================
#> [2026-11-21 08:28:20.393] [INFO ] [OK] All pre-flight checks passed!
#> [2026-11-21 08:28:20.394] [INFO ] Data validation complete. Ready to proceed.
#> [2026-11-21 08:28:20.395] [INFO ] ============================================================
#> [2026-11-21 08:28:20.410] [INFO ] Processing 5328 features for annotation
#> [2026-11-21 08:28:20.412] [INFO ] > Starting: harmonize_adducts [n_rows=5328]
#> [2026-11-21 08:28:20.419] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=13, n_unique_after=13] (8ms)
#> [2026-11-21 08:28:20.434] [INFO ] > Starting: harmonize_adducts [n_rows=2112]
#> [2026-11-21 08:28:20.436] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=13, n_unique_after=13] (1ms)
#> [2026-11-21 08:28:20.437] [INFO ] Pre-assigned adducts kept as hypotheses alongside the [M+H]+ baseline: 2112
#> [2026-11-21 08:28:36.735] [INFO ] Built 22194 RT-window pair(s)
#> [2026-11-21 08:28:36.742] [INFO ] Here are the top 16 observed m/z differences inside the RT windows:
#> [2026-11-21 08:28:36.744] [INFO ]
#> bin N Pct
#> (4.94331,4.96196] 316 18.93%
#> (21.9716,21.9902] 247 14.80%
#> (17.0104,17.0291] 174 10.43%
#> (17.9989,18.0176] 142 8.51%
#> (38.9998,39.0185] 114 6.83%
#> (15.966,15.9846] 105 6.29%
#> (39.9883,40.007] 96 5.75%
#> (77.9989,78.0175] 84 5.03%
#> (18.4839,18.5025] 74 4.43%
#> (35.0272,35.0459] 72 4.31%
#> (0.989321,1.00797] 61 3.65%
#> (162.04,162.058] 38 2.28%
#> (30.0101,30.0288] 38 2.28%
#> (28.0145,28.0331] 37 2.22%
#> (2.01512,2.03377] 37 2.22%
#> (109.948,109.967] 34 2.04%
#> [2026-11-21 08:28:36.852] [INFO ] Evidence engine: 5328 features x 24 adducts (prefilter=on, cap=Inf)
#> [2026-11-21 08:28:36.878] [INFO ] Evidence engine candidate materialization: 89579 rows
#> [2026-11-21 08:28:40.228] [INFO ] Evidence engine complete: 8168 rows, 5980 supported clusters
#> [2026-11-21 08:28:40.298] [INFO ] > Starting: harmonize_adducts [n_rows=5328]
#> [2026-11-21 08:28:40.299] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=6, n_unique_after=6] (1ms)
#> [2026-11-21 08:28:40.655] [INFO ] Pairwise-support filter removed 95 modifier-bearing evidence hypothesis row(s) lacking direct adduct/cluster/loss support.
#> [2026-11-21 08:28:40.673] [INFO ] Evidence-based discovery added 1697 adduct edge(s)
#> [2026-11-21 08:28:40.741] [INFO ] Intensity co-variance: tested 4969 of 85477 pair(s), retained 90 edge(s) (BH-adjusted p < 0.05); r in [0.99, 1.00], median r = 1.00. Dropped: 0 not in matrix, 0 sample-count mismatch, 80508 insufficient samples, 0 correlation failed, 1975 non-positive, 2904 adjusted p >= 0.05
#> [2026-11-21 08:28:40.758] [INFO ] Edge classification complete in 3.94 seconds: 1937 adduct edges, 90 covariance edges, 72 cluster edges, 832 loss edges
#> [2026-11-21 08:28:40.833] [INFO ] > Starting: harmonize_adducts [n_rows=23988]
#> [2026-11-21 08:28:40.834] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=24, n_unique_after=24] (2ms)
#> [2026-11-21 08:28:41.532] [INFO ] > Starting: harmonize_adducts [n_rows=1353]
#> [2026-11-21 08:28:41.625] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=296, n_unique_after=290] (94ms)
#> [2026-11-21 08:28:41.843] [INFO ] > Starting: harmonize_adducts [n_rows=1424]
#> [2026-11-21 08:28:41.912] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=280, n_unique_after=278] (70ms)
#> [2026-11-21 08:28:42.083] [INFO ] Constrained multi-adduct expansion kept 1218 hypothesis row(s)
#> [2026-11-21 08:28:42.195] [INFO ] Network-consensus pruning dropped 11636 (feature, adduct) candidate(s) with zero adduct-graph support when a supported alternative existed.
#> [2026-11-21 08:28:45.717] [INFO ] Loss/formula filter demoted 12640 structural match row(s) where the actual loss-edge term was not contained in the candidate formula.
#> [2026-11-21 08:28:45.756] [INFO ] Annotation/edge adduct agreement removed 14 unsupported (feature, adduct) assignment(s).
#> [2026-11-21 08:28:46.411] [INFO ] Conflict-resolution filter removed 16915 annotation row(s) with states incompatible with graph-consistent evidence.
#> [2026-11-21 08:28:46.412] [INFO ] Conflict-resolution pruning touched 3981 feature(s) and removed all annotations from 721 feature(s).
#> [2026-11-21 08:28:46.959] [INFO ] Library matching complete in 4.85 seconds: 272369 annotations
#> [2026-11-21 08:28:47.191] [INFO ] Coverage audit: kept 272369/354663 annotation rows across 4607/5328 features; 82294 annotation rows were pruned from 3981 feature(s).
#> [2026-11-21 08:28:47.192] [INFO ] > Starting: decorate_masses [n_annotations=272369]
#> [2026-11-21 08:28:47.211] [INFO ] MS1 annotations: 106998 unique structures across 4570 features
#> [2026-11-21 08:28:47.212] [INFO ] [OK] Completed: decorate_masses [n_structures=106998, n_features=4570] (19ms)
#> [2026-11-21 08:28:48.985] [INFO ] Breakdown of the (top 64) annotated adduct species (library-matched):
#> [2026-11-21 08:28:48.988] [INFO ]
#> adduct N_features N_annotations Pct_features Pct_annotations
#> [M+H]+ 2903 153551 51.80% 56.38%
#> [M+Na]+ 463 22581 8.26% 8.29%
#> [M+H4N]+ 342 16215 6.10% 5.95%
#> [M-H2O+H]+ 174 13740 3.10% 5.05%
#> [M+H2]2+ 156 1680 2.78% 0.62%
#> [M+K]+ 139 4642 2.48% 1.70%
#> [2M+H]+ 93 3954 1.66% 1.45%
#> [2M+H4N]+ 59 4368 1.05% 1.60%
#> [M-H2O+Na]+ 55 1612 0.98% 0.59%
#> [M-H2O+H4N]+ 49 500 0.87% 0.18%
#> [2M+Na]+ 43 4893 0.77% 1.80%
#> [2M-H2O+H]+ 41 1599 0.73% 0.59%
#> [2M+Ca]2+ 40 1705 0.71% 0.63%
#> [M]+ 39 1124 0.70% 0.41%
#> [M-H+2Na]+ 37 1727 0.66% 0.63%
#> [M-H2O+K]+ 30 401 0.54% 0.15%
#> [M-C6H12O6+H]+ 26 441 0.46% 0.16%
#> [M-H4O2+H]+ 25 2984 0.45% 1.10%
#> [M-CH2O+H]+ 20 1401 0.36% 0.51%
#> [M-CH2O+Na]+ 20 849 0.36% 0.31%
#> [M-CH2O+H4N]+ 19 1087 0.34% 0.40%
#> [M-CH2O+K]+ 17 1944 0.30% 0.71%
#> [2M+K]+ 17 446 0.30% 0.16%
#> [M+CH2O2+Na]+ 16 645 0.29% 0.24%
#> [M+Ca]2+ 16 346 0.29% 0.13%
#> [M-C6H10O5+H]+ 16 247 0.29% 0.09%
#> [M-H4O2+Na]+ 16 116 0.29% 0.04%
#> [M+CH2O2+H]+ 14 1226 0.25% 0.45%
#> [M+CH2O2+H4N]+ 13 311 0.23% 0.11%
#> [2M+Fe]2+ 13 281 0.23% 0.10%
#> [M-C6H10O5+Na]+ 13 163 0.23% 0.06%
#> [M-H4O2+H4N]+ 13 30 0.23% 0.01%
#> [M+CH2O2+K]+ 12 217 0.21% 0.08%
#> [M-C6H14O7+H]+ 11 246 0.20% 0.09%
#> [M-C6H12O6+Na]+ 11 85 0.20% 0.03%
#> [M-CH2+H]+ 10 621 0.18% 0.23%
#> [2M+Mg]2+ 10 483 0.18% 0.18%
#> [M-CH2+H4N]+ 10 349 0.18% 0.13%
#> [M-CH2+Na]+ 10 265 0.18% 0.10%
#> [M-C6H10O5+H4N]+ 10 39 0.18% 0.01%
#> [M-O+H]+ 9 704 0.16% 0.26%
#> [M-CH2+K]+ 9 481 0.16% 0.18%
#> [M-O+H4N]+ 9 389 0.16% 0.14%
#> [M-CO+H]+ 8 579 0.14% 0.21%
#> [M-CO+Na]+ 8 532 0.14% 0.20%
#> [M+Cu]+ 8 259 0.14% 0.10%
#> [M-CO+H4N]+ 8 194 0.14% 0.07%
#> [M-O+Na]+ 8 157 0.14% 0.06%
#> [M-CO+K]+ 7 647 0.12% 0.24%
#> [M-C6H12O6+H4N]+ 7 23 0.12% 0.01%
#> [M-C2O2+H]+ 6 1205 0.11% 0.44%
#> [M-H2O2+H]+ 6 697 0.11% 0.26%
#> [M-CO2+H4N]+ 6 320 0.11% 0.12%
#> [M-C2O2+K]+ 6 300 0.11% 0.11%
#> [M-C2O2+Na]+ 6 233 0.11% 0.09%
#> [M-H2O2+Na]+ 6 189 0.11% 0.07%
#> [M-O+K]+ 6 113 0.11% 0.04%
#> [M-C2O2+H4N]+ 6 110 0.11% 0.04%
#> [M-CO2+K]+ 5 1107 0.09% 0.41%
#> [M-H6O3+H]+ 5 525 0.09% 0.19%
#> [M-CO2+H]+ 5 361 0.09% 0.13%
#> [M-C6H10O4+H]+ 5 244 0.09% 0.09%
#> [M-CO2+Na]+ 5 172 0.09% 0.06%
#> [M-C6H12O6+K]+ 5 63 0.09% 0.02%
#> [2026-11-21 08:28:48.993] [INFO ] Adduct hypotheses retained without library match (by source):
#> [2026-11-21 08:28:48.994] [INFO ]
#> source N_features N_adduct_types
#> pair 16 4
#> preassigned 12 7
#> baseline 9 1
#> [2026-11-21 08:28:49.040] [INFO ] Exporting parameters to: data/interim/params/261121_082849_annotate_masses.yaml
#> [2026-11-21 08:28:49.042] [INFO ] > Starting: export_output [file=data/interim/features/example_edgesMasses.tsv, n_rows=4762]
#> [2026-11-21 08:28:49.043] [INFO ] [OK] Completed: export_output [size_bytes=95989] (1ms)
#> [2026-11-21 08:28:49.044] [INFO ] Exported edges: example_edgesMasses.tsv (4,762 rows)
#> [2026-11-21 08:28:49.634] [INFO ] > Starting: process_smiles [n_structures=107007]
#> [2026-11-21 08:28:49.635] [INFO ] Processing SMILES with RDKit
#> [2026-11-21 08:29:02.594] [INFO ] All SMILES already in cache, no processing needed
#> [2026-11-21 08:29:03.528] [INFO ] [OK] Completed: process_smiles [n_processed=107007] (13.9s)
#> [2026-11-21 08:29:06.553] [INFO ] > Starting: complement_metadata [n_input=272369]
#> [2026-11-21 08:29:07.426] [INFO ] [OK] Completed: complement_metadata [n_enriched=272369] (873ms)
#> [2026-11-21 08:29:07.467] [INFO ] > Starting: export_output [file=data/interim/annotations/example_ms1Prepared.tsv.gz, n_rows=272369]
#> [2026-11-21 08:29:08.591] [INFO ] [OK] Completed: export_output [size_bytes=19493520] (1.1s)
#> [2026-11-21 08:29:08.593] [INFO ] Exported annotations: example_ms1Prepared.tsv.gz (272,369 rows)
#> [2026-11-21 08:29:08.594] [INFO ] > Starting: export_output [file=data/interim/annotations/example_ms1Prepared_coverage.tsv.gz, n_rows=8]
#> [2026-11-21 08:29:08.596] [INFO ] [OK] Completed: export_output [size_bytes=237] (1ms)
#> [2026-11-21 08:29:08.597] [INFO ] Exported coverage report: example_ms1Prepared_coverage.tsv.gz
#> [2026-11-21 08:29:08.597] [INFO ] All outputs exported in 19.60 seconds
#> [2026-11-21 08:29:08.598] [INFO ] [OK] Completed: annotate_masses [n_annotations=272369, n_edges=4762] (48.2s)
#> ✔ ann_ms1_pre completed [48.2s, 19.59 MB]
#> + ann_sir_pre_can dispatched
#> ✔ ann_sir_pre_can completed [0ms, 830 B]
#> + ann_sir_pre_for dispatched
#> ✔ ann_sir_pre_for completed [1ms, 521 B]
#> + ann_sir_pre_str dispatched
#> ✔ ann_sir_pre_str completed [0ms, 97.92 kB]
#> + ann_ms1_pre_ann dispatched
#> ✔ ann_ms1_pre_ann completed [1ms, 19.49 MB]
#> + ann_ms1_pre_edg dispatched
#> ✔ ann_ms1_pre_edg completed [0ms, 95.99 kB]
#> + ann_spe_neg dispatched
#> [2026-11-21 08:29:22.472] [INFO ] Starting spectral annotation in neg mode
#> [2026-11-21 08:29:22.473] [INFO ] Importing spectra from: data/source/example_spectra.mgf
#> [2026-11-21 08:29:22.475] [INFO ] Reading MGF file (7.41 MB) with optimized parser: data/source/example_spectra.mgf
#> [2026-11-21 08:29:22.589] [INFO ] Total spectra read: 16282
#> [2026-11-21 08:29:23.086] [INFO ] Loaded 16282 spectra from file
#> [2026-11-21 08:29:23.096] [INFO ] Filtered to MS2 spectra: 16282 -> 12195 (4087 removed)
#> [2026-11-21 08:29:23.126] [WARN ] No spectra to sanitize
#> [2026-11-21 08:29:23.127] [INFO ] Import complete: 0 spectra ready for analysis
#> [2026-11-21 08:29:23.128] [WARN ] No query spectra loaded
#> [2026-11-21 08:29:23.129] [INFO ] Exporting parameters to: data/interim/params/261121_082923_annotate_spectra.yaml
#> [2026-11-21 08:29:23.130] [WARN ] Returning empty annotation template
#> [2026-11-21 08:29:23.132] [INFO ] > Starting: export_output [file=data/interim/annotations/example_spectralMatches_neg.tsv.gz, n_rows=1]
#> [2026-11-21 08:29:23.133] [INFO ] [OK] Completed: export_output [size_bytes=308] (1ms)
#> ✔ ann_spe_neg completed [870ms, 308 B]
#> + ann_spe_pos dispatched
#> [2026-11-21 08:29:25.692] [INFO ] Starting spectral annotation in pos mode
#> [2026-11-21 08:29:25.694] [INFO ] Importing spectra from: data/source/example_spectra.mgf
#> [2026-11-21 08:29:25.695] [INFO ] Reading MGF file (7.41 MB) with optimized parser: data/source/example_spectra.mgf
#> [2026-11-21 08:29:25.805] [INFO ] Total spectra read: 16282
#> [2026-11-21 08:29:26.269] [INFO ] Loaded 16282 spectra from file
#> [2026-11-21 08:29:26.281] [INFO ] Filtered to MS2 spectra: 16282 -> 12195 (4087 removed)
#> [2026-11-21 08:29:26.289] [INFO ] Combining replicate spectra by FEATURE_ID
#> [2026-11-21 08:29:27.453] [INFO ] Combined replicates: 12195 -> 4087 spectra
#> [2026-11-21 08:29:27.480] [INFO ] Sanitizing 4087 spectra (cutoff: 0)
#> [2026-11-21 08:29:28.674] [INFO ] Sanitization complete: 3660/4087 spectra retained (89.6%, 427 removed)
#> [2026-11-21 08:29:28.675] [INFO ] Import complete: 3660 spectra ready for analysis
#> [2026-11-21 08:29:28.682] [INFO ] > Starting: harmonize_adducts [n_rows=3660]
#> [2026-11-21 08:29:28.683] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=12, n_unique_after=12] (1ms)
#> [2026-11-21 08:29:29.093] [INFO ] > Starting: harmonize_adducts [n_rows=3400]
#> [2026-11-21 08:29:29.098] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=201, n_unique_after=201] (5ms)
#> [2026-11-21 08:29:31.265] [INFO ] > Starting: harmonize_adducts [n_rows=161048]
#> [2026-11-21 08:29:31.268] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=2, n_unique_after=2] (4ms)
#> [2026-11-21 08:29:31.380] [INFO ]
#> library spectra unique_structures Pct_spectra
#> ISDB - NormanSusDat 59068 24609 100.00%
#> [2026-11-21 08:29:31.522] [INFO ] > Starting: harmonize_adducts [n_rows=5690]
#> [2026-11-21 08:29:31.523] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=2, n_unique_after=2] (1ms)
#> [2026-11-21 08:29:31.528] [INFO ] > Starting: calculate_entropy_similarity [n_library=59068, n_query=3660, method=gnps]
#> [2026-11-21 08:29:31.529] [INFO ] Calculating entropy and similarity for 3660 spectra
#> [2026-11-21 08:29:31.550] [INFO ] Processed 500 / 3660 queries
#> [2026-11-21 08:29:31.568] [INFO ] Processed 1000 / 3660 queries
#> [2026-11-21 08:29:31.584] [INFO ] Processed 1500 / 3660 queries
#> [2026-11-21 08:29:31.599] [INFO ] Processed 2000 / 3660 queries
#> [2026-11-21 08:29:31.613] [INFO ] Processed 2500 / 3660 queries
#> [2026-11-21 08:29:31.626] [INFO ] Processed 3000 / 3660 queries
#> [2026-11-21 08:29:31.640] [INFO ] Processed 3500 / 3660 queries
#> [2026-11-21 08:29:31.645] [INFO ] Processed 3660 / 3660 queries
#> [2026-11-21 08:29:31.711] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=29356] (183ms)
#> [2026-11-21 08:29:31.713] [INFO ] > Starting: harmonize_adducts [n_rows=59068]
#> [2026-11-21 08:29:31.715] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=2, n_unique_after=2] (2ms)
#> [2026-11-21 08:29:31.725] [INFO ] > Starting: calculate_entropy_similarity [n_library=50032, n_query=3617, method=gnps]
#> [2026-11-21 08:29:31.728] [INFO ] Calculating entropy and similarity for 3617 spectra
#> [2026-11-21 08:29:31.750] [INFO ] Processed 500 / 3617 queries
#> [2026-11-21 08:29:31.768] [INFO ] Processed 1000 / 3617 queries
#> [2026-11-21 08:29:31.785] [INFO ] Processed 1500 / 3617 queries
#> [2026-11-21 08:29:31.802] [INFO ] Processed 2000 / 3617 queries
#> [2026-11-21 08:29:31.817] [INFO ] Processed 2500 / 3617 queries
#> [2026-11-21 08:29:31.832] [INFO ] Processed 3000 / 3617 queries
#> [2026-11-21 08:29:31.847] [INFO ] Processed 3500 / 3617 queries
#> [2026-11-21 08:29:31.851] [INFO ] Processed 3617 / 3617 queries
#> [2026-11-21 08:29:31.923] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=31659] (199ms)
#> [2026-11-21 08:29:31.932] [INFO ] > Starting: harmonize_adducts [n_rows=22099]
#> [2026-11-21 08:29:31.933] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=2, n_unique_after=2] (2ms)
#> [2026-11-21 08:29:56.797] [INFO ] > Starting: harmonize_adducts [n_rows=705416]
#> [2026-11-21 08:29:56.807] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=1, n_unique_after=1] (10ms)
#> [2026-11-21 08:30:01.769] [INFO ]
#> library spectra unique_structures Pct_spectra
#> ISDB - Wikidata 331999 331998 100.00%
#> [2026-11-21 08:30:01.797] [INFO ] > Starting: harmonize_adducts [n_rows=43016]
#> [2026-11-21 08:30:01.799] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=1, n_unique_after=1] (2ms)
#> [2026-11-21 08:30:01.807] [INFO ] > Starting: calculate_entropy_similarity [n_library=331999, n_query=3660, method=gnps]
#> [2026-11-21 08:30:01.808] [INFO ] Calculating entropy and similarity for 3660 spectra
#> [2026-11-21 08:30:01.980] [INFO ] Processed 500 / 3660 queries
#> [2026-11-21 08:30:02.117] [INFO ] Processed 1000 / 3660 queries
#> [2026-11-21 08:30:02.264] [INFO ] Processed 1500 / 3660 queries
#> [2026-11-21 08:30:02.420] [INFO ] Processed 2000 / 3660 queries
#> [2026-11-21 08:30:02.552] [INFO ] Processed 2500 / 3660 queries
#> [2026-11-21 08:30:02.675] [INFO ] Processed 3000 / 3660 queries
#> [2026-11-21 08:30:02.796] [INFO ] Processed 3500 / 3660 queries
#> [2026-11-21 08:30:02.833] [INFO ] Processed 3660 / 3660 queries
#> [2026-11-21 08:30:03.913] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=338224] (2.1s)
#> [2026-11-21 08:30:03.923] [INFO ] > Starting: harmonize_adducts [n_rows=331999]
#> [2026-11-21 08:30:03.932] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=1, n_unique_after=1] (9ms)
#> [2026-11-21 08:30:04.045] [INFO ] > Starting: calculate_entropy_similarity [n_library=286725, n_query=3617, method=gnps]
#> [2026-11-21 08:30:04.059] [INFO ] Calculating entropy and similarity for 3617 spectra
#> [2026-11-21 08:30:04.263] [INFO ] Processed 500 / 3617 queries
#> [2026-11-21 08:30:05.148] [INFO ] Processed 1000 / 3617 queries
#> [2026-11-21 08:30:05.288] [INFO ] Processed 1500 / 3617 queries
#> [2026-11-21 08:30:05.415] [INFO ] Processed 2000 / 3617 queries
#> [2026-11-21 08:30:05.539] [INFO ] Processed 2500 / 3617 queries
#> [2026-11-21 08:30:05.674] [INFO ] Processed 3000 / 3617 queries
#> [2026-11-21 08:30:05.815] [INFO ] Processed 3500 / 3617 queries
#> [2026-11-21 08:30:05.843] [INFO ] Processed 3617 / 3617 queries
#> [2026-11-21 08:30:06.780] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=370077] (2.7s)
#> [2026-11-21 08:30:06.832] [INFO ] > Starting: harmonize_adducts [n_rows=232626]
#> [2026-11-21 08:30:06.836] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=1, n_unique_after=1] (4ms)
#> [2026-11-21 08:30:18.758] [INFO ] > Starting: harmonize_adducts [n_rows=568869]
#> [2026-11-21 08:30:18.774] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=24, n_unique_after=24] (16ms)
#> [2026-11-21 08:30:19.492] [INFO ]
#> library spectra unique_structures Pct_spectra
#> enveda180 518023 106729 100.00%
#> [2026-11-21 08:30:19.506] [INFO ] > Starting: calculate_entropy_similarity [n_library=518023, n_query=3660, method=gnps]
#> [2026-11-21 08:30:19.507] [INFO ] Calculating entropy and similarity for 3660 spectra
#> [2026-11-21 08:30:19.624] [INFO ] Processed 500 / 3660 queries
#> [2026-11-21 08:30:19.715] [INFO ] Processed 1000 / 3660 queries
#> [2026-11-21 08:30:19.799] [INFO ] Processed 1500 / 3660 queries
#> [2026-11-21 08:30:19.888] [INFO ] Processed 2000 / 3660 queries
#> [2026-11-21 08:30:19.965] [INFO ] Processed 2500 / 3660 queries
#> [2026-11-21 08:30:20.033] [INFO ] Processed 3000 / 3660 queries
#> [2026-11-21 08:30:20.103] [INFO ] Processed 3500 / 3660 queries
#> [2026-11-21 08:30:20.129] [INFO ] Processed 3660 / 3660 queries
#> [2026-11-21 08:30:20.493] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=153040] (986ms)
#> [2026-11-21 08:30:20.496] [INFO ] > Starting: harmonize_adducts [n_rows=518023]
#> [2026-11-21 08:30:20.504] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=24, n_unique_after=24] (8ms)
#> [2026-11-21 08:30:20.613] [INFO ] > Starting: calculate_entropy_similarity [n_library=439520, n_query=3617, method=gnps]
#> [2026-11-21 08:30:20.634] [INFO ] Calculating entropy and similarity for 3617 spectra
#> [2026-11-21 08:30:20.780] [INFO ] Processed 500 / 3617 queries
#> [2026-11-21 08:30:20.905] [INFO ] Processed 1000 / 3617 queries
#> [2026-11-21 08:30:21.020] [INFO ] Processed 1500 / 3617 queries
#> [2026-11-21 08:30:21.138] [INFO ] Processed 2000 / 3617 queries
#> [2026-11-21 08:30:21.219] [INFO ] Processed 2500 / 3617 queries
#> [2026-11-21 08:30:21.306] [INFO ] Processed 3000 / 3617 queries
#> [2026-11-21 08:30:21.407] [INFO ] Processed 3500 / 3617 queries
#> [2026-11-21 08:30:21.429] [INFO ] Processed 3617 / 3617 queries
#> [2026-11-21 08:30:21.880] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=210079] (1.3s)
#> [2026-11-21 08:30:21.935] [INFO ] > Starting: harmonize_adducts [n_rows=149636]
#> [2026-11-21 08:30:21.940] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=24, n_unique_after=24] (6ms)
#> [2026-11-21 08:30:25.795] [INFO ] > Starting: harmonize_adducts [n_rows=186495]
#> [2026-11-21 08:30:26.739] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=71, n_unique_after=69] (945ms)
#> [2026-11-21 08:30:26.921] [INFO ]
#> library spectra unique_structures Pct_spectra
#> gnps 112048 10028 100.00%
#> [2026-11-21 08:30:26.956] [INFO ] > Starting: calculate_entropy_similarity [n_library=112048, n_query=3660, method=gnps]
#> [2026-11-21 08:30:26.957] [INFO ] Calculating entropy and similarity for 3660 spectra
#> [2026-11-21 08:30:26.996] [INFO ] Processed 500 / 3660 queries
#> [2026-11-21 08:30:27.036] [INFO ] Processed 1000 / 3660 queries
#> [2026-11-21 08:30:27.077] [INFO ] Processed 1500 / 3660 queries
#> [2026-11-21 08:30:27.120] [INFO ] Processed 2000 / 3660 queries
#> [2026-11-21 08:30:27.155] [INFO ] Processed 2500 / 3660 queries
#> [2026-11-21 08:30:27.187] [INFO ] Processed 3000 / 3660 queries
#> [2026-11-21 08:30:27.220] [INFO ] Processed 3500 / 3660 queries
#> [2026-11-21 08:30:27.232] [INFO ] Processed 3660 / 3660 queries
#> [2026-11-21 08:30:27.434] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=68191] (478ms)
#> [2026-11-21 08:30:27.436] [INFO ] > Starting: harmonize_adducts [n_rows=112048]
#> [2026-11-21 08:30:27.444] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=53, n_unique_after=51] (8ms)
#> [2026-11-21 08:30:27.463] [INFO ] > Starting: calculate_entropy_similarity [n_library=93292, n_query=3617, method=gnps]
#> [2026-11-21 08:30:27.468] [INFO ] Calculating entropy and similarity for 3617 spectra
#> [2026-11-21 08:30:27.513] [INFO ] Processed 500 / 3617 queries
#> [2026-11-21 08:30:27.562] [INFO ] Processed 1000 / 3617 queries
#> [2026-11-21 08:30:27.614] [INFO ] Processed 1500 / 3617 queries
#> [2026-11-21 08:30:27.665] [INFO ] Processed 2000 / 3617 queries
#> [2026-11-21 08:30:27.713] [INFO ] Processed 2500 / 3617 queries
#> [2026-11-21 08:30:27.754] [INFO ] Processed 3000 / 3617 queries
#> [2026-11-21 08:30:27.812] [INFO ] Processed 3500 / 3617 queries
#> [2026-11-21 08:30:27.827] [INFO ] Processed 3617 / 3617 queries
#> [2026-11-21 08:30:28.042] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=93788] (579ms)
#> [2026-11-21 08:30:28.054] [INFO ] > Starting: harmonize_adducts [n_rows=49856]
#> [2026-11-21 08:30:28.057] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=42, n_unique_after=40] (2ms)
#> [2026-11-21 08:30:28.649] [INFO ] > Starting: harmonize_adducts [n_rows=42094]
#> [2026-11-21 08:30:28.659] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=53, n_unique_after=51] (10ms)
#> [2026-11-21 08:30:28.696] [INFO ]
#> library spectra unique_structures Pct_spectra
#> massbank 23802 2609 100.00%
#> [2026-11-21 08:30:28.708] [INFO ] > Starting: calculate_entropy_similarity [n_library=23802, n_query=3660, method=gnps]
#> [2026-11-21 08:30:28.709] [INFO ] Calculating entropy and similarity for 3660 spectra
#> [2026-11-21 08:30:28.720] [INFO ] Processed 500 / 3660 queries
#> [2026-11-21 08:30:28.729] [INFO ] Processed 1000 / 3660 queries
#> [2026-11-21 08:30:28.737] [INFO ] Processed 1500 / 3660 queries
#> [2026-11-21 08:30:28.745] [INFO ] Processed 2000 / 3660 queries
#> [2026-11-21 08:30:28.752] [INFO ] Processed 2500 / 3660 queries
#> [2026-11-21 08:30:28.758] [INFO ] Processed 3000 / 3660 queries
#> [2026-11-21 08:30:28.765] [INFO ] Processed 3500 / 3660 queries
#> [2026-11-21 08:30:28.767] [INFO ] Processed 3660 / 3660 queries
#> [2026-11-21 08:30:28.800] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=14828] (91ms)
#> [2026-11-21 08:30:28.801] [INFO ] > Starting: harmonize_adducts [n_rows=23802]
#> [2026-11-21 08:30:28.807] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=44, n_unique_after=42] (6ms)
#> [2026-11-21 08:30:28.815] [INFO ] > Starting: calculate_entropy_similarity [n_library=20114, n_query=3617, method=gnps]
#> [2026-11-21 08:30:28.817] [INFO ] Calculating entropy and similarity for 3617 spectra
#> [2026-11-21 08:30:28.829] [INFO ] Processed 500 / 3617 queries
#> [2026-11-21 08:30:28.839] [INFO ] Processed 1000 / 3617 queries
#> [2026-11-21 08:30:28.849] [INFO ] Processed 1500 / 3617 queries
#> [2026-11-21 08:30:28.857] [INFO ] Processed 2000 / 3617 queries
#> [2026-11-21 08:30:28.865] [INFO ] Processed 2500 / 3617 queries
#> [2026-11-21 08:30:28.873] [INFO ] Processed 3000 / 3617 queries
#> [2026-11-21 08:30:28.881] [INFO ] Processed 3500 / 3617 queries
#> [2026-11-21 08:30:28.883] [INFO ] Processed 3617 / 3617 queries
#> [2026-11-21 08:30:28.918] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=14688] (102ms)
#> [2026-11-21 08:30:28.922] [INFO ] > Starting: harmonize_adducts [n_rows=9866]
#> [2026-11-21 08:30:28.924] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=35, n_unique_after=33] (2ms)
#> [2026-11-21 08:30:31.809] [INFO ] > Starting: harmonize_adducts [n_rows=189624]
#> [2026-11-21 08:30:31.813] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=7, n_unique_after=7] (4ms)
#> [2026-11-21 08:30:32.861] [INFO ]
#> library spectra unique_structures Pct_spectra
#> merlin 169032 21848 100.00%
#> [2026-11-21 08:30:32.884] [INFO ] > Starting: calculate_entropy_similarity [n_library=169032, n_query=3660, method=gnps]
#> [2026-11-21 08:30:32.885] [INFO ] Calculating entropy and similarity for 3660 spectra
#> [2026-11-21 08:30:32.932] [INFO ] Processed 500 / 3660 queries
#> [2026-11-21 08:30:32.974] [INFO ] Processed 1000 / 3660 queries
#> [2026-11-21 08:30:33.012] [INFO ] Processed 1500 / 3660 queries
#> [2026-11-21 08:30:33.052] [INFO ] Processed 2000 / 3660 queries
#> [2026-11-21 08:30:33.084] [INFO ] Processed 2500 / 3660 queries
#> [2026-11-21 08:30:33.113] [INFO ] Processed 3000 / 3660 queries
#> [2026-11-21 08:30:33.143] [INFO ] Processed 3500 / 3660 queries
#> [2026-11-21 08:30:33.153] [INFO ] Processed 3660 / 3660 queries
#> [2026-11-21 08:30:33.437] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=127635] (553ms)
#> [2026-11-21 08:30:33.440] [INFO ] > Starting: harmonize_adducts [n_rows=169032]
#> [2026-11-21 08:30:33.444] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=7, n_unique_after=7] (4ms)
#> [2026-11-21 08:30:33.464] [INFO ] > Starting: calculate_entropy_similarity [n_library=142247, n_query=3617, method=gnps]
#> [2026-11-21 08:30:33.471] [INFO ] Calculating entropy and similarity for 3617 spectra
#> [2026-11-21 08:30:33.523] [INFO ] Processed 500 / 3617 queries
#> [2026-11-21 08:30:33.567] [INFO ] Processed 1000 / 3617 queries
#> [2026-11-21 08:30:33.606] [INFO ] Processed 1500 / 3617 queries
#> [2026-11-21 08:30:33.645] [INFO ] Processed 2000 / 3617 queries
#> [2026-11-21 08:30:33.678] [INFO ] Processed 2500 / 3617 queries
#> [2026-11-21 08:30:33.712] [INFO ] Processed 3000 / 3617 queries
#> [2026-11-21 08:30:33.750] [INFO ] Processed 3500 / 3617 queries
#> [2026-11-21 08:30:33.758] [INFO ] Processed 3617 / 3617 queries
#> [2026-11-21 08:30:34.040] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=136894] (576ms)
#> [2026-11-21 08:30:34.062] [INFO ] > Starting: harmonize_adducts [n_rows=89090]
#> [2026-11-21 08:30:34.066] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=7, n_unique_after=7] (3ms)
#> [2026-11-21 08:30:34.448] [INFO ] > Starting: harmonize_adducts [n_rows=19676]
#> [2026-11-21 08:30:34.478] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=111, n_unique_after=109] (30ms)
#> [2026-11-21 08:30:34.523] [INFO ]
#> library spectra unique_structures Pct_spectra
#> multims2 15601 1240 100.00%
#> [2026-11-21 08:30:34.531] [INFO ] > Starting: calculate_entropy_similarity [n_library=15601, n_query=3660, method=gnps]
#> [2026-11-21 08:30:34.533] [INFO ] Calculating entropy and similarity for 3660 spectra
#> [2026-11-21 08:30:34.540] [INFO ] Processed 500 / 3660 queries
#> [2026-11-21 08:30:34.546] [INFO ] Processed 1000 / 3660 queries
#> [2026-11-21 08:30:34.553] [INFO ] Processed 1500 / 3660 queries
#> [2026-11-21 08:30:34.559] [INFO ] Processed 2000 / 3660 queries
#> [2026-11-21 08:30:34.564] [INFO ] Processed 2500 / 3660 queries
#> [2026-11-21 08:30:34.568] [INFO ] Processed 3000 / 3660 queries
#> [2026-11-21 08:30:34.574] [INFO ] Processed 3500 / 3660 queries
#> [2026-11-21 08:30:34.576] [INFO ] Processed 3660 / 3660 queries
#> [2026-11-21 08:30:34.599] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=9164] (67ms)
#> [2026-11-21 08:30:34.600] [INFO ] > Starting: harmonize_adducts [n_rows=15601]
#> [2026-11-21 08:30:34.612] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=104, n_unique_after=103] (12ms)
#> [2026-11-21 08:30:34.626] [INFO ] > Starting: calculate_entropy_similarity [n_library=11589, n_query=3617, method=gnps]
#> [2026-11-21 08:30:34.628] [INFO ] Calculating entropy and similarity for 3617 spectra
#> [2026-11-21 08:30:34.636] [INFO ] Processed 500 / 3617 queries
#> [2026-11-21 08:30:34.642] [INFO ] Processed 1000 / 3617 queries
#> [2026-11-21 08:30:34.649] [INFO ] Processed 1500 / 3617 queries
#> [2026-11-21 08:30:34.655] [INFO ] Processed 2000 / 3617 queries
#> [2026-11-21 08:30:34.660] [INFO ] Processed 2500 / 3617 queries
#> [2026-11-21 08:30:34.664] [INFO ] Processed 3000 / 3617 queries
#> [2026-11-21 08:30:34.668] [INFO ] Processed 3500 / 3617 queries
#> [2026-11-21 08:30:34.670] [INFO ] Processed 3617 / 3617 queries
#> [2026-11-21 08:30:34.689] [INFO ] [OK] Completed: calculate_entropy_similarity [n_comparisons=8161] (63ms)
#> [2026-11-21 08:30:34.693] [INFO ] > Starting: harmonize_adducts [n_rows=6730]
#> [2026-11-21 08:30:34.694] [INFO ] [OK] Completed: harmonize_adducts [n_unique_before=83, n_unique_after=82] (2ms)
#> [2026-11-21 08:30:35.653] [INFO ] Annotating 3660 query spectra against 1229573 library references
#> [2026-11-21 08:30:35.674] [INFO ] Here is the distribution of annotation similarity scores (0.1 bins):
#> [2026-11-21 08:30:35.676] [INFO ]
#> bin N Pct
#> [0,0.1] 479721 72.47%
#> (0.1,0.2] 106330 16.06%
#> (0.2,0.3] 39518 5.97%
#> (0.3,0.4] 18055 2.73%
#> (0.4,0.5] 9407 1.42%
#> (0.5,0.6] 4314 0.65%
#> (0.6,0.7] 1571 0.24%
#> (0.7,0.8] 1079 0.16%
#> (0.8,0.9] 1372 0.21%
#> (0.9,1] 627 0.09%
#> [2026-11-21 08:30:35.916] [INFO ] 311832 Candidates annotated on 3589 features (threshold >= 0).
#> [2026-11-21 08:30:35.919] [INFO ] Exporting parameters to: data/interim/params/261121_083035_annotate_spectra.yaml
#> [2026-11-21 08:30:35.920] [INFO ] > Starting: export_output [file=data/interim/annotations/example_spectralMatches_pos.tsv.gz, n_rows=661994]
#> [2026-11-21 08:30:38.227] [INFO ] [OK] Completed: export_output [size_bytes=43818572] (2.3s)
#> ✔ ann_spe_pos completed [1m 12.7s, 43.82 MB]
#> + fea_edg_pre dispatched
#> [2026-11-21 08:30:41.530] [INFO ] > Starting: prepare_features_edges [n_edge_types=2]
#> [2026-11-21 08:30:41.641] [INFO ] [OK] Completed: prepare_features_edges [n_edges=59763] (110ms)
#> [2026-11-21 08:30:41.656] [INFO ] Exporting parameters to: data/interim/params/261121_083041_prepare_features_edges.yaml
#> [2026-11-21 08:30:41.658] [INFO ] > Starting: export_output [file=data/interim/features/example_edges.tsv, n_rows=59763]
#> [2026-11-21 08:30:41.664] [INFO ] [OK] Completed: export_output [size_bytes=3108583] (6ms)
#> ✔ fea_edg_pre completed [190ms, 3.11 MB]
#> + ann_spe_pre dispatched
#> [2026-11-21 08:30:44.110] [INFO ] Preparing spectral matching annotations from 2 file(s)
#> [2026-11-21 08:30:49.573] [INFO ] > Starting: process_smiles [n_structures=311832]
#> [2026-11-21 08:30:49.574] [INFO ] Processing SMILES with RDKit
#> [2026-11-21 08:30:50.765] [INFO ] All SMILES already in cache, no processing needed
#> [2026-11-21 08:30:51.600] [INFO ] [OK] Completed: process_smiles [n_processed=311832] (2s)
#> [2026-11-21 08:30:52.654] [INFO ] > Starting: complement_metadata [n_input=661994]
#> [2026-11-21 08:30:57.206] [INFO ] [OK] Completed: complement_metadata [n_enriched=661994] (4.6s)
#> [2026-11-21 08:30:57.485] [INFO ] Exporting parameters to: data/interim/params/261121_083057_prepare_annotations_spectra.yaml
#> [2026-11-21 08:30:57.487] [INFO ] > Starting: export_output [file=data/interim/annotations/example_spectralMatchesPrepared.tsv.gz, n_rows=661994]
#> [2026-11-21 08:31:00.988] [INFO ] [OK] Completed: export_output [size_bytes=75253951] (3.5s)
#> ✔ ann_spe_pre completed [16.9s, 75.25 MB]
#> + fea_com dispatched
#> [2026-11-21 08:31:04.416] [INFO ] > Starting: create_components [n_input_files=1]
#> [2026-11-21 08:31:04.417] [INFO ] Creating components from 1 edge file(s)
#> [2026-11-21 08:31:04.530] [INFO ] Loaded 56480 edges connecting 4678 unique features
#> [2026-11-21 08:31:04.965] [INFO ] Selected community partition at resolution 1.000 (modularity 0.828)
#> [2026-11-21 08:31:04.977] [INFO ] Found 252 communities using weighted Louvain/Leiden clustering
#> [2026-11-21 08:31:04.978] [INFO ] Component sizes - Min: 2, Max: 626, Mean: 18.6
#> [2026-11-21 08:31:04.990] [INFO ] Exporting parameters to: data/interim/params/261121_083104_create_components.yaml
#> [2026-11-21 08:31:04.991] [INFO ] > Starting: export_output [file=data/interim/features/example_components.tsv, n_rows=4678]
#> [2026-11-21 08:31:04.992] [INFO ] [OK] Completed: export_output [size_bytes=38115] (1ms)
#> [2026-11-21 08:31:04.993] [INFO ] Components written to: data/interim/features/example_components.tsv
#> [2026-11-21 08:31:04.994] [INFO ] [OK] Completed: create_components [n_components=252, n_features=4678] (579ms)
#> ✔ fea_com completed [583ms, 38.12 kB]
#> + ann_fil dispatched
#> [2026-11-21 08:31:07.318] [INFO ] > Starting: filter_annotations [n_annotation_files=6, tolerance_rt=Inf]
#> [2026-11-21 08:31:07.320] [INFO ] Filtering annotations
#> [2026-11-21 08:31:07.331] [INFO ] Processing 5328 unique features for annotation filtering
#> [2026-11-21 08:31:13.145] [INFO ] Removing MS1 annotations superseded by quality spectral matches
#> [2026-11-21 08:31:13.560] [INFO ] Removed 15342 redundant MS1 annotations
#> [2026-11-21 08:31:14.090] [INFO ] Total annotations after MS1 deduplication: 899099
#> [2026-11-21 08:31:14.644] [INFO ] Removed 394 non-MS1 annotation row(s) incompatible with strong MS1 adduct assignments
#> [2026-11-21 08:31:16.169] [INFO ] Adduct-semantics filter: before=899099, removed_total=394, removed_spectral_mismatch=0, after=898705
#> [2026-11-21 08:31:16.174] [INFO ] Joining RT library and computing RT deltas
#> [2026-11-21 08:31:16.393] [INFO ] RT deltas computed for 0 annotations (no hard cutoff applied; scoring handles RT penalty)
#> [2026-11-21 08:31:16.627] [INFO ] Exporting parameters to: data/interim/params/261121_083116_filter_annotations.yaml
#> [2026-11-21 08:31:16.629] [INFO ] > Starting: export_output [file=data/interim/annotations/example_annotationsFiltered.tsv.gz, n_rows=899171]
#> [2026-11-21 08:31:21.184] [INFO ] [OK] Completed: export_output [size_bytes=93626853] (4.6s)
#> [2026-11-21 08:31:21.185] [INFO ] [OK] Completed: filter_annotations [n_filtered=899171] (13.9s)
#> ✔ ann_fil completed [13.9s, 93.63 MB]
#> + fea_com_pre dispatched
#> [2026-11-21 08:31:24.387] [INFO ] > Starting: prepare_features_components [n_files=1]
#> [2026-11-21 08:31:24.394] [INFO ] [OK] Completed: prepare_features_components [n_assignments=4678] (7ms)
#> [2026-11-21 08:31:24.406] [INFO ] Exporting parameters to: data/interim/params/261121_083124_prepare_features_components.yaml
#> [2026-11-21 08:31:24.408] [INFO ] > Starting: export_output [file=data/interim/features/example_componentsPrepared.tsv, n_rows=4678]
#> [2026-11-21 08:31:24.409] [INFO ] [OK] Completed: export_output [size_bytes=38110] (1ms)
#> ✔ fea_com_pre completed [24ms, 38.11 kB]
#> + ann_wei dispatched
#> [2026-11-21 08:31:26.701] [INFO ] Starting annotation weighting and scoring
#> [2026-11-21 08:31:26.702] [INFO ] > Starting: weight_annotations [n_candidates_neighbors=16, n_candidates_final=1]
#> [2026-11-21 08:31:32.474] [INFO ]
#> candidate_library n Pct
#> ISDB - Wikidata 457043 51.13%
#> TIMA MS1 252432 28.24%
#> enveda180 104459 11.69%
#> merlin 34116 3.82%
#> ISDB - NormanSusDat 20701 2.32%
#> gnps 18112 2.03%
#> massbank 3167 0.35%
#> SIRIUS 2168 0.24%
#> multims2 1706 0.19%
#> [2026-11-21 08:31:43.906] [INFO ] > Starting: weight_bio [n_annotations=767278, n_sop=392769]
#> [2026-11-21 08:31:43.908] [INFO ] Weighting 767278 annotations by biological source
#> [2026-11-21 08:31:45.133] [INFO ] [OK] Completed: weight_bio [n_weighted=767278] (1.2s)
#> [2026-11-21 08:31:45.135] [INFO ] > Starting: decorate_bio [n_annotations=767278]
#> [2026-11-21 08:31:45.168] [INFO ] Taxonomically informed metabolite annotation reranked:
#> Domain level: 181733 candidates (52413 unique)
#> Kingdom level: 142179 candidates (38995 unique)
#> Phylum level: 141152 candidates (38587 unique)
#> Class level: 115321 candidates (32862 unique)
#> Order level: 28825 candidates (8680 unique)
#> Infraorder level: 23167 candidates (7017 unique)
#> Family level: 23167 candidates (7017 unique)
#> Subfamily level: 4577 candidates (1165 unique)
#> Tribe level: 4577 candidates (1165 unique)
#> Subtribe level: 3865 candidates (921 unique)
#> Genus level: 3865 candidates (921 unique)
#> Subgenus level: 2199 candidates (471 unique)
#> Species level: 2199 candidates (471 unique)
#> Subspecies level: 207 candidates (78 unique)
#> Variety level: 207 candidates (78 unique)
#> Biota level: 207 candidates (78 unique)
#> [2026-11-21 08:31:45.170] [INFO ] [OK] Completed: decorate_bio [n_processed=767278] (35ms)
#> [2026-11-21 08:31:45.171] [INFO ] > Starting: clean_bio [n_annotations=767278, minimal_consistency=0]
#> [2026-11-21 08:31:52.212] [INFO ] [OK] Completed: clean_bio [n_cleaned=767278] (7s)
#> [2026-11-21 08:31:52.215] [INFO ] > Starting: weight_chemo [n_input=767278]
#> [2026-11-21 08:31:52.216] [INFO ] Weighting 767278 annotations by chemical consistency
#> [2026-11-21 08:31:52.477] [INFO ] [OK] Completed: weight_chemo [n_weighted=767278] (262ms)
#> [2026-11-21 08:31:52.479] [INFO ] > Starting: combine_weighted_scores [n_bio=767278, n_chemo=767278]
#> [2026-11-21 08:31:52.991] [INFO ] [OK] Completed: combine_weighted_scores [n_combined=767278] (512ms)
#> [2026-11-21 08:31:52.993] [INFO ] > Starting: decorate_chemo [n_annotations=767278]
#> [2026-11-21 08:31:53.046] [INFO ] Chemically informed metabolite annotation reranked:
#> Classyfire:
#> Kingdom level: 231673 candidates (111783 unique)
#> Superclass level: 108515 candidates (47054 unique)
#> Class level: 63180 candidates (26401 unique)
#> Parent level: 34642 candidates (16529 unique)
#> NPClassifier:
#> Pathway level: 181952 candidates (91914 unique)
#> Superclass level: 89704 candidates (37331 unique)
#> Class level: 35020 candidates (16848 unique)
#> [2026-11-21 08:31:53.048] [INFO ] [OK] Completed: decorate_chemo [n_processed=767278] (55ms)
#> [2026-11-21 08:31:57.571] [INFO ] > Starting: clean_chemo [n_annotations=767278, candidates_final=1, high_evidence=FALSE]
#> [2026-11-21 08:32:01.301] [INFO ] Cluster-consensus mass key used mz/adduct fallback for 38 row(s) with missing exact mass
#> [2026-11-21 08:32:01.593] [INFO ] Enforced cluster entity consensus for 4170 features (anchor InChIKey promoted to rank 1)
#> [2026-11-21 08:32:04.150] [INFO ] Disambiguated cross-RT duplicate rank-1 candidates across 1085 feature(s)
#> [2026-11-21 08:32:07.270] [INFO ] Sampling candidates for 491 features with more than 7 candidates per score
#> [2026-11-21 08:32:08.315] [INFO ] > Starting: filter_high_evidence [n_input=749457, context=filtered]
#> [2026-11-21 08:32:08.655] [INFO ] [filtered] Removed 747359 low-evidence candidates (99.7% of 749457 total)
#> [2026-11-21 08:32:08.657] [INFO ] [filtered] 2098 high-evidence candidates remaining (0.3%)
#> [2026-11-21 08:32:08.658] [INFO ] [OK] Completed: filter_high_evidence [n_filtered=2098, n_removed=747359] (343ms)
#> [2026-11-21 08:32:08.663] [INFO ] Filtered-tier promotion gate removed 135 non-rank1 row(s) for promoted features
#> [2026-11-21 08:32:08.676] [INFO ] Filtered-tier cross-RT duplicate gate removed 22 duplicate rank-1 row(s)
#> [2026-11-21 08:32:08.678] [INFO ] Summarizing annotation results
#> [2026-11-21 08:32:08.902] [INFO ] Annotated features: 628/5329 (11.8%)
#> [2026-11-21 08:32:10.189] [INFO ] Summarizing annotation results
#> [2026-11-21 08:32:18.873] [INFO ] Annotated features: 4825/5329 (90.5%)
#> [2026-11-21 08:32:19.712] [INFO ] [OK] Completed: clean_chemo [n_final_full=749457, n_final_filtered=628, n_final_mini=5329, n_features=628] (22.1s)
#> [2026-11-21 08:32:19.713] [INFO ] [OK] Completed: weight_annotations [n_annotations=NULL] (53s)
#> [2026-11-21 08:32:19.730] [INFO ] Exporting parameters to: data/processed/20261121_083219_example/261121_083219_prepare_params.yaml
#> [2026-11-21 08:32:19.749] [INFO ] Exporting parameters to: data/processed/20261121_083219_example/261121_083219_prepare_params_advanced.yaml
#> [2026-11-21 08:32:19.751] [INFO ] > Starting: export_output [file=data/processed/20261121_083219_example/example_results_mini.tsv, n_rows=5329]
#> [2026-11-21 08:32:19.755] [INFO ] [OK] Completed: export_output [size_bytes=836072] (3ms)
#> [2026-11-21 08:32:19.757] [INFO ] > Starting: export_output [file=data/processed/20261121_083219_example/example_results_filtered.tsv, n_rows=628]
#> [2026-11-21 08:32:19.760] [INFO ] [OK] Completed: export_output [size_bytes=533955] (4ms)
#> [2026-11-21 08:32:19.762] [INFO ] > Starting: export_output [file=data/processed/20261121_083219_example/example_results.tsv, n_rows=749457]
#> [2026-11-21 08:32:20.933] [INFO ] [OK] Completed: export_output [size_bytes=402284882] (1.2s)
#> [2026-11-21 08:32:20.935] [INFO ] Results exported: example_results.tsv
#> ✔ ann_wei completed [54.2s, 402.82 MB]
#> + exp_mzt dispatched
#> [2026-11-21 08:32:24.173] [INFO ] > Starting: write_mztab [input=example_results_filtered.tsv, output=example_results.mztab]
#> [2026-11-21 08:32:24.278] [INFO ] [OK] Completed: write_mztab [n_sml=628, n_smf=628, n_sme=4257] (105ms)
#> ✔ exp_mzt completed [134ms, 2.33 MB]
#> ✔ ended pipeline [12m 22.7s, 156 completed, 0 skipped]
#> There were 14 warnings (use warnings() to see them)3 Performing Taxonomically Informed Metabolite Annotation
This vignette describes how Taxonomically Informed Metabolite Annotation is performed.
Scoring and network consistency
During weight_annotations(), candidate structures are scored in three steps:
- Initial spectral score (
weight_bio):- SIRIUS CSI:FingerID log-scores (
<= 0) are mapped to(0, 1)via a logistic transform (K = 100,scale = 20) and optionally modulated by SIRIUS Zodiac formula confidence. - When both library MS2 similarity and SIRIUS scores are present, they are combined via
spectral_fusion("mean","corroborated", or"noisy_or").
- SIRIUS CSI:FingerID log-scores (
- Biological source weighting (
weight_bio&clean_bio):- Taxonomic matches are scored across all 15 ranks from
domaintovariety(includinginfraorder,subfamily,subtribe,subgenus, andsubspecies), with universal core metabolites (domain == "Biota") receiving thebiotascore. - Network neighbor consistency (
clean_bio) weights each neighbor’s chemical class vote by its edge similarity score rather than treating weak and strong edges equally.
- Taxonomic matches are scored across all 15 ranks from
- Chemical class weighting (
weight_chemo):- ClassyFire and NPClassifier agreement with the component’s consensus chemical class is combined with the spectral and biological scores.
- Each weighted combination tracks per-row evidence
coverage(fraction of total weight backed by non-NAevidence in[0, 1]), supports optional Empirical Bayes shrinkage (na_prior = "mean"), and can apply a smooth Cauchy penalty for RT andm/zerrors (compute_rt_mz_penalty()).
Avoiding duplicate final candidates across retention times
A single compound (2D InChIKey) cannot elute at two different retention times (> 0.05 min apart) on the same chromatographic gradient. Co-eluting ions of the same peak ([M+H]+, [M+Na]+, or in-source fragments grouped by 1D complete-linkage RT clustering so every cluster has diameter <= 0.05 min) can share the same top candidate, but distinct chromatographic peaks cannot.
When two peaks at different retention times initially rank the same structure 1st—typically isomers sharing an exact mass or a similar MS2 spectrum—TIMA picks the best overall combination of (peak, candidate) pairs across the run:
- MS2 beats MS1-only: Peak
F1(2.00 min) matches Quercetin by MS2 (0.92), while peakF2(8.50 min) only matches Quercetin by MS1 (0.78) with Kaempferol ranked 2nd (0.74).F1keeps Quercetin at rank 1, andF2promotes Kaempferol to rank 1. - Best overall pair, not first-come-first-served: Peak
F1scores0.90forIK_Aand0.89forIK_B, while peakF2scores0.88forIK_Aand0.20forIK_B. GivingIK_AtoF1would forceF2onto a poor match (0.20, total1.10). TIMA instead assignsIK_BtoF1(0.89) andIK_AtoF2(0.88), giving a much better combined score (1.77). - Ties are never broken at random:
- If two peaks have identical candidate scores for two isomers, the peak with the smaller RT or
m/zerror gets the higher-scoring isomer. - If the losing peak has two tied runner-up candidates, both are promoted to rank 1 together.
- If two peaks have 100% identical scores and errors across all metrics, both candidates are kept tied at rank 1 on both peaks.
- If two peaks have identical candidate scores for two isomers, the peak with the smaller RT or
- Reported in the output tables: Every promotion is noted in
annotation_note(fullandfilteredtables) andnote(minitable), for example:Promoted to rank 1: cross-RT duplicate InChIKey IK_A assigned to feature F2(ortied with feature F2on an exact tie).
The final exported file is formatted in order to be easily imported in Cytoscape to further explore your data!
We hope you enjoyed using TIMA and are pleased to hear from you!
For any remark or suggestion, please fill an issue or feel free to contact us directly.
Reuse
Citation
@online{rutz2026,
author = {Rutz, Adriano},
title = {3 {Performing} {Taxonomically} {Informed} {Metabolite}
{Annotation}},
date = {2026-11-21},
url = {https://taxonomicallyinformedannotation.github.io/tima/vignettes/articles/III-processing.html},
langid = {en}
}