Repository navigation
Names
From 0.9.0 FormChem reads chemical names into structures and names the structures you draw, offline on your computer with no account and no lookup service. Every name and every structure drawn from a name says how it was read: the method, the confidence and the engine version. The engine side, with every route and the full coverage list, is docs/NAMES.md.
Insert > Structure from Name. Type a name and the dialog reads it as you type:
- the structure as a preview, with its formula
- the confidence: High for a name found in the dictionary or read fully with one meaning, Medium when something had to be assumed or the name has two readings (the note says what), Not read otherwise
- the method: Dictionary or Systematic parser, and "FormChem names 0.9.0"
Insert or Enter draws it as one undo step, placed like a template. The dialog keeps its size through every state, so the buttons never move while you type.
| Type | Read as |
|---|---|
| aspirin, caffeine, THF, DMSO, L-alanine, Taxol, cholesterol | the dictionary's structure, high confidence |
| 2,2,4-trimethylpentane, (2R)-butan-2-ol, ethyl propanoate, N,N-dimethylpropan-1-amine, pyridine-3-carboxylic acid | the systematic parser, high confidence |
| propanol | propan-1-ol, medium confidence, with the note that the locant was assumed |
| Benzene, 1,2-dichloro- | refused: inverted index names are not read; type 1,2-dichlorobenzene |
| benzoic acdi | refused, with the unread part marked |
What the systematic parser covers: chains to 20 carbons with branched and compound substituents, rings and 49 ring parents (benzene, pyridine, the azoles, naphthalene, quinoline, indole, purine, piperidine, morpholine and more), double and triple bonds, halogens, alcohols, ethers, thiols, sulfides, amines, aldehydes, ketones, acids, esters, salts, acid halides, amides, nitriles, retained names such as phenol, aniline, toluene and benzoic acid, multipliers to deca and bis to hexakis, functional class names such as benzyl alcohol and diethyl ether, and R, S, E, Z, cis and trans. The dictionary holds 629 common names: solvents, reagents, amino acids, sugars and nucleosides, drugs, natural products and everyday organics.
FormChem refuses rather than guesses. A name it cannot read, an impossible structure ("2,2,2-trimethylpropane"), a locant that does not exist ("propan-4-ol"), an inverted index name, or D- and L- outside the dictionary is refused with the reason.
Paste a name onto the canvas (Ctrl+V or Cmd+V) and Structure from Name opens with its structure already read; Enter draws it. Text that is not a name, or a name FormChem cannot read, pastes as text as before.
The Analysis panel (Analysis > Show Analysis) has a Name section for the selection, or the whole page when nothing is selected:
- Common name, from the dictionary, when the structure is in it
- Systematic, from FormChem's rule-based namer, shown only when the name reads back to exactly the same structure (the same InChIKey); otherwise the section says why there is none, for example for salts, ring systems outside the table, or stereocentres outside the parent chain
Each row shows its method. Edit > Copy Name copies the first name. Aspirin, for example, shows "aspirin" (Common name, Dictionary) and "2-(acetyloxy)benzoic acid" (Systematic, Rule-based namer, round-trip checked).
- Hydro prefixes ("pyridin-2(1H)-one"), spiro and bridged rings, ring systems outside the table, peptide and sugar systematic names.
- Systematic names for salts, sulfoxides and sulfones, phosphorus and metal compounds, imines and azo compounds; pyridones, uracils and caffeine get their common name only.
- A misspelt name is marked from its first character rather than at the misspelt word.
draw_from_name {name} draws a name as one undo step and says how it was read; name_structure names structures, a selection or SMILES without changing anything. See Agents.
FormChem
- Home
- Manual
- Getting Started
- Drawing
- Grid and Page
- Annotations
- Reactions
- Templates
- Printing and pages
- Keyboard Shortcuts
- Stereo and Queries
- Analysis
- Names
- Spectra and NMR
- 3D
- Databases
- Lab Notebook
- Biopolymers
- Live Structures
- Accessibility
- Formats and Export
- Clipboard
- Command Line
- Agents
- Agent Activity
- Terminal
- Extensions
- Project Format
- Architecture
- Desktop
- Troubleshooting
- Development
- Releasing
Documents