ATOMLENS 3.1 / MAC HELPApp Store ↗

Formats and Tools

Reference information for extraction workflows, reaction support, advanced notation, and supported input and export formats in AtomLens.

AtomLens can search the Managed Repository by more than a filename. It can compare chemical structures, which means it looks at atoms and bonds rather than just text.

Starting a chemical search

Similarity versus substructure

Similarity search asks: "Which molecules look chemically similar to my query?" AtomLens represents each molecule with a compact fingerprint and compares those fingerprints with a Tanimoto score. A high score means many structural features are shared, but it does not mean the query appears exactly inside the result.

Substructure search asks: "Does this molecule contain my query as an exact part of its structure?" If you draw a benzene ring, results must contain a matching ring. If you draw two fused rings, a molecule with two separate rings connected by a single bond is not the same substructure.

How similarity search works

  1. AtomLens prepares the query fingerprint. The drawn structure or selected molecule is parsed into a molecule and converted into the same circular fingerprint representation used by the Managed Repository index.
  2. The repository search snapshot is loaded. AtomLens uses the current compact search snapshot, including each indexed molecule's folded fingerprint and stored structure identifiers, instead of reparsing every repository file at the start of the search.
  3. Impossible candidates are skipped quickly. The fingerprint index can rule out records whose bit counts cannot reach the requested minimum Tanimoto similarity, even under the best possible overlap.
  4. Fingerprint Tanimoto scores rank the candidates. AtomLens compares the sorted query fingerprint bits with each candidate fingerprint, keeps results at or above the minimum similarity, and sorts higher similarity scores first. Equal scores fall back to stable name and identifier ordering.
  5. Large searches stay bounded. When a result limit is set, each worker keeps only its strongest local results, then AtomLens merges those partial top results into the final sorted page. An unlimited search can still return every record meeting the minimum score.
  6. Common regions are prepared for highlighting. AtomLens gives the MCS analysis a short shared time budget so complex structures cannot delay the results indefinitely. The violet highlight shows a common region found in that time; a larger common region may exist. This work never changes the fingerprint score, ranking, or number of matches. Results remain available even when no highlight is found.
  7. The shared structure is highlighted. AtomLens converts the MCS target atom indices back to the target molecule's atom IDs, highlights bonds whose endpoints are both in that atom set, and renders the result preview with a violet MCS highlight. Opening the result carries the same violet highlight into the molecule window.

Reading similarity results

How substructure search works

  1. AtomLens prepares the query. The drawn structure or selected molecule is parsed into a chemistry graph. A graph is simply a map of atoms connected by bonds.
  2. The repository index is loaded. AtomLens uses a compact SQLite/Core Data backed search index instead of reading every full molecule file at the start of the search.
  3. Fast screens remove obvious non-matches. A target must have enough atoms and bonds, the required elements, and the required ring, aromatic, and local bonding features. These checks are much cheaper than full graph matching.
  4. Candidates are ranked. Structures that pass the fast screens are ordered so likely useful results are checked first. AtomLens uses fingerprint overlap and how much extra structure the target has beyond the query.
  5. Reusable molecule graphs are cached. AtomLens keeps parsed molecules and SMSD Pro graph handles in memory while the repository index generation is current. Imports, deletes, reindexing, and iCloud/Core Data merges invalidate stale cached data.
  6. SMSD Pro checks exact graph containment. AtomLens sends candidate batches to SMSD Pro. The default matcher uses VF2++ graph matching with neighborhood filters and bit-parallel feasibility checks. Metal can help with safe screening and prioritization on Apple GPUs, but the final exact graph match still runs on the CPU.
  7. Exact hits are counted exhaustively before the visible page is shown. AtomLens screens the repository, proves exact substructure hits, and keeps checking candidates so the match count is complete. It ranks all exact hits with inexpensive exact-match data, computes short-timeout MCIS metrics for a small deterministic front window, and then ranks the enriched results again. Later hits retain the cheaper exact-match score.
  8. Returned matches are highlighted. After ranking and applying the requested result limit, AtomLens loads depiction content and records matching atom and bond IDs only for the rows it returns. The result preview highlights the matched substructure in red, and opening a result carries that red highlight into the molecule window.

Reading substructure results

The MCIS / Target column reports the Maximum Common Induced Subgraph size compared with the size of the target molecule. In plain language, it says how many target atoms belong to the largest exact shared part of the two structures.

Why some searches still take time

Exact substructure matching is a graph-isomorphism problem. That means AtomLens must prove that the query atoms and bonds can be mapped onto atoms and bonds in each target. Fast screens and Metal-assisted screening reduce the work, but hard molecules or broad queries can still require CPU-heavy exact matching.

Extract tools

AtomLens validates the source first, confirms counts, and then writes files or tables with progress feedback.

Split multi-structure SDF into multiple files

  1. Choose File > Extract > Split multi-structure SDF into multiple files....
  2. Select an SDF file with two or more structures.
  3. Confirm the count and choose Managed Repository or a destination folder.
  4. AtomLens writes one repository record or one .sdf file per structure, depending on the selected destination.

Extract multi-structure SDF attributes into CSV

  1. Choose File > Extract > Extract multi-structure SDF attributes into CSV table....
  2. Select a multi-structure SDF file.
  3. Confirm the number of parsable structures and choose the destination .csv file.
  4. AtomLens writes one quoted CSV table with all discovered SDF fields.

When a structure has multiple values for one field, AtomLens joins them with |. Invalid records are skipped and reported at the end.

Split multi-reaction SMILES into multiple files

  1. Choose File > Extract > Split multi-reaction SMILES into multiple files....
  2. Select a multi-line Reaction SMILES source file.
  3. Confirm the number of valid reactions and choose a destination folder.
  4. AtomLens writes one .rsmi file per valid reaction.

Split multi-reaction SMILES into RXN files

  1. Choose File > Extract > Split multi-reaction SMILES into multiple RXN files....
  2. Select a multi-line Reaction SMILES source file.
  3. Confirm the count, choose a destination folder, and start extraction.
  4. AtomLens converts each valid reaction entry into an individual .rxn file.

On macOS, the multi-structure SDF workflow can import structures into Managed Repository or write individual files to a folder. CSV and reaction extraction workflows write to the destination you choose.

Reaction support

AtomLens opens reaction files directly, including .rsmi, .rinchi, .rxn, .rdf, and reaction-bearing .cml.

Advanced notation

AtomLens continues to support modern CXSMILES features and related advanced annotations.

Supported input formats

.mol and .sdf input may use V2000 or V3000 syntax, and standard SMILES text files may still contain CXSMILES extensions. The dedicated document source editor can also convert supported IUPAC names into structure source before you apply and render it.

FormatExtensionsUTI
MDL Molfile.molde.losko.atomlens.molfile
MDL SDFile.sdf, .sdde.losko.atomlens.sdfile
MDL RGfile.rgfde.losko.atomlens.rgfile
SMILES.smi, .smiles, .ism, .cande.losko.atomlens.smiles
CXSMILES.cxsmilesde.losko.atomlens.cxsmiles
Reaction SMILES.rsmide.losko.atomlens.rsmi
RInChI.rinchide.losko.atomlens.rinchi
InChI.inchi, .ichde.losko.atomlens.inchi
Tripos MOL2.mol2de.losko.atomlens.mol2
Protein Data Bank.pdb, .entde.losko.atomlens.pdb
XYZ Coordinates.xyzde.losko.atomlens.xyz
Chemical Markup Language.cmlde.losko.atomlens.cml
MDL RXN.rxnde.losko.atomlens.rxn
MDL RDF.rdfde.losko.atomlens.rdf
Plain text auto-detect.txtpublic.plain-text

Supported export formats

Use File > Export... to export the current molecule or reaction context as chemistry files. Use File > Share for SVG, PNG, or PDF depictions of the current molecule or whole reaction.

On iPad, use the molecule or reaction window’s Share button, choose ChemDraw CDX or ChemDraw CDXML, then Save to Files.

Export formatExtensionsNotes
SVG depiction.svgUses the current depiction style.
MDL Molfile (V2000).molSingle structure.
MDL Molfile (V3000).molSingle structure in the newer syntax.
MDL SDFile.sdf, .sdSingle or multiple structures.
MDL RGfile.rgfCondition-dependent export when the current structure can be written with R-group data.
SMILES.smi, .smiles, .canStandard flavor.
SMILES (Isomeric).ismStereochemistry-aware output.
InChI.inchi, .ichGenerated locally.
Tripos MOL2.mol2Text export.
Protein Data Bank.pdb, .entText export.
XYZ Coordinates.xyzText export.
ChemDraw CDX / CDXML.cdx, .cdxmlEditable 2D molecules and reactions. Unsupported advanced chemistry produces an error; arbitrary source metadata is not preserved. Import and export are supported for the documented chemistry subset. Repository import retains the original drawing and creates editable records.
Chemical Markup Language.cmlXML export for molecules and reactions.
MDL RXN.rxnWhole-reaction export when viewing a reaction document.
MDL RDF.rdfWhole-reaction export when viewing a reaction document.
Reaction SMILES.rsmiWhole-reaction text export.
RInChI.rinchiWhole-reaction identifier export.

Roundtrip support

AtomLens aims to preserve the important chemical meaning of supported source formats when you inspect and export them again.

© 2026 Dr. Sascha Losko - Obscure Essentials. All rights reserved.

AtomLens 3.1 · Website guide updated 2026-10-18.