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.
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/HISTORY.txt +2 -1
- {rcsb.exdb-0.95/rcsb.exdb.egg-info → rcsb.exdb-0.96}/PKG-INFO +1 -1
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/cli/__init__.py +1 -1
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tree/TreeNodeListWorker.py +11 -1
- {rcsb.exdb-0.95 → rcsb.exdb-0.96/rcsb.exdb.egg-info}/PKG-INFO +1 -1
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/LICENSE +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/MANIFEST.in +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/README.md +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/branch/BranchedEntityExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/branch/GlycanProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/branch/GlycanUtils.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/branch/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/ChemRefEtlWorker.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/ChemRefExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/ChemRefMappingProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/PubChemDataCacheProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/PubChemEtlWrapper.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/PubChemIndexCacheProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/chemref/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/citation/CitationAdapter.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/citation/CitationExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/citation/CitationUtils.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/citation/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/cli/ExDbExec.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/entry/EntryInfoProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/entry/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/AnnotationExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/LigandNeighborMappingExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/LigandNeighborMappingProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/PolymerEntityExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceAnnotationAdapter.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceAnnotationProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceAssignmentAdapter.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceAssignmentProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/ReferenceSequenceCacheProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/TaxonomyExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/UniProtCoreEtlWorker.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/UniProtExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/seq/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/fixtureDictMethodResourceProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/fixturePdbxLoader.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testAnnotationExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testBranchedEntityExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testChemRefLoader.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testChemRefMappingProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testCitationAdapter.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testCitationExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testCitationUtils.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testEntryInfoEtlWorkflow.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testEntryInfoProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testExDbWorkflow.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testGlycanEtlWorkflow.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testGlycanProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testGlycanUtils.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testLigandNeighborMappingProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testObjectExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testObjectTransformer.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testObjectUpdater.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPolymerEntityExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPubChemDataCacheProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPubChemEtlWorkflow.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPubChemEtlWrapper.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testPubChemIndexCacheProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAnnotationAdapter.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapter.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAssignmentProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceCacheProvider.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testTaxonomyExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testTreeNodeListWorker.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testUniProtCoreEtlWorker.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testUniProtExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tree/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectAdapterBase.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectExtractor.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectTransformer.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectUpdater.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/ObjectValidator.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/utils/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/EntryInfoEtlWorkflow.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/ExDbWorkflow.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/GlycanEtlWorkflow.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/PubChemEtlWorkflow.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb/exdb/wf/__init__.py +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/SOURCES.txt +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/dependency_links.txt +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/entry_points.txt +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/not-zip-safe +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/requires.txt +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/rcsb.exdb.egg-info/top_level.txt +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/requirements.txt +0 -0
- {rcsb.exdb-0.95 → rcsb.exdb-0.96}/setup.cfg +0 -0
- {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
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
#
|
|
7
7
|
# Updates:
|
|
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
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)
|
|
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-0.95 → rcsb.exdb-0.96}/rcsb/exdb/tests/testReferenceSequenceAssignmentAdapterValidate.py
RENAMED
|
File without changes
|
{rcsb.exdb-0.95 → rcsb.exdb-0.96}/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
|
|
File without changes
|
|
File without changes
|