rcsb.exdb 1.23__tar.gz → 1.24__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.
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/HISTORY.txt +1 -0
- {rcsb_exdb-1.23/rcsb.exdb.egg-info → rcsb_exdb-1.24}/PKG-INFO +4 -4
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/cli/__init__.py +1 -1
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tree/TreeNodeListWorker.py +25 -7
- {rcsb_exdb-1.23 → rcsb_exdb-1.24/rcsb.exdb.egg-info}/PKG-INFO +4 -4
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb.exdb.egg-info/requires.txt +3 -3
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/requirements.txt +3 -3
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/LICENSE +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/MANIFEST.in +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/README.md +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/branch/BranchedEntityExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/branch/GlycanProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/branch/GlycanUtils.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/branch/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/chemref/ChemRefEtlWorker.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/chemref/ChemRefExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/chemref/ChemRefMappingProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/chemref/PubChemDataCacheProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/chemref/PubChemEtlWrapper.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/chemref/PubChemIndexCacheProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/chemref/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/citation/CitationAdapter.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/citation/CitationExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/citation/CitationUtils.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/citation/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/cli/ExDbExec.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/entry/EntryInfoProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/entry/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/AnnotationExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/LigandNeighborMappingExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/LigandNeighborMappingProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/PolymerEntityExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/ReferenceSequenceAnnotationAdapter.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/ReferenceSequenceAnnotationProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/ReferenceSequenceAssignmentAdapter.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/ReferenceSequenceAssignmentProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/ReferenceSequenceCacheProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/TaxonomyExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/UniProtCoreEtlWorker.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/UniProtExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/seq/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/fixtureDictMethodResourceProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/fixturePdbxLoader.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testAnnotationExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testBranchedEntityExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testChemRefLoader.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testChemRefMappingProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testCitationAdapter.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testCitationExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testCitationUtils.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testEntryInfoEtlWorkflow.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testEntryInfoProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testExDbWorkflow.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testGlycanEtlWorkflow.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testGlycanProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testGlycanUtils.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testLigandNeighborMappingProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testObjectExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testObjectTransformer.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testObjectUpdater.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testPolymerEntityExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testPubChemDataCacheProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testPubChemEtlWorkflow.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testPubChemEtlWrapper.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testPubChemIndexCacheProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testReferenceSequenceAnnotationAdapter.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapter.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testReferenceSequenceAssignmentProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testReferenceSequenceCacheProvider.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testTaxonomyExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testTreeNodeListWorker.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testUniProtCoreEtlWorker.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testUniProtExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tree/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/utils/ObjectAdapterBase.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/utils/ObjectExtractor.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/utils/ObjectTransformer.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/utils/ObjectUpdater.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/utils/ObjectValidator.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/utils/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/wf/EntryInfoEtlWorkflow.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/wf/ExDbWorkflow.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/wf/GlycanEtlWorkflow.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/wf/PubChemEtlWorkflow.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/wf/__init__.py +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb.exdb.egg-info/SOURCES.txt +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb.exdb.egg-info/dependency_links.txt +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb.exdb.egg-info/entry_points.txt +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb.exdb.egg-info/not-zip-safe +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb.exdb.egg-info/top_level.txt +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/setup.cfg +0 -0
- {rcsb_exdb-1.23 → rcsb_exdb-1.24}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rcsb.exdb
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.24
|
|
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
|
|
@@ -28,11 +28,11 @@ Requires-Dist: rcsb.utils.ec>=0.25
|
|
|
28
28
|
Requires-Dist: rcsb.utils.go>=0.18
|
|
29
29
|
Requires-Dist: rcsb.utils.seq>=0.82
|
|
30
30
|
Requires-Dist: rcsb.utils.seqalign>=0.29
|
|
31
|
-
Requires-Dist: rcsb.utils.targets>=0.
|
|
31
|
+
Requires-Dist: rcsb.utils.targets>=0.82
|
|
32
32
|
Requires-Dist: rcsb.utils.struct>=0.47
|
|
33
33
|
Requires-Dist: rcsb.utils.taxonomy>=0.43
|
|
34
|
-
Requires-Dist: rcsb.utils.dictionary>=1.
|
|
35
|
-
Requires-Dist: rcsb.workflow>=0.
|
|
34
|
+
Requires-Dist: rcsb.utils.dictionary>=1.27
|
|
35
|
+
Requires-Dist: rcsb.workflow>=0.45
|
|
36
36
|
Requires-Dist: statistics; python_version < "3.0"
|
|
37
37
|
Provides-Extra: dev
|
|
38
38
|
Requires-Dist: check-manifest; extra == "dev"
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
# 9-Sep-2019 jdw add AtcProvider() and ChemrefExtractor() for ATC tree.
|
|
9
9
|
# 12-Apr-2023 dwp add CARD ontology tree
|
|
10
10
|
# 8-Aug-2023 dwp Load full (unfiltered) taxonomy tree node list, and stop loading GO tree (will be loaded in DW instead)
|
|
11
|
+
# 27-Aug-2024 dwp Update CARD ontology tree loading
|
|
11
12
|
#
|
|
12
13
|
##
|
|
13
14
|
__docformat__ = "google en"
|
|
@@ -181,13 +182,30 @@ class TreeNodeListWorker(object):
|
|
|
181
182
|
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["update_id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
182
183
|
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
183
184
|
# ---- CARD
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
ok
|
|
190
|
-
|
|
185
|
+
okCou = True
|
|
186
|
+
cou = CARDTargetOntologyProvider(cachePath=self.__cachePath, useCache=useCache)
|
|
187
|
+
if not cou.testCache():
|
|
188
|
+
ok = cou.buildOntologyData()
|
|
189
|
+
cou.reload()
|
|
190
|
+
if not (ok and cou.testCache()):
|
|
191
|
+
logger.error("Skipping load of CARD Target Ontology tree data because it is missing.")
|
|
192
|
+
okCou = False
|
|
193
|
+
if okCou:
|
|
194
|
+
nL = cou.getTreeNodeList()
|
|
195
|
+
logger.info("Starting load of CARD ontology node tree length %d", len(nL))
|
|
196
|
+
if doLoad:
|
|
197
|
+
collectionName = "tree_card_node_list"
|
|
198
|
+
ok = dl.load(
|
|
199
|
+
databaseName,
|
|
200
|
+
collectionName,
|
|
201
|
+
loadType=loadType,
|
|
202
|
+
documentList=nL,
|
|
203
|
+
indexAttributeList=["update_id"],
|
|
204
|
+
keyNames=None,
|
|
205
|
+
addValues=addValues,
|
|
206
|
+
schemaLevel=None
|
|
207
|
+
)
|
|
208
|
+
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
191
209
|
# ---- Taxonomy
|
|
192
210
|
tU = TaxonomyProvider(cachePath=self.__cachePath, useCache=useCache)
|
|
193
211
|
if self.__useFilteredLists:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rcsb.exdb
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.24
|
|
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
|
|
@@ -28,11 +28,11 @@ Requires-Dist: rcsb.utils.ec>=0.25
|
|
|
28
28
|
Requires-Dist: rcsb.utils.go>=0.18
|
|
29
29
|
Requires-Dist: rcsb.utils.seq>=0.82
|
|
30
30
|
Requires-Dist: rcsb.utils.seqalign>=0.29
|
|
31
|
-
Requires-Dist: rcsb.utils.targets>=0.
|
|
31
|
+
Requires-Dist: rcsb.utils.targets>=0.82
|
|
32
32
|
Requires-Dist: rcsb.utils.struct>=0.47
|
|
33
33
|
Requires-Dist: rcsb.utils.taxonomy>=0.43
|
|
34
|
-
Requires-Dist: rcsb.utils.dictionary>=1.
|
|
35
|
-
Requires-Dist: rcsb.workflow>=0.
|
|
34
|
+
Requires-Dist: rcsb.utils.dictionary>=1.27
|
|
35
|
+
Requires-Dist: rcsb.workflow>=0.45
|
|
36
36
|
Requires-Dist: statistics; python_version < "3.0"
|
|
37
37
|
Provides-Extra: dev
|
|
38
38
|
Requires-Dist: check-manifest; extra == "dev"
|
|
@@ -11,11 +11,11 @@ rcsb.utils.ec>=0.25
|
|
|
11
11
|
rcsb.utils.go>=0.18
|
|
12
12
|
rcsb.utils.seq>=0.82
|
|
13
13
|
rcsb.utils.seqalign>=0.29
|
|
14
|
-
rcsb.utils.targets>=0.
|
|
14
|
+
rcsb.utils.targets>=0.82
|
|
15
15
|
rcsb.utils.struct>=0.47
|
|
16
16
|
rcsb.utils.taxonomy>=0.43
|
|
17
|
-
rcsb.utils.dictionary>=1.
|
|
18
|
-
rcsb.workflow>=0.
|
|
17
|
+
rcsb.utils.dictionary>=1.27
|
|
18
|
+
rcsb.workflow>=0.45
|
|
19
19
|
|
|
20
20
|
[:python_version < "3.0"]
|
|
21
21
|
statistics
|
|
@@ -12,9 +12,9 @@ rcsb.utils.ec >= 0.25
|
|
|
12
12
|
rcsb.utils.go >= 0.18
|
|
13
13
|
rcsb.utils.seq >= 0.82
|
|
14
14
|
rcsb.utils.seqalign >= 0.29
|
|
15
|
-
rcsb.utils.targets >= 0.
|
|
15
|
+
rcsb.utils.targets >= 0.82
|
|
16
16
|
rcsb.utils.struct >= 0.47
|
|
17
17
|
rcsb.utils.taxonomy >= 0.43
|
|
18
|
-
rcsb.utils.dictionary >= 1.
|
|
19
|
-
rcsb.workflow >= 0.
|
|
18
|
+
rcsb.utils.dictionary >= 1.27
|
|
19
|
+
rcsb.workflow >= 0.45
|
|
20
20
|
statistics; python_version < "3.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py
RENAMED
|
File without changes
|
{rcsb_exdb-1.23 → rcsb_exdb-1.24}/rcsb/exdb/tests/testReferenceSequenceAssignmentProvider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|