Isotope List Editing¶
If you use a custom isotopes.data file, you must recreate the file when upgrading your Marvin application.
MarvinSketch from the Marvin Beans package refers to the same relative path to access the isotopes list.
The following values are in the tab-separated columns:
- Atom number
- Number of neutrons
- Mass (exact mass of the isotope, preferably at least 5 decimal places)
- Abundance (values normalized to the most abundant natural isotope; main isotope - 100.00, artificial isotope - 0)
To add a custom isotope:
- Download and openisotopes.txt orelements.txt.
- Edit (or copy) a line next to the other isotopes of the given atom number. Fill in the other data. Save the file.
- Refresh
isotopes.txtorelements.txt:- Copy the file to the
user_home/chemaxon/ folder - Overwrite
chemaxon/isotopes.txtorchemaxon/elements.txtinside theChemAxon-core.jar.ChemAxon-core.jaris a compressed archive file that you can extract/pack with any zip (un)compressor tool.
- Copy the file to the
Old element and isotopic data:
Obsolete Information for Versions Before 14.7.28¶
All isotopes are listed in the binary file: chemaxon/isotopes.data, a compressed file which stores isotopes.txt in a heavily optimized versioned format.
To add or edit isotopes you can alter isotopes.txt source file found in the build subdirectory of the Marvin package.
To encode source file (isotopes.txt ), use the IsotopeCompiler tool that creates a new copy of isotopes.data from the given source file.
MarvinSketch from the Marvin Beans package refers to the same relative path to access the isotopes list. But, in this case, the path indicates the location of the file inside MarvinBeans.jar (or jchem.jar by JChem package). You can find MarvinBeans.jar in the lib subdirectory of the Marvin Beans package.
The following values are in the tab-separated columns:
- Atom number
- Number of neutrons
- Mass (exact mass of the isotope, preferably at least 5 decimal places)
- Abundance (values normalized to the most abundant natural isotope; main isotope - 100.00, artificial isotope - 0)
To add a custom isotope:
- Open
build/isotopes.txt. - Edit (or copy) a line next to the other isotopes of the given atom number. Fill in the other data. Save the file.
- Regenerate
isotopes.data: enter into the build directory and type the following command:
java -jar isotopescomp.jar isotopes.txt
The output will be isotopes.data in the same directory.
- Refresh
isotopes.dataorelements.zip:
Marvin Beans:
- Copy the file to the
user_home/chemaxon/folder. - Overwrite
chemaxon/isotopes.dataorchemaxon/elements.zipinside thechemaxon-core.jar.Chemaxon-core.jaris a compressed archive file that you can extract/pack with any zip (un)compressor tool.