Package org.biopax.paxtools.pattern.util
Class ChemicalNameNormalizer
java.lang.Object
org.biopax.paxtools.pattern.util.ChemicalNameNormalizer
This class is used for finding a standard name for a small molecule. During detection of
ubiquitous small molecules, we map the duplicated small molecules to one standard name, otherwise
their degree would be divided and this would spoil the detection method.
- Author:
- Ozgun Babur
-
Constructor Summary
ConstructorsConstructorDescriptionChemicalNameNormalizer(Model model) Constructor that also infers all the mapping. -
Method Summary
Modifier and TypeMethodDescriptionGets the standard name of the small molecule.static void
-
Constructor Details
-
ChemicalNameNormalizer
Constructor that also infers all the mapping.- Parameters:
model- the big picture
-
-
Method Details
-
main
- Throws:
FileNotFoundException
-
getName
Gets the standard name of the small molecule.- Parameters:
smr- the molecule to check standard name- Returns:
- standard name
-