rcsb.exdb 1.25__tar.gz → 1.27__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.25 → rcsb_exdb-1.27}/HISTORY.txt +3 -0
- {rcsb_exdb-1.25/rcsb.exdb.egg-info → rcsb_exdb-1.27}/PKG-INFO +13 -3
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/cli/__init__.py +1 -1
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/PolymerEntityExtractor.py +7 -1
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tree/TreeNodeListWorker.py +10 -9
- {rcsb_exdb-1.25 → rcsb_exdb-1.27/rcsb.exdb.egg-info}/PKG-INFO +13 -3
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb.exdb.egg-info/requires.txt +1 -1
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/requirements.txt +1 -1
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/LICENSE +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/MANIFEST.in +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/README.md +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/branch/BranchedEntityExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/branch/GlycanProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/branch/GlycanUtils.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/branch/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/chemref/ChemRefEtlWorker.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/chemref/ChemRefExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/chemref/ChemRefMappingProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/chemref/PubChemDataCacheProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/chemref/PubChemEtlWrapper.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/chemref/PubChemIndexCacheProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/chemref/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/citation/CitationAdapter.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/citation/CitationExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/citation/CitationUtils.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/citation/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/cli/ExDbExec.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/entry/EntryInfoProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/entry/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/AnnotationExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/LigandNeighborMappingExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/LigandNeighborMappingProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/ReferenceSequenceAnnotationAdapter.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/ReferenceSequenceAnnotationProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/ReferenceSequenceAssignmentAdapter.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/ReferenceSequenceAssignmentProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/ReferenceSequenceCacheProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/TaxonomyExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/UniProtCoreEtlWorker.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/UniProtExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/seq/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/fixtureDictMethodResourceProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/fixturePdbxLoader.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testAnnotationExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testBranchedEntityExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testChemRefLoader.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testChemRefMappingProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testCitationAdapter.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testCitationExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testCitationUtils.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testEntryInfoEtlWorkflow.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testEntryInfoProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testExDbWorkflow.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testGlycanEtlWorkflow.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testGlycanProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testGlycanUtils.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testLigandNeighborMappingProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testObjectExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testObjectTransformer.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testObjectUpdater.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testPolymerEntityExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testPubChemDataCacheProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testPubChemEtlWorkflow.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testPubChemEtlWrapper.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testPubChemIndexCacheProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testReferenceSequenceAnnotationAdapter.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapter.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testReferenceSequenceAssignmentProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testReferenceSequenceCacheProvider.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testTaxonomyExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testTreeNodeListWorker.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testUniProtCoreEtlWorker.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testUniProtExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/tree/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/utils/ObjectAdapterBase.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/utils/ObjectExtractor.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/utils/ObjectTransformer.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/utils/ObjectUpdater.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/utils/ObjectValidator.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/utils/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/wf/EntryInfoEtlWorkflow.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/wf/ExDbWorkflow.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/wf/GlycanEtlWorkflow.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/wf/PubChemEtlWorkflow.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb/exdb/wf/__init__.py +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb.exdb.egg-info/SOURCES.txt +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb.exdb.egg-info/dependency_links.txt +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb.exdb.egg-info/entry_points.txt +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb.exdb.egg-info/not-zip-safe +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/rcsb.exdb.egg-info/top_level.txt +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/setup.cfg +0 -0
- {rcsb_exdb-1.25 → rcsb_exdb-1.27}/setup.py +0 -0
|
@@ -106,3 +106,6 @@
|
|
|
106
106
|
27-Aug-2024 V1.24 Update tree loading for CARD ontology data
|
|
107
107
|
22-Oct-2024 V1.25 Add CLI for CCD image and file generation;
|
|
108
108
|
Update CI/CD to python 3.10
|
|
109
|
+
10-Dec-2024 V1.26 Update PolymerEntityExtractor to sort extracted sequence data;
|
|
110
|
+
Update Azure pipelines to run on latest macOS and ubuntu version
|
|
111
|
+
23-Jan-2025 V1.27 Update TreeNodeListWorker to index 'id' field
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: rcsb.exdb
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.27
|
|
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,7 +28,7 @@ Requires-Dist: rcsb.utils.config>=0.40
|
|
|
28
28
|
Requires-Dist: rcsb.utils.ec>=0.25
|
|
29
29
|
Requires-Dist: rcsb.utils.go>=0.18
|
|
30
30
|
Requires-Dist: rcsb.utils.seq>=0.82
|
|
31
|
-
Requires-Dist: rcsb.utils.seqalign>=0.
|
|
31
|
+
Requires-Dist: rcsb.utils.seqalign>=0.31
|
|
32
32
|
Requires-Dist: rcsb.utils.targets>=0.82
|
|
33
33
|
Requires-Dist: rcsb.utils.struct>=0.47
|
|
34
34
|
Requires-Dist: rcsb.utils.taxonomy>=0.43
|
|
@@ -39,6 +39,16 @@ Provides-Extra: dev
|
|
|
39
39
|
Requires-Dist: check-manifest; extra == "dev"
|
|
40
40
|
Provides-Extra: test
|
|
41
41
|
Requires-Dist: coverage; extra == "test"
|
|
42
|
+
Dynamic: author
|
|
43
|
+
Dynamic: author-email
|
|
44
|
+
Dynamic: classifier
|
|
45
|
+
Dynamic: description
|
|
46
|
+
Dynamic: description-content-type
|
|
47
|
+
Dynamic: home-page
|
|
48
|
+
Dynamic: license
|
|
49
|
+
Dynamic: provides-extra
|
|
50
|
+
Dynamic: requires-dist
|
|
51
|
+
Dynamic: summary
|
|
42
52
|
|
|
43
53
|
# py-rcsb_exdb
|
|
44
54
|
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
#
|
|
8
8
|
# Updates:
|
|
9
9
|
# 9-Jan-2024 dwp Turn off use of uniprot_exdb DB for enriching protein entity details file (data not used)
|
|
10
|
+
# 10-Dec-2024 dwp Sort extracted polymer entity sequence data by entity ID (alphabetically), to ensure consistent
|
|
11
|
+
# ordering between coasts (order of sequence data influences results of mmseqs2 sequence searching)
|
|
10
12
|
#
|
|
11
13
|
##
|
|
12
14
|
__docformat__ = "google en"
|
|
@@ -16,6 +18,7 @@ __license__ = "Apache 2.0"
|
|
|
16
18
|
|
|
17
19
|
import logging
|
|
18
20
|
import os
|
|
21
|
+
from collections import OrderedDict
|
|
19
22
|
|
|
20
23
|
from rcsb.exdb.utils.ObjectExtractor import ObjectExtractor
|
|
21
24
|
from rcsb.utils.io.MarshalUtil import MarshalUtil
|
|
@@ -175,9 +178,12 @@ class PolymerEntityExtractor(object):
|
|
|
175
178
|
pass
|
|
176
179
|
rD[rId] = {"alignmentL": uDL, "sourceOrgL": sL, "partCount": partCount, "taxCount": taxCount, "sequence": seqS, "seqLen": seqLen}
|
|
177
180
|
|
|
181
|
+
# Sort the dict in alphabetical order (by entity ID key) to ensure consistent/reproducible treatment by mmseqs2
|
|
182
|
+
sortedD = OrderedDict((k, rD.pop(k)) for k in sorted(rD))
|
|
183
|
+
|
|
178
184
|
except Exception as e:
|
|
179
185
|
logger.exception("Failing with %s", str(e))
|
|
180
|
-
return
|
|
186
|
+
return sortedD, missingSrcD
|
|
181
187
|
|
|
182
188
|
def __getSourcePart(self, entityId, sourceOrgL, entityBeg, seqLen):
|
|
183
189
|
"""Return the source part containing the input entity range -
|
|
@@ -9,6 +9,7 @@
|
|
|
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
11
|
# 27-Aug-2024 dwp Update CARD ontology tree loading
|
|
12
|
+
# 23-Jan-2025 dwp Change indexed field from 'update_id' to 'id'
|
|
12
13
|
#
|
|
13
14
|
##
|
|
14
15
|
__docformat__ = "google en"
|
|
@@ -138,7 +139,7 @@ class TreeNodeListWorker(object):
|
|
|
138
139
|
# logger.info("GO tree node list length %d", len(nL))
|
|
139
140
|
# if doLoad:
|
|
140
141
|
# collectionName = "tree_go_node_list"
|
|
141
|
-
# ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["
|
|
142
|
+
# ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
142
143
|
# self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
143
144
|
#
|
|
144
145
|
# ---- CATH
|
|
@@ -147,7 +148,7 @@ class TreeNodeListWorker(object):
|
|
|
147
148
|
logger.info("Starting load SCOP node tree length %d", len(nL))
|
|
148
149
|
if doLoad:
|
|
149
150
|
collectionName = "tree_cath_node_list"
|
|
150
|
-
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["
|
|
151
|
+
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
151
152
|
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
152
153
|
# ---- SCOP
|
|
153
154
|
scu = ScopClassificationProvider(cachePath=self.__cachePath, useCache=useCache)
|
|
@@ -155,7 +156,7 @@ class TreeNodeListWorker(object):
|
|
|
155
156
|
logger.info("Starting load SCOP node tree length %d", len(nL))
|
|
156
157
|
if doLoad:
|
|
157
158
|
collectionName = "tree_scop_node_list"
|
|
158
|
-
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["
|
|
159
|
+
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
159
160
|
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
160
161
|
# --- SCOP2
|
|
161
162
|
scu = Scop2ClassificationProvider(cachePath=self.__cachePath, useCache=useCache)
|
|
@@ -163,7 +164,7 @@ class TreeNodeListWorker(object):
|
|
|
163
164
|
logger.info("Starting load SCOP2 node tree length %d", len(nL))
|
|
164
165
|
if doLoad:
|
|
165
166
|
collectionName = "tree_scop2_node_list"
|
|
166
|
-
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["
|
|
167
|
+
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
167
168
|
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
168
169
|
# ---- Ecod
|
|
169
170
|
ecu = EcodClassificationProvider(cachePath=self.__cachePath, useCache=useCache)
|
|
@@ -171,7 +172,7 @@ class TreeNodeListWorker(object):
|
|
|
171
172
|
logger.info("Starting load ECOD node tree length %d", len(nL))
|
|
172
173
|
if doLoad:
|
|
173
174
|
collectionName = "tree_ecod_node_list"
|
|
174
|
-
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["
|
|
175
|
+
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
175
176
|
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
176
177
|
# ---- EC
|
|
177
178
|
edbu = EnzymeDatabaseProvider(cachePath=self.__cachePath, useCache=useCache)
|
|
@@ -179,7 +180,7 @@ class TreeNodeListWorker(object):
|
|
|
179
180
|
logger.info("Starting load of EC node tree length %d", len(nL))
|
|
180
181
|
if doLoad:
|
|
181
182
|
collectionName = "tree_ec_node_list"
|
|
182
|
-
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["
|
|
183
|
+
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
183
184
|
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
184
185
|
# ---- CARD
|
|
185
186
|
okCou = True
|
|
@@ -200,7 +201,7 @@ class TreeNodeListWorker(object):
|
|
|
200
201
|
collectionName,
|
|
201
202
|
loadType=loadType,
|
|
202
203
|
documentList=nL,
|
|
203
|
-
indexAttributeList=["
|
|
204
|
+
indexAttributeList=["id"],
|
|
204
205
|
keyNames=None,
|
|
205
206
|
addValues=addValues,
|
|
206
207
|
schemaLevel=None
|
|
@@ -229,7 +230,7 @@ class TreeNodeListWorker(object):
|
|
|
229
230
|
if doLoad:
|
|
230
231
|
collectionName = "tree_taxonomy_node_list"
|
|
231
232
|
logger.debug("Taxonomy nodes (%d) %r", len(nL), nL[:5])
|
|
232
|
-
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["
|
|
233
|
+
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
233
234
|
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
234
235
|
logger.info("Tree loading operations completed.")
|
|
235
236
|
#
|
|
@@ -241,7 +242,7 @@ class TreeNodeListWorker(object):
|
|
|
241
242
|
nL = atcP.getTreeNodeList(filterD=atcFilterD)
|
|
242
243
|
collectionName = "tree_atc_node_list"
|
|
243
244
|
logger.debug("ATC node list length %d %r", len(nL), nL[:5])
|
|
244
|
-
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["
|
|
245
|
+
ok = dl.load(databaseName, collectionName, loadType=loadType, documentList=nL, indexAttributeList=["id"], keyNames=None, addValues=addValues, schemaLevel=None)
|
|
245
246
|
self.__updateStatus(updateId, databaseName, collectionName, ok, statusStartTimestamp)
|
|
246
247
|
#
|
|
247
248
|
# ---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: rcsb.exdb
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.27
|
|
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,7 +28,7 @@ Requires-Dist: rcsb.utils.config>=0.40
|
|
|
28
28
|
Requires-Dist: rcsb.utils.ec>=0.25
|
|
29
29
|
Requires-Dist: rcsb.utils.go>=0.18
|
|
30
30
|
Requires-Dist: rcsb.utils.seq>=0.82
|
|
31
|
-
Requires-Dist: rcsb.utils.seqalign>=0.
|
|
31
|
+
Requires-Dist: rcsb.utils.seqalign>=0.31
|
|
32
32
|
Requires-Dist: rcsb.utils.targets>=0.82
|
|
33
33
|
Requires-Dist: rcsb.utils.struct>=0.47
|
|
34
34
|
Requires-Dist: rcsb.utils.taxonomy>=0.43
|
|
@@ -39,6 +39,16 @@ Provides-Extra: dev
|
|
|
39
39
|
Requires-Dist: check-manifest; extra == "dev"
|
|
40
40
|
Provides-Extra: test
|
|
41
41
|
Requires-Dist: coverage; extra == "test"
|
|
42
|
+
Dynamic: author
|
|
43
|
+
Dynamic: author-email
|
|
44
|
+
Dynamic: classifier
|
|
45
|
+
Dynamic: description
|
|
46
|
+
Dynamic: description-content-type
|
|
47
|
+
Dynamic: home-page
|
|
48
|
+
Dynamic: license
|
|
49
|
+
Dynamic: provides-extra
|
|
50
|
+
Dynamic: requires-dist
|
|
51
|
+
Dynamic: summary
|
|
42
52
|
|
|
43
53
|
# py-rcsb_exdb
|
|
44
54
|
|
|
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.25 → rcsb_exdb-1.27}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py
RENAMED
|
File without changes
|
{rcsb_exdb-1.25 → rcsb_exdb-1.27}/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
|