You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why different default ChemCompProviders for different parsers? #169
The short answer is that the PDB parser is set up to quickly get going and the mmCif parser to support a full and chemically correct representation of all compounds.
The long answer is that all ChemCompProviders have strengths and weaknesses and there is not a single one which is best. Each of them serves different purposes:
The AllChemCompProvider loads all definitions of compounds into memory at startup. This initial loading is slow and is not ideal when working with single PDB entries. As such the DownloadChemCompProvider was written, which offers a quick startup and downloads missing defitions on demand. However it requires a working network connection and overall performance is much slower when working with large sets of PDBs. Finally the ReducedChemCompProvider offers a quick startup time, while not requiring a network connection. The cost for this is that it does not offer a full chemically correct representation of all the data.
Activity
andreasprlic commentedon Sep 17, 2014
The short answer is that the PDB parser is set up to quickly get going and the mmCif parser to support a full and chemically correct representation of all compounds.
The long answer is that all
ChemCompProvidershave strengths and weaknesses and there is not a single one which is best. Each of them serves different purposes:The
AllChemCompProviderloads all definitions of compounds into memory at startup. This initial loading is slow and is not ideal when working with single PDB entries. As such theDownloadChemCompProviderwas written, which offers a quick startup and downloads missing defitions on demand. However it requires a working network connection and overall performance is much slower when working with large sets of PDBs. Finally theReducedChemCompProvideroffers a quick startup time, while not requiring a network connection. The cost for this is that it does not offer a full chemically correct representation of all the data.