Packs of words

Ingence has one Dictionary: the list of words Ingence knows, with their meanings (How Ingence works). A pack is a file of words for one field, and it adds those words to the Dictionary. For example, the microscopy pack says that brightfield and bf mean the same thing. The sequencing pack says that rnaseq names a kind of sequencing. A pack holds the words and file types of its field. It doesn’t hold rules. Ingence’s rules use the words to find results.

The core of the Dictionary holds the words every laboratory uses: file formats, dates, units and the stages of work. The packs add the words of one field each.

The packs that ship

Eight packs ship with Ingence. Each is a YAML file inside the package.

Pack

What it adds

microscopy

Imaging methods, optical settings, labels and image processing.

biochemistry

Wet-laboratory methods, kinds of reagent, cell culture and genetics.

sequencing

Library types, platforms, read structure, processing steps and measures.

spectrometry

Mass spectrometry, optical and magnetic spectroscopy, and their measures.

electrophysiology

Recording setups, protocols, measured quantities and formats.

clinical

Study design, specimens, imaging methods, and the words that name identifiers, such as patientid. The pack marks these words as sensitive. Ingence v0.4.0 doesn’t have a rule that flags a file that seems to hold identifiers. So don’t rely on Ingence to find them.

computational

Simulation, numerical methods, job scheduling and scientific file formats.

programs

Scientific programs that a laboratory keeps installed beside its data. Ingence recognizes each program by the set of files its installation holds.

Meanings come from your data

Ingence reads the words of every shipped pack in every project. It reads which meaning of a word fits from your folders’ own data. It shows each meaning it assumed with This is wrong (Correct what is wrong). Your answer wins over everything.

Two meanings can share one spelling. Where neither meaning ranks higher, Ingence doesn’t choose either. It names both, and a rule that needs the word doesn’t give a result. Where one meaning ranks higher, it wins, and Ingence does not mention the other. ingence teach collisions -p PROJECT lists every spelling that two meanings share, and how Ingence settles each one. Add --decided to see only the spellings where one meaning wins. Look at those first, because there Ingence answered a question for you without asking it. The list also shows the spellings your own answers settled.

How a laboratory adds its own words

Only a laboratory knows what its own words mean. Ingence gives you three ways to say it.

Answer once in the Dashboard. Where words in your file names don’t match the Dictionary, Ingence asks what they mean. It asks in Checks and in Words (in Advanced). Your answer goes into the project’s answer log, under your name (Teaching Ingence your words).

Export what you taught as a pack. ingence teach export-answers writes the answers your project holds as one pack file, with who answered and when. It leaves out an answer that applies to one folder only, because such an answer names that project’s folders.

Install a pack in another project with ingence teach pack install. A pack is a file, a folder that holds a pack.yaml, or a web address. Ingence reads it from the next scan. A pack stands level with the shipped words. Where both give a meaning to one spelling, Ingence reports a tie. A rule that needs the word then doesn’t give a result until you answer.

A pack states its name, version, field (domain), author and license (spelled licence). It also states the schema version it needs, and a digest of its words. Ingence refuses a pack whose words do not match its digest, or that needs a newer Ingence. It also refuses a name that a shipped pack already uses.

Writing a pack gives the commands. It also shows how to write a pack by hand, test it and share it.