AtomLens app icon

AtomLens Help

Obscure Essentials

Updated: February 21, 2026

Quick summary
  • Open molecule files and AtomLens renders a clean 2D structure view automatically.
  • Generate identifiers (SMILES/InChI/InChI Key) and core molecular properties in one place.
  • Search chemistry files locally with Spotlight metadata and Quick Look previews.
  • Standard use is local-first: your structures stay on your Mac.

Contents


Quick Start

If you are new to AtomLens, start here.

  1. Open a file using File > Open… or the toolbar Open button.
  2. For opened files, AtomLens detects format and renders immediately.
  3. For text you type or paste, click Parse & Render.
  4. Parse & Render is enabled only when a valid structure format is detected.
  5. Use canvas controls to zoom, rotate, pan, and reset view.

Main Workflow

A typical session has five steps:

Interface Overview

The interface is organized into practical zones.

Supported Input Formats

AtomLens can open these file types directly.

Format Extensions UTI
MDL Molfile.molde.losko.atomlens.molfile
MDL SDFile.sdf, .sdde.losko.atomlens.sdfile
SMILES.smi, .smiles, .ism, .cande.losko.atomlens.smiles
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… and choose a format in the save dialog.

Export format Extensions Notes
SVG depiction.svgUses current visualization style settings.
MDL Molfile (V2000).molSingle structure.
MDL SDFile.sdf, .sdSingle or multiple structures.
SMILES.smi, .smiles, .canStandard flavor.
SMILES (Isomeric).ismStereochemistry-aware output.
InChI.inchi, .ichNative Swift CDK-derived generation path.
Tripos MOL2.mol2Text export.
Protein Data Bank.pdb, .entText export.
XYZ Coordinates.xyzText export.
Chemical Markup Language.cmlXML export.
MDL RXN.rxnReaction output from current set.
MDL RDF.rdfReaction-data output from current set.

Extract: Split Multi-Structure SDF

Use this when one SDF file contains many compounds and you want separate files.

  1. Choose File > Extract > Split multi-structure SDF into multiple files….
  2. Select an SDF file with more than one structure.
  3. AtomLens reports structure count and asks for a target folder.
  4. Each structure is saved as an individual .sdf file (molecule name is used when available).
  5. A progress dialog shows real-time save progress and failed entries.

Molecule Search Panel

The search panel helps you browse large local structure collections quickly.

Why Spotlight and Quick Look Matter

In real workflows, filenames are often not enough to find the correct structure quickly. AtomLens adds chemistry-aware metadata and visual previews so you can find compounds by properties, not just by filename.

Feature Practical value
Spotlight chemistry attributes Find files by InChI Key, formula, molecular weight, LogP, and related descriptors.
Finder thumbnails Triaging large folders becomes visual and faster.
Interactive Quick Look previews Inspect structures with pan/zoom directly from Finder and AtomLens search workflows.

Spotlight Metadata Attributes

AtomLens writes dedicated metadata keys prefixed with de_losko_atomlens_.

Attribute Type Meaning
de_losko_atomlens_is_moleculeNumber (0/1)Structure validity flag for robust molecule filtering.
de_losko_atomlens_smilesStringGenerated SMILES.
de_losko_atomlens_iso_smilesStringGenerated isomeric SMILES.
de_losko_atomlens_inchiStringGenerated InChI.
de_losko_atomlens_inchi_keyStringGenerated InChI Key.
de_losko_atomlens_formulaStringMolecular formula.
de_losko_atomlens_molecular_weightNumberMolecular weight (Da).
de_losko_atomlens_xlogpNumberXLogP estimate.
de_losko_atomlens_molar_massNumberMolar mass (g/mol).
de_losko_atomlens_monoisotopic_massNumberMonoisotopic mass (Da).
de_losko_atomlens_heavy_atom_countNumberHeavy atom count.
de_losko_atomlens_hbond_donor_countNumberH-bond donor count.
de_losko_atomlens_hbond_acceptor_countNumberH-bond acceptor count.
de_losko_atomlens_rotatable_bond_countNumberRotatable bond count.
de_losko_atomlens_ring_countNumberRing count.
de_losko_atomlens_rule_of_five_statusStringHuman-readable Rule-of-Five summary.
de_losko_atomlens_rule_of_five_violationsNumberRule-of-Five violation count.
de_losko_atomlens_rule_of_five_evaluated_criteria_countNumberNumber of Rule-of-Five criteria evaluated.
de_losko_atomlens_rule_of_five_compliantNumber (0/1)Rule-of-Five compliance flag.

Spotlight Search Examples

Examples for Terminal-based local search:

Find by exact InChI Key

mdfind 'de_losko_atomlens_inchi_key == "HVQAJTFOCKOKIN-UHFFFAOYSA-N"'

Find all molecule files indexed by AtomLens

mdfind 'de_losko_atomlens_is_molecule == 1'

Find by molecular-weight range

mdfind 'de_losko_atomlens_molecular_weight >= 200 && de_losko_atomlens_molecular_weight <= 300'

Find by LogP threshold

mdfind 'de_losko_atomlens_xlogp > 3.0'

Find Rule-of-Five compliant compounds

mdfind 'de_losko_atomlens_rule_of_five_compliant == 1'

Chemistry Notes

Third-Party Software and References

Component Role in AtomLens License
CDKSwiftNativePort (Swift-native CDK-derived implementation) Parsing, depiction logic, identifier generation, and molecular property calculations. LGPL-2.1-or-later

Swift package used by AtomLens: CDKSwiftNativePort on GitHub

AtomLens is based on ideas and methods from the original Chemistry Development Kit (CDK). For scientific work, please cite CDK references where appropriate:

  1. Willighagen et al. (2017), The Chemistry Development Kit (CDK) v2.0: atom typing, depiction, molecular formulas, and substructure searching. doi:10.1186/s13321-017-0220-4
  2. May and Steinbeck (2014), Efficient ring perception for the Chemistry Development Kit. doi:10.1186/1758-2946-6-3
  3. Steinbeck et al. (2006), Recent Developments of the Chemistry Development Kit (CDK) - An Open-Source Java Library for Chemo- and Bioinformatics. doi:10.2174/138161206777585274
  4. Steinbeck et al. (2003), The Chemistry Development Kit (CDK): An Open-Source Java Library for Chemo- and Bioinformatics. doi:10.1021/ci025584y

Privacy Notice


Feedback and support

For feedback, bug reports, or feature requests, email support@losko.de.

© 2026 Sascha Losko — Obscure Essentials. All rights reserved.