rcsb.exdb 1.21__tar.gz → 1.23__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.21 → rcsb_exdb-1.23}/HISTORY.txt +2 -0
- {rcsb_exdb-1.21/rcsb.exdb.egg-info → rcsb_exdb-1.23}/PKG-INFO +8 -6
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/cli/ExDbExec.py +13 -2
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/cli/__init__.py +1 -1
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/LigandNeighborMappingExtractor.py +3 -3
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/LigandNeighborMappingProvider.py +1 -1
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testLigandNeighborMappingProvider.py +2 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testObjectExtractor.py +1 -1
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/wf/ExDbWorkflow.py +25 -3
- {rcsb_exdb-1.21 → rcsb_exdb-1.23/rcsb.exdb.egg-info}/PKG-INFO +8 -6
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb.exdb.egg-info/requires.txt +7 -5
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/requirements.txt +7 -5
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/LICENSE +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/MANIFEST.in +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/README.md +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/branch/BranchedEntityExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/branch/GlycanProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/branch/GlycanUtils.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/branch/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/chemref/ChemRefEtlWorker.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/chemref/ChemRefExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/chemref/ChemRefMappingProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/chemref/PubChemDataCacheProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/chemref/PubChemEtlWrapper.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/chemref/PubChemIndexCacheProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/chemref/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/citation/CitationAdapter.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/citation/CitationExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/citation/CitationUtils.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/citation/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/entry/EntryInfoProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/entry/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/AnnotationExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/PolymerEntityExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/ReferenceSequenceAnnotationAdapter.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/ReferenceSequenceAnnotationProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/ReferenceSequenceAssignmentAdapter.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/ReferenceSequenceAssignmentProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/ReferenceSequenceCacheProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/TaxonomyExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/UniProtCoreEtlWorker.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/UniProtExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/seq/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/fixtureDictMethodResourceProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/fixturePdbxLoader.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testAnnotationExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testBranchedEntityExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testChemRefLoader.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testChemRefMappingProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testCitationAdapter.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testCitationExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testCitationUtils.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testEntryInfoEtlWorkflow.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testEntryInfoProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testExDbWorkflow.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testGlycanEtlWorkflow.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testGlycanProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testGlycanUtils.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testObjectTransformer.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testObjectUpdater.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testPolymerEntityExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testPubChemDataCacheProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testPubChemEtlWorkflow.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testPubChemEtlWrapper.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testPubChemIndexCacheProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testReferenceSequenceAnnotationAdapter.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapter.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testReferenceSequenceAssignmentProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testReferenceSequenceCacheProvider.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testTaxonomyExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testTreeNodeListWorker.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testUniProtCoreEtlWorker.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testUniProtExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tree/TreeNodeListWorker.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tree/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/utils/ObjectAdapterBase.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/utils/ObjectExtractor.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/utils/ObjectTransformer.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/utils/ObjectUpdater.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/utils/ObjectValidator.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/utils/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/wf/EntryInfoEtlWorkflow.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/wf/GlycanEtlWorkflow.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/wf/PubChemEtlWorkflow.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/wf/__init__.py +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb.exdb.egg-info/SOURCES.txt +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb.exdb.egg-info/dependency_links.txt +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb.exdb.egg-info/entry_points.txt +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb.exdb.egg-info/not-zip-safe +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb.exdb.egg-info/top_level.txt +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/setup.cfg +0 -0
- {rcsb_exdb-1.21 → rcsb_exdb-1.23}/setup.py +0 -0
|
@@ -101,3 +101,5 @@
|
|
|
101
101
|
Update unit tests and setuptools config
|
|
102
102
|
9-May-2024 V1.2 Adjust provider type exclusion input to accept a list of types
|
|
103
103
|
13-May-2024 V1.21 Update requirements; fix linting
|
|
104
|
+
17-Jul-2024 V1.22 Adjust LigandNeighborMappingExtractor
|
|
105
|
+
20-Aug-2024 V1.23 Add support for target cofactor data loading
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rcsb.exdb
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.23
|
|
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
|
|
@@ -18,19 +18,21 @@ License-File: LICENSE
|
|
|
18
18
|
Requires-Dist: OpenEye-toolkits>=2020.2.2
|
|
19
19
|
Requires-Dist: numpy
|
|
20
20
|
Requires-Dist: jsonschema>=2.6.0
|
|
21
|
-
Requires-Dist: rcsb.utils.io>=1.
|
|
22
|
-
Requires-Dist: rcsb.db>=1.
|
|
21
|
+
Requires-Dist: rcsb.utils.io>=1.48
|
|
22
|
+
Requires-Dist: rcsb.db>=1.723
|
|
23
23
|
Requires-Dist: rcsb.utils.chem>=0.79
|
|
24
24
|
Requires-Dist: rcsb.utils.chemref>=0.91
|
|
25
25
|
Requires-Dist: rcsb.utils.citation>=0.22
|
|
26
26
|
Requires-Dist: rcsb.utils.config>=0.40
|
|
27
27
|
Requires-Dist: rcsb.utils.ec>=0.25
|
|
28
28
|
Requires-Dist: rcsb.utils.go>=0.18
|
|
29
|
-
Requires-Dist: rcsb.utils.seq>=0.
|
|
29
|
+
Requires-Dist: rcsb.utils.seq>=0.82
|
|
30
|
+
Requires-Dist: rcsb.utils.seqalign>=0.29
|
|
31
|
+
Requires-Dist: rcsb.utils.targets>=0.80
|
|
30
32
|
Requires-Dist: rcsb.utils.struct>=0.47
|
|
31
33
|
Requires-Dist: rcsb.utils.taxonomy>=0.43
|
|
32
|
-
Requires-Dist: rcsb.utils.dictionary>=1.
|
|
33
|
-
Requires-Dist: rcsb.workflow>=0.
|
|
34
|
+
Requires-Dist: rcsb.utils.dictionary>=1.26
|
|
35
|
+
Requires-Dist: rcsb.workflow>=0.44
|
|
34
36
|
Requires-Dist: statistics; python_version < "3.0"
|
|
35
37
|
Provides-Extra: dev
|
|
36
38
|
Requires-Dist: check-manifest; extra == "dev"
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
# 9-Mar-2023 dwp Lower refChunkSize to 10 (UniProt API having trouble streaming XML responses)
|
|
11
11
|
# 25-Apr-2024 dwp Add arguments and logic to support CLI usage from weekly-update workflow;
|
|
12
12
|
# Add support for logging output to a specific file
|
|
13
|
+
# 20-Aug-2024 dwp Add load_target_cofactors operation; change name of upd_targets_cofactors to upd_targets
|
|
13
14
|
##
|
|
14
15
|
__docformat__ = "google en"
|
|
15
16
|
__author__ = "John Westbrook"
|
|
@@ -46,7 +47,8 @@ def main():
|
|
|
46
47
|
"upd_ref_seq", # Update reference sequence assignments
|
|
47
48
|
"upd_neighbor_interactions",
|
|
48
49
|
"upd_uniprot_taxonomy",
|
|
49
|
-
"
|
|
50
|
+
"upd_targets",
|
|
51
|
+
"load_target_cofactors",
|
|
50
52
|
"upd_pubchem",
|
|
51
53
|
"upd_entry_info",
|
|
52
54
|
"upd_glycan_idx",
|
|
@@ -108,7 +110,16 @@ def main():
|
|
|
108
110
|
exWf = ExDbWorkflow(**commonD)
|
|
109
111
|
if op in ["etl_chemref", "etl_uniprot_core", "etl_tree_node_lists", "upd_ref_seq"]:
|
|
110
112
|
okR = exWf.load(op, **loadD)
|
|
111
|
-
elif op in [
|
|
113
|
+
elif op in [
|
|
114
|
+
"upd_neighbor_interactions",
|
|
115
|
+
"upd_uniprot_taxonomy",
|
|
116
|
+
"upd_targets",
|
|
117
|
+
"load_target_cofactors",
|
|
118
|
+
"upd_pubchem",
|
|
119
|
+
"upd_entry_info",
|
|
120
|
+
"upd_glycan_idx",
|
|
121
|
+
"upd_resource_stash",
|
|
122
|
+
]:
|
|
112
123
|
okR = exWf.buildExdbResource(op, **loadD)
|
|
113
124
|
else:
|
|
114
125
|
logger.error("Unsupported op %r", op)
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
# Utilities to extract ligand neighbor mapping details from the exchange collections.
|
|
6
6
|
#
|
|
7
7
|
# Updates:
|
|
8
|
+
# 17-Jul-2024 dwp Stop fetching and including rcsb_ligand_neighbors.ligand_is_bound, since no longer populating that field
|
|
8
9
|
#
|
|
9
10
|
##
|
|
10
11
|
__docformat__ = "google en"
|
|
@@ -58,7 +59,6 @@ class LigandNeighborMappingExtractor(object):
|
|
|
58
59
|
"rcsb_polymer_entity_instance_container_identifiers.entity_id",
|
|
59
60
|
"rcsb_polymer_entity_instance_container_identifiers.asym_id",
|
|
60
61
|
"rcsb_ligand_neighbors.ligand_comp_id",
|
|
61
|
-
"rcsb_ligand_neighbors.ligand_is_bound",
|
|
62
62
|
],
|
|
63
63
|
)
|
|
64
64
|
eCount = obEx.getCount()
|
|
@@ -71,8 +71,8 @@ class LigandNeighborMappingExtractor(object):
|
|
|
71
71
|
entityId = peiD["rcsb_polymer_entity_instance_container_identifiers"]["entity_id"]
|
|
72
72
|
ky = entryId + "_" + entityId
|
|
73
73
|
for lnD in peiD["rcsb_ligand_neighbors"] if "rcsb_ligand_neighbors" in peiD else []:
|
|
74
|
-
if "ligand_comp_id" in lnD
|
|
75
|
-
rD.setdefault(ky, set()).add(
|
|
74
|
+
if "ligand_comp_id" in lnD:
|
|
75
|
+
rD.setdefault(ky, set()).add(lnD["ligand_comp_id"])
|
|
76
76
|
else:
|
|
77
77
|
logger.warning("%s %s missing details lnD %r", entryId, entityId, lnD)
|
|
78
78
|
except Exception as e:
|
|
@@ -56,7 +56,7 @@ class LigandNeighborMappingProvider(StashableBase):
|
|
|
56
56
|
list: [chem_comp_id, ... ]
|
|
57
57
|
"""
|
|
58
58
|
try:
|
|
59
|
-
return list(set([t
|
|
59
|
+
return list(set([t for t in self.__mapD["mapping"][rcsbEntityId.upper()]]))
|
|
60
60
|
except Exception:
|
|
61
61
|
return []
|
|
62
62
|
|
|
@@ -69,7 +69,9 @@ class LigandNeighborMappingProviderTests(unittest.TestCase):
|
|
|
69
69
|
ok = crmP.testCache(minCount=2)
|
|
70
70
|
self.assertTrue(ok)
|
|
71
71
|
nL = crmP.getLigandNeighbors("3VFJ_2")
|
|
72
|
+
logger.info("ligand neighbor list nL %r", nL)
|
|
72
73
|
self.assertGreaterEqual(len(nL), 4)
|
|
74
|
+
self.assertGreater(len(nL[0]), 1)
|
|
73
75
|
#
|
|
74
76
|
except Exception as e:
|
|
75
77
|
logger.exception("Failing with %s", str(e))
|
|
@@ -102,7 +102,7 @@ class ObjectExtractorTests(unittest.TestCase):
|
|
|
102
102
|
"""Test case - extract entries subject to date restriction"""
|
|
103
103
|
try:
|
|
104
104
|
tU = TimeUtil()
|
|
105
|
-
tS = tU.getTimestamp(useUtc=True, before={"days": 365 *
|
|
105
|
+
tS = tU.getTimestamp(useUtc=True, before={"days": 365 * 7})
|
|
106
106
|
tD = tU.getDateTimeObj(tS)
|
|
107
107
|
obEx = ObjectExtractor(
|
|
108
108
|
self.__cfgOb,
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
# 2-Mar-2023 dwp Add "numProc" parameter to 'upd_ref_seq' operation methods
|
|
9
9
|
# 9-Mar-2023 dwp Lower refChunkSize to 10 (UniProt API having trouble streaming XML responses)
|
|
10
10
|
# 25-Apr-2024 dwp Add arguments and methods to support CLI usage from weekly-update workflow
|
|
11
|
+
# 20-Aug-2024 dwp Add LoadTargetCofactors step; change name of UpdateTargetsCofactors step to UpdateTargetsData
|
|
11
12
|
##
|
|
12
13
|
__docformat__ = "google en"
|
|
13
14
|
__author__ = "John Westbrook"
|
|
@@ -274,7 +275,16 @@ class ExDbWorkflow(object):
|
|
|
274
275
|
logger.info("Starting operation %r\n", op)
|
|
275
276
|
#
|
|
276
277
|
# argument processing
|
|
277
|
-
if op not in [
|
|
278
|
+
if op not in [
|
|
279
|
+
"upd_neighbor_interactions",
|
|
280
|
+
"upd_uniprot_taxonomy",
|
|
281
|
+
"upd_targets",
|
|
282
|
+
"load_target_cofactors",
|
|
283
|
+
"upd_pubchem",
|
|
284
|
+
"upd_entry_info",
|
|
285
|
+
"upd_glycan_idx",
|
|
286
|
+
"upd_resource_stash",
|
|
287
|
+
]:
|
|
278
288
|
logger.error("Unsupported operation %r - exiting", op)
|
|
279
289
|
return False
|
|
280
290
|
try:
|
|
@@ -324,8 +334,8 @@ class ExDbWorkflow(object):
|
|
|
324
334
|
ok = ptsWf.updateUniProtTaxonomy() and ok
|
|
325
335
|
logger.info("updateUniProtTaxonomy status %r", ok)
|
|
326
336
|
#
|
|
327
|
-
elif op == "
|
|
328
|
-
logger.info("Starting
|
|
337
|
+
elif op == "upd_targets":
|
|
338
|
+
logger.info("Starting UpdateTargetsData")
|
|
329
339
|
ptsWf = ProteinTargetSequenceExecutionWorkflow(
|
|
330
340
|
configPath=self.__configPath,
|
|
331
341
|
mockTopPath=self.__mockTopPath,
|
|
@@ -352,6 +362,18 @@ class ExDbWorkflow(object):
|
|
|
352
362
|
logger.info("buildCofactorData status %r", ok)
|
|
353
363
|
ptsWf.resourceCheck()
|
|
354
364
|
#
|
|
365
|
+
elif op == "load_target_cofactors":
|
|
366
|
+
logger.info("Starting LoadTargetCofactors")
|
|
367
|
+
ptsWf = ProteinTargetSequenceExecutionWorkflow(
|
|
368
|
+
configPath=self.__configPath,
|
|
369
|
+
mockTopPath=self.__mockTopPath,
|
|
370
|
+
configName=self.__configName,
|
|
371
|
+
cachePath=self.__cachePath,
|
|
372
|
+
)
|
|
373
|
+
ok = ptsWf.loadTargetCofactorData()
|
|
374
|
+
logger.info("loadTargetCofactorData status %r", ok)
|
|
375
|
+
ptsWf.resourceCheck()
|
|
376
|
+
#
|
|
355
377
|
elif op == "upd_pubchem":
|
|
356
378
|
# -- Update local chemical indices and create PubChem mapping index ---
|
|
357
379
|
logger.info("Starting workflow PubChemEtlWorkflow")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rcsb.exdb
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.23
|
|
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
|
|
@@ -18,19 +18,21 @@ License-File: LICENSE
|
|
|
18
18
|
Requires-Dist: OpenEye-toolkits>=2020.2.2
|
|
19
19
|
Requires-Dist: numpy
|
|
20
20
|
Requires-Dist: jsonschema>=2.6.0
|
|
21
|
-
Requires-Dist: rcsb.utils.io>=1.
|
|
22
|
-
Requires-Dist: rcsb.db>=1.
|
|
21
|
+
Requires-Dist: rcsb.utils.io>=1.48
|
|
22
|
+
Requires-Dist: rcsb.db>=1.723
|
|
23
23
|
Requires-Dist: rcsb.utils.chem>=0.79
|
|
24
24
|
Requires-Dist: rcsb.utils.chemref>=0.91
|
|
25
25
|
Requires-Dist: rcsb.utils.citation>=0.22
|
|
26
26
|
Requires-Dist: rcsb.utils.config>=0.40
|
|
27
27
|
Requires-Dist: rcsb.utils.ec>=0.25
|
|
28
28
|
Requires-Dist: rcsb.utils.go>=0.18
|
|
29
|
-
Requires-Dist: rcsb.utils.seq>=0.
|
|
29
|
+
Requires-Dist: rcsb.utils.seq>=0.82
|
|
30
|
+
Requires-Dist: rcsb.utils.seqalign>=0.29
|
|
31
|
+
Requires-Dist: rcsb.utils.targets>=0.80
|
|
30
32
|
Requires-Dist: rcsb.utils.struct>=0.47
|
|
31
33
|
Requires-Dist: rcsb.utils.taxonomy>=0.43
|
|
32
|
-
Requires-Dist: rcsb.utils.dictionary>=1.
|
|
33
|
-
Requires-Dist: rcsb.workflow>=0.
|
|
34
|
+
Requires-Dist: rcsb.utils.dictionary>=1.26
|
|
35
|
+
Requires-Dist: rcsb.workflow>=0.44
|
|
34
36
|
Requires-Dist: statistics; python_version < "3.0"
|
|
35
37
|
Provides-Extra: dev
|
|
36
38
|
Requires-Dist: check-manifest; extra == "dev"
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
OpenEye-toolkits>=2020.2.2
|
|
2
2
|
numpy
|
|
3
3
|
jsonschema>=2.6.0
|
|
4
|
-
rcsb.utils.io>=1.
|
|
5
|
-
rcsb.db>=1.
|
|
4
|
+
rcsb.utils.io>=1.48
|
|
5
|
+
rcsb.db>=1.723
|
|
6
6
|
rcsb.utils.chem>=0.79
|
|
7
7
|
rcsb.utils.chemref>=0.91
|
|
8
8
|
rcsb.utils.citation>=0.22
|
|
9
9
|
rcsb.utils.config>=0.40
|
|
10
10
|
rcsb.utils.ec>=0.25
|
|
11
11
|
rcsb.utils.go>=0.18
|
|
12
|
-
rcsb.utils.seq>=0.
|
|
12
|
+
rcsb.utils.seq>=0.82
|
|
13
|
+
rcsb.utils.seqalign>=0.29
|
|
14
|
+
rcsb.utils.targets>=0.80
|
|
13
15
|
rcsb.utils.struct>=0.47
|
|
14
16
|
rcsb.utils.taxonomy>=0.43
|
|
15
|
-
rcsb.utils.dictionary>=1.
|
|
16
|
-
rcsb.workflow>=0.
|
|
17
|
+
rcsb.utils.dictionary>=1.26
|
|
18
|
+
rcsb.workflow>=0.44
|
|
17
19
|
|
|
18
20
|
[:python_version < "3.0"]
|
|
19
21
|
statistics
|
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
OpenEye-toolkits >= 2020.2.2
|
|
3
3
|
numpy
|
|
4
4
|
jsonschema >= 2.6.0
|
|
5
|
-
rcsb.utils.io >= 1.
|
|
6
|
-
rcsb.db >= 1.
|
|
5
|
+
rcsb.utils.io >= 1.48
|
|
6
|
+
rcsb.db >= 1.723
|
|
7
7
|
rcsb.utils.chem >= 0.79
|
|
8
8
|
rcsb.utils.chemref >= 0.91
|
|
9
9
|
rcsb.utils.citation >= 0.22
|
|
10
10
|
rcsb.utils.config >= 0.40
|
|
11
11
|
rcsb.utils.ec >= 0.25
|
|
12
12
|
rcsb.utils.go >= 0.18
|
|
13
|
-
rcsb.utils.seq >= 0.
|
|
13
|
+
rcsb.utils.seq >= 0.82
|
|
14
|
+
rcsb.utils.seqalign >= 0.29
|
|
15
|
+
rcsb.utils.targets >= 0.80
|
|
14
16
|
rcsb.utils.struct >= 0.47
|
|
15
17
|
rcsb.utils.taxonomy >= 0.43
|
|
16
|
-
rcsb.utils.dictionary >= 1.
|
|
17
|
-
rcsb.workflow >= 0.
|
|
18
|
+
rcsb.utils.dictionary >= 1.26
|
|
19
|
+
rcsb.workflow >= 0.44
|
|
18
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
|
{rcsb_exdb-1.21 → rcsb_exdb-1.23}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py
RENAMED
|
File without changes
|
{rcsb_exdb-1.21 → rcsb_exdb-1.23}/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
|