public class StructureParserOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StructureParserOptions.Setting
Settings that can be passed to the Options.
|
| Constructor and Description |
|---|
StructureParserOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectHydrogens(boolean connectHydrogens)
Setting this option to
true will try to connect hydrogen atom tho their respective partners.Default value: false |
void |
createEdges(boolean createEdges)
Setting this option true will connect the molecule with bonds.
|
void |
heteroAtoms(boolean heteroAtoms) |
void |
inferIdentifierFromFileName(boolean inferIdentifierFromFileName)
Setting this option to
true will try parse any pdb identifier from the file name. |
void |
inferTitleFromFileName(boolean inferTitleFromFileName)
Setting this option to
true will set the title of the structure to the file name. |
boolean |
isConnectingHydrogens()
Setting this option to
true will try to connect hydrogen atom tho their respective partners.Default value: false |
boolean |
isCreatingEdges()
Setting this option true will connect the molecule with bonds.
|
boolean |
isHeteroAtoms() |
boolean |
isInferringIdentifierFromFileName()
Setting this option to
true will try parse any pdb identifier from the file name. |
boolean |
isInferringTitleFromFileName()
Setting this option to
true will set the title of the structure to the file name. |
boolean |
isOmittingHydrogen()
Setting this option to
true will omit all hydrogen (and eventually deuterium) atoms in amino acids and
nucleotides. |
boolean |
isRetrievingLigandInformation()
Setting this option to
true will retrieve additional information from cif files from the PDB. |
void |
omitHydrogens(boolean omitHydrogens)
Setting this option to
true will omit all hydrogen (and eventually deuterium) atoms in amino acids and
nucleotides. |
void |
retrieveLigandInformation(boolean retrieveLigandInformation)
Setting this option to
true will retrieve additional information from cif files from the PDB. |
static StructureParserOptions |
withSettings(StructureParserOptions.Setting... settings)
Create a new Options object using enum constants.
|
public static StructureParserOptions withSettings(StructureParserOptions.Setting... settings)
settings - The settings.public void heteroAtoms(boolean heteroAtoms)
public boolean isHeteroAtoms()
public boolean isCreatingEdges()
false will result in
faster parsing, if those information are not strictly required.truepublic void createEdges(boolean createEdges)
false will result in
faster parsing, if those information are not strictly required.truecreateEdges - true to turn this option on, false to turn it off.public boolean isRetrievingLigandInformation()
true will retrieve additional information from cif files from the PDB. This
enables the detection modified amino acids and nucleotides als well as the retrieval of additional information
for ligands and the connection of ligand atoms. Turning the option false will result in faster parsing,
if those information are not strictly required.truepublic void retrieveLigandInformation(boolean retrieveLigandInformation)
true will retrieve additional information from cif files from the PDB. This
enables the detection modified amino acids and nucleotides als well as the retrieval of additional information
for ligands and the connection of ligand atoms. Turning the option false will result in faster parsing,
if those information are not strictly required.trueretrieveLigandInformation - true to turn this option on, false to turn it off.public boolean isConnectingHydrogens()
true will try to connect hydrogen atom tho their respective partners.falsepublic void connectHydrogens(boolean connectHydrogens)
true will try to connect hydrogen atom tho their respective partners.falseconnectHydrogens - true to turn this option on, false to turn it off.public boolean isOmittingHydrogen()
true will omit all hydrogen (and eventually deuterium) atoms in amino acids and
nucleotides. Default value: falsetrue to turn this option on, false to turn it off.public void omitHydrogens(boolean omitHydrogens)
true will omit all hydrogen (and eventually deuterium) atoms in amino acids and
nucleotides. Default value: falseomitHydrogens - true to turn this option on, false to turn it off.public boolean isInferringTitleFromFileName()
true will set the title of the structure to the file name. Default value: falsetrue to turn this option on, false to turn it off.public void inferTitleFromFileName(boolean inferTitleFromFileName)
true will set the title of the structure to the file name. Default value: falseinferTitleFromFileName - true to turn this option on, false to turn it off.public boolean isInferringIdentifierFromFileName()
true will try parse any pdb identifier from the file name. Default value: falsetrue to turn this option on, false to turn it off.public void inferIdentifierFromFileName(boolean inferIdentifierFromFileName)
true will try parse any pdb identifier from the file name. Default value: falseinferIdentifierFromFileName - true to turn this option on, false to turn it off.Copyright © 2018. All rights reserved.