Library Manage is used to process uploaded local libraries that have not yet been fully registered or shared. The recommended workflow is: Refresh the records → Bind CID automatically → check and complete spectrum and compound fields → Register All / Register One → verify the MID and sharing settings in Shared Spectra List.

1. Reading uploads, automatic binding, and batch registration (Figures 1–3)

Click Refresh beside Local Spectra Library to load the current account's uploaded library files. The table separates local database statistics, on-chain registration, and server sharing.

Local Spectra Library upload record and Local Spectra List
Figure 1 · Upload record and spectrum details: RECETOX_Exposome_GC-EI-MS_v2.msp contains 434 spectra and 410 compounds, with 408 CIDs bound. Click the table icon beside either count to open its details; Local Spectra List is shown below.
ColumnMeaning and action
File ID / File Name / File Type / Load DateUpload ID, file name, format, and load time.
Spectrum NumNumber of spectra in the file. Click the table icon beside the number to open Local Spectra List, including Spectrum ID, CID, PrecursorMz, RT, CE, IonMode/Adduct, Peak Num, and registration status.
Compound NumNumber of compounds in the file. Click the table icon beside the number to open Local Compound List and review or edit compound information.
Registered SpectrumNumber of spectra registered on-chain; Register All below starts batch registration.
Token IncomeTotal points earned by this file.
Bound CIDNumber of compounds bound to system CIDs; Bind CID below starts automatic batch binding.
Shared SpectrumNumber of spectra shared to the server and searchable by other users.

After a db or msp file is loaded, the system attempts binding automatically. You can also click Bind CID (batch BING ALL) manually. Only compounds without a bound CID are processed: db records use available PubChemId, CASId, Cid, and InChIKey values, while msp records use Cid and InChIKey values to match system compounds. A successful match writes the CID back to the compound and synchronises it to the related spectra. Unmatched records remain unbound for manual review.

Bind CID batch binding confirmation
Figure 2 · BING ALL confirmation: Bind CID asks for confirmation before matching all unbound compounds in the selected file. The task runs in the background and updates the Bound CID count.

When the spectrum fields are complete and CIDs have been bound, click Register All to register and share in batches. The task processes only spectra that are bound to a CID and not yet registered. It continues in the background even after you leave the page.

Batch Register on Blockchain dialog
Figure 3 · Batch registration settings: Confirm data ownership, select a License, and set Query Cost to an integer from 0 to 50. Registered spectra are publicly searchable by default; other users pay Query Cost to access the complete spectrum.
Before registering: You must confirm that the spectra were generated by you or that you hold the legal right to submit them. Query Cost is what other users pay to view the complete spectrum, not a registration fee. Registration rewards are calculated from similarity scores and are not a fixed amount.

2. Completing fields manually and registering individual spectra (Figures 4–7)

If automatic binding fails, CID is shown as ?, or fields such as the adduct are incomplete, complete the record manually. Open the spectrum's CID editor, enter a system CID in Compound Key [Server], and click Query. Verify the returned PubChemCID, CAS, Formula, ExactMass, InChIKey, names, and structure, then click Bind CID to Spectrum ID.

Manually querying and binding a system compound CID
Figure 4 · Manual CID binding: CID 122356 is queried for local spectrum 29593665905_1_2. After confirming N-(4-aminobutyl)acetamide / N-Acetylputrescine, bind the CID to the spectrum.

Compound information can also be corrected in Local Compound List. The table contains local Compound ID, CID (Server), CAS ID, InChIKey, Formula, Name EN, Name CN, and Structure. Use the edit icons to change cells and confirm the changes, add structure information in the Structure column, and filter by field with the search controls.

Editing compound information in Local Compound List
Figure 5 · Editing compound information: CID, CAS, InChIKey, formula, and Chinese/English names can be edited directly. Keep the compound and spectrum CIDs consistent, and recheck related spectra after editing.

In Local Spectra List, you can also edit spectrum fields such as CollisionEnergy and IonMode/Adduct. When CID and PrecursorMz are available, the adduct editor can suggest candidates based on the compound's exact mass and show the ppm error (±50 ppm). Treat this as assistance only, and confirm the result against the ion mode and experimental conditions.

After completing and reviewing a record, click Register on its row. Single Spectrum Register shows the Spectrum ID and current Adduct. Confirm ownership, License, and Query Cost, then click Register One. A bound CID is required before registration.

Single Spectrum Register dialog
Figure 6 · Registering one spectrum: Spectrum 29593665905_1_1582 uses adduct [M-H]- and Query Cost 2. Confirm ownership and click Register One.

After registration, refresh both Shared Spectra List [Server] and the local list. The server list shows the newly assigned MID, CID, spectrum parameters, points, and sharing settings, while the local Register Status changes from Register to the assigned MID.

Shared Spectra List and local MID after registration
Figure 7 · Registration result: The new spectrum receives MID 10256-196, and its local status becomes MID: 10256-196. In this example Registered is 20 and Queried Costs is 2. Sharing settings can be edited on the right, and Stop ends sharing.
Shared Spectra List fieldDescription
MID(Server) / CID(Server)The server spectrum ID assigned during registration and the bound system compound CID.
Token Income · RegisteredReward points earned when this spectrum was registered.
Token Income · QueriedAccumulated points earned when other users view this spectrum.
Queried CostsPoints required for another user to unlock the complete spectrum.
Shared Settings / Share OperateEdit sharing settings or use Stop to stop sharing with other users.

3. Search visibility of local and shared spectra (Figure 8)

When the uploader searches through the Web interface or docker client using their own account identity, they can find their own uploaded but unshared local spectra. These results show Local as the Source. They belong only to the uploader and cannot be searched or read by other users.

Mass Search results for the user's own Local spectra
Figure 8 · Searching your own local spectra: The MS/MS IDs begin with the current user ID and Source is Local, indicating records from your own uploaded library rather than the public shared library.
Spectrum statusSearch and viewing permissions
Uploaded by you, not sharedOnly the uploader can search and view these spectra through the Web interface or docker client; they are invisible to other users.
Registered and sharedAll users can find matching records. Other users must sign in and unlock the complete spectrum and peak data according to Queried Costs.
Owner or already unlockedThe owner can view their own spectrum without a charge. Once another user has unlocked it, it enters their unlocked list and later views do not charge again.
Important: Searchable does not mean unrestricted access to all peak data. Shared spectra are available for matching, but complete spectra remain subject to sign-in and point rules. No points are deducted when Query Cost is 0. After sharing is stopped, other users no longer receive shared access to the spectrum.

Related pages: Library Upload (file structure and field checks) · Points & Registration Rules (scoring and unlocking) · Private Spectrum (viewing and unlocking) · Token Manage (income, spending, and unlocked spectra)