๐Ÿ—„๏ธ MetaLib โ€” Shared Reference Library Cache

The download-on-demand compound-library convention shared by A-SIMA, P-Mix, and LigLib

๐Ÿ“‹ On this page

Overview

MetaLib isn't a plugin you open from a menu โ€” it's POKY's shared reference-compound library, plus the local cache directory (also named MetaLib) that several plugins use to keep large datasets out of the POKY package itself. Instead of shipping megabytes of BMRB-derived spectra and shift tables with every install, a plugin downloads what it needs from MetaLib the first time it's used and reuses the local copy after that.

โฌ‡๏ธ Download MetaLib

Three plugins currently use this convention: A-SIMA (its full BMRB-derived metabolite library), P-Mix (its compound library for mixture design), and LigLib (its lignin & cell-wall model-compound database). Any future plugin needing a large reference dataset can follow the same pattern rather than inventing a new one.

๐Ÿ’ก Browsing MetaLib's compounds directly: launch A-SIMA (two-letter command aa), then switch it to User Based mode โ€” that's where you can search and browse the full MetaLib compound library yourself, rather than only seeing compounds A-SIMA has automatically matched to your spectrum.
๐Ÿ’ก Where the data actually lives: the authoritative, most detailed write-up of the metabolomics side of MetaLib (compound counts, KEGG/HMDB category tagging, biospecimen origins) is on the POKY features site. This page instead documents the shared mechanism โ€” the download/cache pattern itself โ€” as it applies across A-SIMA, P-Mix, and LigLib.

How the Cache Works

Each MetaLib-consuming plugin follows the same three steps:

Some plugins cache their whole library up front; others additionally fetch per-compound data lazily, only once that specific compound is actually opened โ€” this keeps the initial download small even though the full hosted collection is large.

โ„น๏ธ No project open yet? Most MetaLib consumers key the cache directory off the current project, so open (or create) a POKY project before using a MetaLib-backed plugin for the first time. LigLib additionally falls back to a MetaLib folder under the user's home directory if no project is open, so it can still be browsed standalone.

What Each Plugin Stores There

A-SIMA's Metabolite Library

A-SIMA is MetaLib's original and largest consumer. Its library covers 3,295 compounds across 3,629 entry IDs (3,409 experimental, 220 theoretical), sourced from the Biological Magnetic Resonance Bank (BMRB):

โš ๏ธ A-SIMA doesn't yet have a dedicated page in this manual site โ€” for the full metabolomics-focused write-up (category color key, KEGG/HMDB details, a downloadable ZIP of the entire library), see the POKY features site.

Cross-Referencing Between Libraries

Because A-SIMA's library and LigLib's lignin database are both ultimately BMRB-derived, a compound can legitimately appear in both. LigLib cross-references A-SIMA's library by exact BMRB ID: 248 of LigLib's 532 compounds are also present in A-SIMA's library, letting you check a LigLib match against A-SIMA's independent peak-list/shift data for the same compound. See LigLib's Shift Table Viewer section for where that BMRB ID is shown.

Scope & Limitations