rcsb.exdb 0.95__tar.gz → 0.96__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/HISTORY.txt +2 -1
  2. {rcsb.exdb-0.95/rcsb.exdb.egg-info → rcsb.exdb-0.96}/PKG-INFO +1 -1
  3. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/cli/__init__.py +1 -1
  4. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tree/TreeNodeListWorker.py +11 -1
  5. {rcsb.exdb-0.95 → rcsb.exdb-0.96/rcsb.exdb.egg-info}/PKG-INFO +1 -1
  6. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/LICENSE +0 -0
  7. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/MANIFEST.in +0 -0
  8. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/README.md +0 -0
  9. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/__init__.py +0 -0
  10. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/__init__.py +0 -0
  11. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/branch/BranchedEntityExtractor.py +0 -0
  12. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/branch/GlycanProvider.py +0 -0
  13. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/branch/GlycanUtils.py +0 -0
  14. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/branch/__init__.py +0 -0
  15. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/ChemRefEtlWorker.py +0 -0
  16. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/ChemRefExtractor.py +0 -0
  17. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/ChemRefMappingProvider.py +0 -0
  18. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/PubChemDataCacheProvider.py +0 -0
  19. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/PubChemEtlWrapper.py +0 -0
  20. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/PubChemIndexCacheProvider.py +0 -0
  21. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/__init__.py +0 -0
  22. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/citation/CitationAdapter.py +0 -0
  23. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/citation/CitationExtractor.py +0 -0
  24. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/citation/CitationUtils.py +0 -0
  25. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/citation/__init__.py +0 -0
  26. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/cli/ExDbExec.py +0 -0
  27. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/entry/EntryInfoProvider.py +0 -0
  28. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/entry/__init__.py +0 -0
  29. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/AnnotationExtractor.py +0 -0
  30. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/LigandNeighborMappingExtractor.py +0 -0
  31. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/LigandNeighborMappingProvider.py +0 -0
  32. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/PolymerEntityExtractor.py +0 -0
  33. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceAnnotationAdapter.py +0 -0
  34. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceAnnotationProvider.py +0 -0
  35. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceAssignmentAdapter.py +0 -0
  36. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceAssignmentProvider.py +0 -0
  37. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceCacheProvider.py +0 -0
  38. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/TaxonomyExtractor.py +0 -0
  39. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/UniProtCoreEtlWorker.py +0 -0
  40. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/UniProtExtractor.py +0 -0
  41. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/__init__.py +0 -0
  42. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/__init__.py +0 -0
  43. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/fixtureDictMethodResourceProvider.py +0 -0
  44. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/fixturePdbxLoader.py +0 -0
  45. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testAnnotationExtractor.py +0 -0
  46. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testBranchedEntityExtractor.py +0 -0
  47. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testChemRefLoader.py +0 -0
  48. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testChemRefMappingProvider.py +0 -0
  49. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testCitationAdapter.py +0 -0
  50. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testCitationExtractor.py +0 -0
  51. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testCitationUtils.py +0 -0
  52. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testEntryInfoEtlWorkflow.py +0 -0
  53. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testEntryInfoProvider.py +0 -0
  54. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testExDbWorkflow.py +0 -0
  55. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testGlycanEtlWorkflow.py +0 -0
  56. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testGlycanProvider.py +0 -0
  57. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testGlycanUtils.py +0 -0
  58. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testLigandNeighborMappingProvider.py +0 -0
  59. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testObjectExtractor.py +0 -0
  60. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testObjectTransformer.py +0 -0
  61. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testObjectUpdater.py +0 -0
  62. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPolymerEntityExtractor.py +0 -0
  63. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPubChemDataCacheProvider.py +0 -0
  64. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPubChemEtlWorkflow.py +0 -0
  65. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPubChemEtlWrapper.py +0 -0
  66. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPubChemIndexCacheProvider.py +0 -0
  67. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAnnotationAdapter.py +0 -0
  68. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapter.py +0 -0
  69. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py +0 -0
  70. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAssignmentProvider.py +0 -0
  71. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceCacheProvider.py +0 -0
  72. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testTaxonomyExtractor.py +0 -0
  73. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testTreeNodeListWorker.py +0 -0
  74. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testUniProtCoreEtlWorker.py +0 -0
  75. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testUniProtExtractor.py +0 -0
  76. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tree/__init__.py +0 -0
  77. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectAdapterBase.py +0 -0
  78. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectExtractor.py +0 -0
  79. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectTransformer.py +0 -0
  80. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectUpdater.py +0 -0
  81. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectValidator.py +0 -0
  82. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/__init__.py +0 -0
  83. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/EntryInfoEtlWorkflow.py +0 -0
  84. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/ExDbWorkflow.py +0 -0
  85. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/GlycanEtlWorkflow.py +0 -0
  86. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/PubChemEtlWorkflow.py +0 -0
  87. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/__init__.py +0 -0
  88. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/SOURCES.txt +0 -0
  89. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/dependency_links.txt +0 -0
  90. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/entry_points.txt +0 -0
  91. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/not-zip-safe +0 -0
  92. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/requires.txt +0 -0
  93. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/top_level.txt +0 -0
  94. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/requirements.txt +0 -0
  95. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/setup.cfg +0 -0
  96. {rcsb.exdb-0.95 → rcsb.exdb-0.96}/setup.py +0 -0
@@ -88,4 +88,5 @@
88
88
  9-Jan-2023 V0.93 Configuration changes to support tox 4
89
89
  9-Mar-2023 V0.94 Update ExDbWorkflow to make use of multiple processors for 'upd_ref_seq' operation;
90
90
  Lower refChunkSize to 10 for requests to UniProt API
91
- 13-Mar-2023 V0.95 Updates to PubChem workflow to use multiprocess count, disable git stash testing, remove obsolete entries from test data
91
+ 13-Mar-2023 V0.95 Updates to PubChem workflow to use multiprocess count, disable git stash testing, remove obsolete entries from test data
92
+ 12-Apr-2023 V0.96 Add CARD ontology data to tree builder
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rcsb.exdb
3
- Version: 0.95
3
+ Version: 0.96
4
4
  Summary: RCSB Python ExDB data extraction and loading workflows
5
5
  Home-page: https://github.com/rcsb/py-rcsb_exdb
6
6
  Author: John Westbrook
@@ -2,4 +2,4 @@ __docformat__ = "google en"
2
2
  __author__ = "John Westbrook"
3
3
  __email__ = "john.westbrook@rcsb.org"
4
4
  __license__ = "Apache 2.0"
5
- __version__ = "0.95"
5
+ __version__ = "0.96"
@@ -6,7 +6,8 @@
6
6
  #
7
7
  # Updates:
8
8
  # 9-Sep-2019 jdw add AtcProvider() and ChemrefExtractor() for ATC tree.
9
- # JDW TODO TEST
9
+ # 12-Apr-2023 dwp add CARD ontology tree
10
+ #
10
11
  ##
11
12
  __docformat__ = "google en"
12
13
  __author__ = "John Westbrook"
@@ -23,6 +24,7 @@ from rcsb.exdb.seq.AnnotationExtractor import AnnotationExtractor
23
24
  from rcsb.exdb.seq.TaxonomyExtractor import TaxonomyExtractor
24
25
  from rcsb.utils.chemref.AtcProvider import AtcProvider
25
26
  from rcsb.utils.ec.EnzymeDatabaseProvider import EnzymeDatabaseProvider
27
+ from rcsb.utils.targets.CARDTargetOntologyProvider import CARDTargetOntologyProvider
26
28
  from rcsb.utils.go.GeneOntologyProvider import GeneOntologyProvider
27
29
  from rcsb.utils.struct.CathClassificationProvider import CathClassificationProvider
28
30
  from rcsb.utils.struct.EcodClassificationProvider import EcodClassificationProvider
@@ -172,6 +174,14 @@ class TreeNodeListWorker(object):
172
174
  collectionName = "tree_ec_node_list"
173
175
  ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["update_id"], keyNames=None, addValues=addValues, schemaLevel=None)
174
176
  self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
177
+ # ---- CARD
178
+ cou = CARDTargetOntologyProvider(cachePath=self.__cachePath, useCache=False)
179
+ nL = cou.getTreeNodeList()
180
+ logger.info("Starting load of EC node tree length %d", len(nL))
181
+ if doLoad:
182
+ collectionName = "tree_card_node_list"
183
+ ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["update_id"], keyNames=None, addValues=addValues, schemaLevel=None)
184
+ self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
175
185
  # ---- Taxonomy
176
186
  # Get the taxon coverage in the current data set -
177
187
  epe = TaxonomyExtractor(self.__cfgOb)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rcsb.exdb
3
- Version: 0.95
3
+ Version: 0.96
4
4
  Summary: RCSB Python ExDB data extraction and loading workflows
5
5
  Home-page: https://github.com/rcsb/py-rcsb_exdb
6
6
  Author: John Westbrook
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes