Salts and multi-fragment SMILES, what MFsig computes
With several fragments in one SMILES, MFsig computes the one with most heavy atoms and records the rest as dropped. Prepare salts accordingly.
Updated November 28, 2026
When a SMILES contains several fragments separated by dots, MFsig computes the fragment with the most heavy atoms and records the others as dropped in the identity block. For a sodium salt that means the organic anion is computed, charged, and the sodium ion is not. If you want the neutral parent, or both ions of a pair, you write the SMILES accordingly. This guide shows the rule, its consequences and a preparation script.
Why one SMILES can hold several molecules
The dot in SMILES separates disconnected fragments. CC(=O)[O-].[Na+] is sodium acetate, C[NH3+].[Cl-] is methylammonium chloride, and O.O.CCO is ethanol with two waters. Registration systems like this notation, because it records the solid form that was weighed. A quantum calculation does not like it, because a single-point calculation on two or three separated fragments in a continuum is not a meaningful model of a salt. The fragments would sit at arbitrary distances determined by the conformer generator, and their mutual polarisation would depend on that accident.
So every σ-profile pipeline must decide what to do with a multi-fragment input. The honest options are to compute one fragment and say which, or to refuse. MFsig does the first.
The rule and what it means for salts
The fragment with the most heavy atoms is computed. Heavy atoms are all atoms except hydrogen. The remaining fragments are recorded as dropped in the identity block of the .mfsig file, alongside the SMILES as written, so a reader can see what was meant and what was computed. Check the exact key names on the anatomy page.
The consequence for salts is direct. In CC(=O)[O-].[Na+], acetate has three heavy atoms and sodium one. Acetate is computed, as an anion with a charge of minus one. In C[NH3+].[Cl-], methylammonium has two heavy atoms and chloride one. The cation is computed. In both cases the file describes a charged species, with the strongly shifted sigma profile that charged species have, see the charged species guide.
This is often not what a solvent screen wants. A screen for a crystallisation solvent of a free base wants the neutral amine, CN, not the cation. The rule does not change that for you. Protonation is taken as written, with no neutralisation. The protonation guide covers the decision. The point here is that stripping the counter-ion does not neutralise the organic ion, and you must do both steps yourself if the neutral parent is what you need.
Three common cases
Hydrochlorides. An amine hydrochloride written as C[NH3+].[Cl-] gives the ammonium cation. Written as CN.Cl it gives neutral methylamine, with a neutral HCl fragment dropped, which is a strange thing to write but a valid one. Decide which species you mean and write that species alone.
Sodium and potassium salts of acids. The anion is computed. For the neutral acid, write it protonated and without the metal.
Solvates and hydrates. CCO.O gives ethanol, with water dropped. A hydrate in the solid state tells you nothing about the σ-profile of the dissolved molecule, so drop the water yourself and record the solid form elsewhere.
A tie, where two fragments have the same number of heavy atoms, is a case to avoid rather than to understand. Split it into two orders.
Ionic liquids and other pairs where both ions matter
For an ionic liquid, both ions are the point. Submit the cation as one SMILES and the anion as another. You get two files, each with its own identity block, geometry, σ-moments and hash. The ionic liquids guide discusses how the two profiles are then used together. The same applies to a drug salt whose counter-ion is itself a sizeable organic molecule, such as a tosylate or a mesylate. Compute both, store both, and keep the pairing in your own records.
Where COSMO-RS style treatment is intended, remember that the σ in each file is the raw screening charge per segment divided by area. It is not the averaged σ-profile those models expect, and it must not be passed to them as if it were.
Preparing a salt list in RDKit
from rdkit import Chem
def split_for_submission(smiles):
mol = Chem.MolFromSmiles(smiles)
frags = Chem.GetMolFrags(mol, asMols=True)
frags = sorted(frags, key=lambda m: m.GetNumHeavyAtoms(), reverse=True)
main = Chem.MolToSmiles(frags[0])
dropped = [Chem.MolToSmiles(f) for f in frags[1:]]
return main, dropped
for s in ["CC(=O)[O-].[Na+]", "C[NH3+].[Cl-]", "CCO.O", "CCO"]:
main, dropped = split_for_submission(s)
print(f"{s:20} -> compute {main:12} drop {dropped}")Run this before submission and review the output by eye. Any line where the computed fragment is an ion and you wanted a neutral molecule gets corrected by hand. Any line where the dropped list contains something other than a metal ion, a halide or a solvent deserves a second look. Then submit the main fragment only, so that the identity block of the returned file shows an empty dropped list, which is the easiest condition for a validation script to check, see the file validation guide.
Key points
- A dot in SMILES separates fragments. MFsig computes the fragment with the most heavy atoms and records the rest as dropped.
- A salt written with its counter-ion yields the organic ion, charged, not the neutral parent. Write the neutral species yourself if that is what you need.
- Dropping a counter-ion does not neutralise anything. Protonation is taken as written.
- For ionic liquids and organic counter-ions, submit each ion as its own SMILES and keep the pairing in your records.
- Split fragments in RDKit before submission, so the returned file has nothing dropped and validation is trivial.
Questions people ask
- What happens if I submit a sodium salt such as CC(=O)[O-].[Na+]?
- The acetate fragment has more heavy atoms than the sodium ion, so acetate is computed as an anion and the sodium ion is recorded as dropped in the identity block. If you wanted neutral acetic acid, submit CC(=O)O instead.
- Can I get the σ-profile of both ions of a salt or an ionic liquid?
- Yes, by submitting each ion as its own SMILES. One multi-fragment SMILES yields one computed fragment. Two separate orders give two files, one per ion, and each is a charged species with the usual caveats for charged σ-profiles.
- How do I find out what was dropped?
- Open the identity block of the .mfsig file. It carries the SMILES as written and the fragments that were dropped. Check the exact key names on the anatomy page. A validation script should refuse any file whose dropped list is not what you expected.
Further reading
In practice: A .mfsig file is JSON and reads with the standard library. Ordering is done on the site or through the API described in the docs, and AI agents can read the published samples through the MCP server at /mcp.
Generate a σ-profile from your SMILES
Free converter for a profile you already have, a reference-grade DFT run with its provenance record when it has to be defensible.