All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.actelion.research.chem.contrib.DiastereotopicAtomID Maven / Gradle / Ivy

There is a newer version: 2024.11.2
Show newest version
package com.actelion.research.chem.contrib;


import com.actelion.research.chem.*;

public class DiastereotopicAtomID {

	private static int xAtomicNumber = Molecule.getAtomicNoFromLabel("X", Molecule.cPseudoAtomX);

	public static String[] getAtomIds(StereoMolecule molecule) {
		addMissingChirality(molecule);
		
		int numberAtoms=molecule.getAllAtoms();
		String[] ids=new String[numberAtoms];
		StereoMolecule tempMolecule;
		for (int iAtom=0; iAtom0 and not >1 because there could be unspecified chirality in racemate
			for (int i=0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy