AMDockVS 0.1.0__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.
- amdockvs-0.1.0/.github/workflows/docs.yml +58 -0
- amdockvs-0.1.0/.github/workflows/publish.yml +31 -0
- amdockvs-0.1.0/.gitignore +269 -0
- amdockvs-0.1.0/LICENSE +21 -0
- amdockvs-0.1.0/PKG-INFO +205 -0
- amdockvs-0.1.0/README.md +153 -0
- amdockvs-0.1.0/docs/api_reference.md +40 -0
- amdockvs-0.1.0/docs/examples.md +68 -0
- amdockvs-0.1.0/docs/images/favicon.svg +30 -0
- amdockvs-0.1.0/docs/index.md +63 -0
- amdockvs-0.1.0/docs/runtime_api.md +133 -0
- amdockvs-0.1.0/pyproject.toml +99 -0
- amdockvs-0.1.0/setup.cfg +4 -0
- amdockvs-0.1.0/src/AMDockVS.egg-info/PKG-INFO +205 -0
- amdockvs-0.1.0/src/AMDockVS.egg-info/SOURCES.txt +368 -0
- amdockvs-0.1.0/src/AMDockVS.egg-info/dependency_links.txt +1 -0
- amdockvs-0.1.0/src/AMDockVS.egg-info/entry_points.txt +2 -0
- amdockvs-0.1.0/src/AMDockVS.egg-info/requires.txt +33 -0
- amdockvs-0.1.0/src/AMDockVS.egg-info/scm_file_list.json +364 -0
- amdockvs-0.1.0/src/AMDockVS.egg-info/scm_version.json +8 -0
- amdockvs-0.1.0/src/AMDockVS.egg-info/top_level.txt +1 -0
- amdockvs-0.1.0/src/amdockvs/__init__.py +67 -0
- amdockvs-0.1.0/src/amdockvs/__main__.py +5 -0
- amdockvs-0.1.0/src/amdockvs/app.py +181 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/__init__.py +22 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/api.py +444 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/boxes.py +180 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/cavity.py +247 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/from_structure.py +54 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/jobs.py +246 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/p2rank.py +465 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/repository.py +32 -0
- amdockvs-0.1.0/src/amdockvs/binding_sites/scopes.py +15 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/__init__.py +54 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/alignment.py +52 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/api.py +575 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/conformers.py +50 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/descriptors.py +123 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/filtering.py +403 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/fingerprints.py +72 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/jobs.py +519 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/pipeline.py +146 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/protonation.py +178 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/repository.py +189 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/rmsd.py +39 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/service.py +472 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/shards.py +110 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/standardization.py +96 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/state.py +31 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/tools/__init__.py +23 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/tools/esmfold.py +221 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/tools/ligands.py +219 -0
- amdockvs-0.1.0/src/amdockvs/chemistry/tools/receptors.py +176 -0
- amdockvs-0.1.0/src/amdockvs/complexes/__init__.py +3 -0
- amdockvs-0.1.0/src/amdockvs/complexes/api.py +155 -0
- amdockvs-0.1.0/src/amdockvs/core/__init__.py +4 -0
- amdockvs-0.1.0/src/amdockvs/core/config.toml +45 -0
- amdockvs-0.1.0/src/amdockvs/core/configuration.py +416 -0
- amdockvs-0.1.0/src/amdockvs/core/constants.py +121 -0
- amdockvs-0.1.0/src/amdockvs/core/normalize.py +59 -0
- amdockvs-0.1.0/src/amdockvs/core/paths.py +257 -0
- amdockvs-0.1.0/src/amdockvs/core/user_env.py +50 -0
- amdockvs-0.1.0/src/amdockvs/core/vocab.py +204 -0
- amdockvs-0.1.0/src/amdockvs/core/worker_io.py +86 -0
- amdockvs-0.1.0/src/amdockvs/data/hetero_codes.json +8 -0
- amdockvs-0.1.0/src/amdockvs/diversity/__init__.py +24 -0
- amdockvs-0.1.0/src/amdockvs/diversity/api.py +647 -0
- amdockvs-0.1.0/src/amdockvs/diversity/clustering.py +613 -0
- amdockvs-0.1.0/src/amdockvs/diversity/jobs.py +333 -0
- amdockvs-0.1.0/src/amdockvs/docking/__init__.py +138 -0
- amdockvs-0.1.0/src/amdockvs/docking/api.py +1472 -0
- amdockvs-0.1.0/src/amdockvs/docking/engines/__init__.py +6 -0
- amdockvs-0.1.0/src/amdockvs/docking/engines/autodock4.py +309 -0
- amdockvs-0.1.0/src/amdockvs/docking/engines/gnina.py +337 -0
- amdockvs-0.1.0/src/amdockvs/docking/engines/programs.py +294 -0
- amdockvs-0.1.0/src/amdockvs/docking/engines/registry.py +102 -0
- amdockvs-0.1.0/src/amdockvs/docking/engines/vina.py +720 -0
- amdockvs-0.1.0/src/amdockvs/docking/jobs.py +797 -0
- amdockvs-0.1.0/src/amdockvs/docking/pairs.py +241 -0
- amdockvs-0.1.0/src/amdockvs/docking/planning.py +120 -0
- amdockvs-0.1.0/src/amdockvs/docking/preparation/__init__.py +5 -0
- amdockvs-0.1.0/src/amdockvs/docking/preparation/entities.py +165 -0
- amdockvs-0.1.0/src/amdockvs/docking/preparation/jobs.py +447 -0
- amdockvs-0.1.0/src/amdockvs/docking/preparation/meeko.py +236 -0
- amdockvs-0.1.0/src/amdockvs/docking/preparation/profiles.py +69 -0
- amdockvs-0.1.0/src/amdockvs/docking/preparation/shards.py +258 -0
- amdockvs-0.1.0/src/amdockvs/docking/preparation/state.py +137 -0
- amdockvs-0.1.0/src/amdockvs/docking/protocols.py +80 -0
- amdockvs-0.1.0/src/amdockvs/docking/readiness.py +291 -0
- amdockvs-0.1.0/src/amdockvs/docking/repository.py +620 -0
- amdockvs-0.1.0/src/amdockvs/docking/residues.py +107 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/__init__.py +5 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/dataset.py +402 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/diagram.py +398 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/interactions.py +186 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/jobs.py +284 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/metrics.py +127 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/redocking.py +123 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/repository.py +810 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/rmsd.py +115 -0
- amdockvs-0.1.0/src/amdockvs/docking/results/tables.py +264 -0
- amdockvs-0.1.0/src/amdockvs/docking/shard_jobs.py +935 -0
- amdockvs-0.1.0/src/amdockvs/docking/submission.py +102 -0
- amdockvs-0.1.0/src/amdockvs/integrations/__init__.py +6 -0
- amdockvs-0.1.0/src/amdockvs/integrations/api.py +48 -0
- amdockvs-0.1.0/src/amdockvs/integrations/contracts.py +28 -0
- amdockvs-0.1.0/src/amdockvs/integrations/envs.py +155 -0
- amdockvs-0.1.0/src/amdockvs/integrations/pkasso.py +50 -0
- amdockvs-0.1.0/src/amdockvs/integrations/registry.py +190 -0
- amdockvs-0.1.0/src/amdockvs/io/__init__.py +39 -0
- amdockvs-0.1.0/src/amdockvs/io/_common.py +37 -0
- amdockvs-0.1.0/src/amdockvs/io/api.py +366 -0
- amdockvs-0.1.0/src/amdockvs/io/ccd_bonds.py +180 -0
- amdockvs-0.1.0/src/amdockvs/io/formats.py +394 -0
- amdockvs-0.1.0/src/amdockvs/io/import_stats.py +88 -0
- amdockvs-0.1.0/src/amdockvs/io/jobs.py +446 -0
- amdockvs-0.1.0/src/amdockvs/io/loaders.py +137 -0
- amdockvs-0.1.0/src/amdockvs/io/parsers/__init__.py +17 -0
- amdockvs-0.1.0/src/amdockvs/io/parsers/readers.py +390 -0
- amdockvs-0.1.0/src/amdockvs/io/payloads.py +341 -0
- amdockvs-0.1.0/src/amdockvs/io/properties.py +57 -0
- amdockvs-0.1.0/src/amdockvs/io/receptor_preview.py +967 -0
- amdockvs-0.1.0/src/amdockvs/io/rows.py +232 -0
- amdockvs-0.1.0/src/amdockvs/io/shards.py +334 -0
- amdockvs-0.1.0/src/amdockvs/io/transformers/__init__.py +13 -0
- amdockvs-0.1.0/src/amdockvs/io/transformers/materializers.py +439 -0
- amdockvs-0.1.0/src/amdockvs/io/transformers/rows.py +283 -0
- amdockvs-0.1.0/src/amdockvs/io/transformers/sdf.py +130 -0
- amdockvs-0.1.0/src/amdockvs/io/transformers/sequences.py +48 -0
- amdockvs-0.1.0/src/amdockvs/io/transformers/smiles.py +155 -0
- amdockvs-0.1.0/src/amdockvs/io/transformers/structures.py +405 -0
- amdockvs-0.1.0/src/amdockvs/manifest.py +30 -0
- amdockvs-0.1.0/src/amdockvs/models/__init__.py +84 -0
- amdockvs-0.1.0/src/amdockvs/models/base.py +13 -0
- amdockvs-0.1.0/src/amdockvs/models/clustering.py +154 -0
- amdockvs-0.1.0/src/amdockvs/models/complexes.py +53 -0
- amdockvs-0.1.0/src/amdockvs/models/descriptors.py +80 -0
- amdockvs-0.1.0/src/amdockvs/models/docking.py +325 -0
- amdockvs-0.1.0/src/amdockvs/models/molecules.py +363 -0
- amdockvs-0.1.0/src/amdockvs/models/qsar.py +149 -0
- amdockvs-0.1.0/src/amdockvs/models/screening.py +212 -0
- amdockvs-0.1.0/src/amdockvs/models/sets.py +84 -0
- amdockvs-0.1.0/src/amdockvs/molecules/__init__.py +8 -0
- amdockvs-0.1.0/src/amdockvs/molecules/api.py +548 -0
- amdockvs-0.1.0/src/amdockvs/molecules/filtering.py +154 -0
- amdockvs-0.1.0/src/amdockvs/molecules/fragments.py +367 -0
- amdockvs-0.1.0/src/amdockvs/molecules/repository.py +108 -0
- amdockvs-0.1.0/src/amdockvs/molecules/scopes.py +49 -0
- amdockvs-0.1.0/src/amdockvs/molecules/storage.py +473 -0
- amdockvs-0.1.0/src/amdockvs/project/__init__.py +1 -0
- amdockvs-0.1.0/src/amdockvs/project/deletion.py +129 -0
- amdockvs-0.1.0/src/amdockvs/project/sets.py +277 -0
- amdockvs-0.1.0/src/amdockvs/project/summaries.py +236 -0
- amdockvs-0.1.0/src/amdockvs/qsar/__init__.py +31 -0
- amdockvs-0.1.0/src/amdockvs/qsar/api.py +1429 -0
- amdockvs-0.1.0/src/amdockvs/qsar/jobs.py +195 -0
- amdockvs-0.1.0/src/amdockvs/qsar/modeling.py +462 -0
- amdockvs-0.1.0/src/amdockvs/runtime.py +582 -0
- amdockvs-0.1.0/src/amdockvs/screening/__init__.py +12 -0
- amdockvs-0.1.0/src/amdockvs/screening/campaign.py +241 -0
- amdockvs-0.1.0/src/amdockvs/screening/filters.py +114 -0
- amdockvs-0.1.0/src/amdockvs/screening/materialize.py +289 -0
- amdockvs-0.1.0/src/amdockvs/shards.py +35 -0
- amdockvs-0.1.0/src/amdockvs/ui/__init__.py +9 -0
- amdockvs-0.1.0/src/amdockvs/ui/app_widget/__init__.py +0 -0
- amdockvs-0.1.0/src/amdockvs/ui/app_widget/widget.py +21 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/__init__.py +50 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/activity.py +294 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/binding_sites.py +91 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/common.py +515 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/complexes.py +87 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/deletion.py +56 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/details.py +380 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/domain_views.py +57 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/ligands.py +169 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/molecules.py +178 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/receptors.py +926 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/results.py +937 -0
- amdockvs-0.1.0/src/amdockvs/ui/catalog/shards.py +92 -0
- amdockvs-0.1.0/src/amdockvs/ui/common/__init__.py +4 -0
- amdockvs-0.1.0/src/amdockvs/ui/common/async_query.py +199 -0
- amdockvs-0.1.0/src/amdockvs/ui/common/drop_area.py +116 -0
- amdockvs-0.1.0/src/amdockvs/ui/common/job_follower.py +113 -0
- amdockvs-0.1.0/src/amdockvs/ui/common/theme.py +62 -0
- amdockvs-0.1.0/src/amdockvs/ui/common/widgets.py +86 -0
- amdockvs-0.1.0/src/amdockvs/ui/main_window.py +596 -0
- amdockvs-0.1.0/src/amdockvs/ui/monitor/__init__.py +3 -0
- amdockvs-0.1.0/src/amdockvs/ui/monitor/monitor.py +24 -0
- amdockvs-0.1.0/src/amdockvs/ui/registry.py +124 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/__init__.py +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/__init__.py +47 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/activity.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/bell.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/binding_site.svg +53 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/build.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/catalog.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/cloud.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/columns.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/complexes.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/cpu.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/details.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/diversity.svg +53 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/doc.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/docking.svg +67 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/docking_results.svg +60 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/file-plus.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/filter.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/help.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/info.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/ligands.svg +78 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/logo.png +0 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/logo.svg +4 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/menu.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/models.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/mol_tools.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/offtarget.svg +61 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/predictions.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/pymol.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/qsar.svg +67 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/receptor.svg +40 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/redocking.svg +58 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/reset.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/search.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/settings.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/shredder.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/sort-asc.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/sort-desc.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/sort.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/style.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/target.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/text-input.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/theme.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/themed.py +324 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/trash.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/workflow.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/icons/x.svg +1 -0
- amdockvs-0.1.0/src/amdockvs/ui/resources/images/__init__.py +0 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/__init__.py +0 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/auxiliary_panel.py +227 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/job_feedback.py +376 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/main_content.py +223 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/notifications.py +148 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/project_summary.py +112 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/projects.py +159 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/settings_tools.py +178 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/splash.py +320 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/statusbar.py +183 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/tool_coordinator.py +101 -0
- amdockvs-0.1.0/src/amdockvs/ui/shell/view_coordinator.py +266 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/__init__.py +0 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/binding_sites/__init__.py +23 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/binding_sites/box.py +992 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/binding_sites/detection.py +790 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/binding_sites/flexible_residues.py +229 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/__init__.py +22 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/diagram_dock.py +102 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/offtarget.py +448 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/preparation_panel.py +711 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/protocol_editor.py +661 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/redocking.py +356 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/redocking_charts.py +198 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/results_pivot.py +432 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/run_panel.py +1064 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/scope_panel.py +146 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/docking/studio.py +319 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/import_workspace.py +616 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/molecules/__init__.py +19 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/molecules/build.py +809 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/molecules/diversity.py +867 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/molecules/filter.py +898 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/pymol_ribbon.py +911 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/qsar/__init__.py +0 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/qsar/activities.py +216 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/qsar/chart.py +399 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/qsar/panels.py +828 -0
- amdockvs-0.1.0/src/amdockvs/ui/tools/workflow_panel.py +795 -0
- amdockvs-0.1.0/src/amdockvs/ui/viewers/__init__.py +0 -0
- amdockvs-0.1.0/src/amdockvs/ui/viewers/molecular_viewer.py +574 -0
- amdockvs-0.1.0/src/amdockvs/ui/visualization/__init__.py +0 -0
- amdockvs-0.1.0/src/amdockvs/ui/visualization/chart_controller.py +168 -0
- amdockvs-0.1.0/src/amdockvs/workflows/__init__.py +1 -0
- amdockvs-0.1.0/src/amdockvs/workflows/orchestrator.py +513 -0
- amdockvs-0.1.0/src/amdockvs/workflows/rules.py +141 -0
- amdockvs-0.1.0/src/amdockvs/workflows/steps.py +224 -0
- amdockvs-0.1.0/test/data/README.md +1 -0
- amdockvs-0.1.0/test/data/ccd_ligand.cif +64 -0
- amdockvs-0.1.0/test/data/ccd_ligand.pdb +33 -0
- amdockvs-0.1.0/test/e2e/smoke_diversity.py +93 -0
- amdockvs-0.1.0/test/e2e/smoke_full_pipeline.py +380 -0
- amdockvs-0.1.0/test/e2e/smoke_qsar_simple.py +77 -0
- amdockvs-0.1.0/test/e2e/test_amdock_dual_sdf_import_concurrency.py +59 -0
- amdockvs-0.1.0/test/e2e/test_amdock_screening_load_profiles.py +52 -0
- amdockvs-0.1.0/test/e2e/test_htpvs_shard_pipeline.py +105 -0
- amdockvs-0.1.0/test/test_2d_preview_settings.py +227 -0
- amdockvs-0.1.0/test/test_amdock_benchmark.py +66 -0
- amdockvs-0.1.0/test/test_amdock_runtime.py +695 -0
- amdockvs-0.1.0/test/test_amdock_ui.py +624 -0
- amdockvs-0.1.0/test/test_async_query.py +32 -0
- amdockvs-0.1.0/test/test_build_ui.py +322 -0
- amdockvs-0.1.0/test/test_chemistry_pipeline.py +188 -0
- amdockvs-0.1.0/test/test_chemistry_state.py +49 -0
- amdockvs-0.1.0/test/test_cocrystal_descriptors.py +152 -0
- amdockvs-0.1.0/test/test_deletion.py +66 -0
- amdockvs-0.1.0/test/test_distributed_file_contracts.py +31 -0
- amdockvs-0.1.0/test/test_docking_extensibility.py +168 -0
- amdockvs-0.1.0/test/test_docking_ligand_efficiency.py +26 -0
- amdockvs-0.1.0/test/test_docking_ligand_scope.py +62 -0
- amdockvs-0.1.0/test/test_docking_phase4.py +157 -0
- amdockvs-0.1.0/test/test_docking_preconditions.py +50 -0
- amdockvs-0.1.0/test/test_docking_scope_filters.py +28 -0
- amdockvs-0.1.0/test/test_docking_skip_existing.py +147 -0
- amdockvs-0.1.0/test/test_domain_repositories.py +107 -0
- amdockvs-0.1.0/test/test_esmfold.py +60 -0
- amdockvs-0.1.0/test/test_external_tools.py +53 -0
- amdockvs-0.1.0/test/test_formats.py +141 -0
- amdockvs-0.1.0/test/test_fragment_split.py +79 -0
- amdockvs-0.1.0/test/test_gnina.py +50 -0
- amdockvs-0.1.0/test/test_grid_box_widget.py +123 -0
- amdockvs-0.1.0/test/test_hit_materialization.py +126 -0
- amdockvs-0.1.0/test/test_htp_screening.py +63 -0
- amdockvs-0.1.0/test/test_icons.py +36 -0
- amdockvs-0.1.0/test/test_import_binding_sites.py +82 -0
- amdockvs-0.1.0/test/test_import_record_spans.py +80 -0
- amdockvs-0.1.0/test/test_import_rows.py +79 -0
- amdockvs-0.1.0/test/test_import_stats.py +38 -0
- amdockvs-0.1.0/test/test_import_writes_last.py +63 -0
- amdockvs-0.1.0/test/test_io_parsers.py +117 -0
- amdockvs-0.1.0/test/test_io_payloads.py +97 -0
- amdockvs-0.1.0/test/test_job_dependencies.py +91 -0
- amdockvs-0.1.0/test/test_job_output_specs.py +50 -0
- amdockvs-0.1.0/test/test_ligand_store.py +72 -0
- amdockvs-0.1.0/test/test_metric_columns.py +32 -0
- amdockvs-0.1.0/test/test_mode_badge.py +97 -0
- amdockvs-0.1.0/test/test_notifications.py +68 -0
- amdockvs-0.1.0/test/test_orchestrator.py +255 -0
- amdockvs-0.1.0/test/test_p2rank.py +384 -0
- amdockvs-0.1.0/test/test_preparation_stream.py +57 -0
- amdockvs-0.1.0/test/test_preview_tabs.py +45 -0
- amdockvs-0.1.0/test/test_project_mode.py +225 -0
- amdockvs-0.1.0/test/test_project_switch_shutdown.py +64 -0
- amdockvs-0.1.0/test/test_props_offload.py +45 -0
- amdockvs-0.1.0/test/test_protonation.py +115 -0
- amdockvs-0.1.0/test/test_pymol_ribbon.py +240 -0
- amdockvs-0.1.0/test/test_pymol_scene_memory.py +56 -0
- amdockvs-0.1.0/test/test_qsar_activities.py +95 -0
- amdockvs-0.1.0/test/test_qsar_modeling.py +107 -0
- amdockvs-0.1.0/test/test_receptor_hetero.py +36 -0
- amdockvs-0.1.0/test/test_redocking_rmsd.py +74 -0
- amdockvs-0.1.0/test/test_results_pivot.py +466 -0
- amdockvs-0.1.0/test/test_run_destinations.py +76 -0
- amdockvs-0.1.0/test/test_scope.py +105 -0
- amdockvs-0.1.0/test/test_scope_feed_agreement.py +77 -0
- amdockvs-0.1.0/test/test_settings_defaults.py +74 -0
- amdockvs-0.1.0/test/test_shard_batching.py +150 -0
- amdockvs-0.1.0/test/test_shard_details.py +66 -0
- amdockvs-0.1.0/test/test_shard_docking.py +743 -0
- amdockvs-0.1.0/test/test_shard_generations.py +124 -0
- amdockvs-0.1.0/test/test_shard_identity.py +32 -0
- amdockvs-0.1.0/test/test_shard_preparation.py +58 -0
- amdockvs-0.1.0/test/test_shard_queue.py +84 -0
- amdockvs-0.1.0/test/test_splash.py +22 -0
- amdockvs-0.1.0/test/test_standardization.py +71 -0
- amdockvs-0.1.0/test/test_tab_close_button.py +36 -0
- amdockvs-0.1.0/test/test_table_scope.py +92 -0
- amdockvs-0.1.0/test/test_ui_api_boundary.py +148 -0
- amdockvs-0.1.0/test/test_ui_job_feedback.py +83 -0
- amdockvs-0.1.0/test/test_unified_screening_backend.py +200 -0
- amdockvs-0.1.0/test/test_user_env.py +14 -0
- amdockvs-0.1.0/test/test_workflow_steps.py +166 -0
- amdockvs-0.1.0/zensical.toml +79 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name: Documentation
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
tags:
|
|
7
|
+
- "v*"
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
concurrency:
|
|
11
|
+
group: documentation
|
|
12
|
+
cancel-in-progress: false
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write
|
|
16
|
+
pages: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
deploy:
|
|
21
|
+
environment:
|
|
22
|
+
name: github-pages
|
|
23
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v6
|
|
27
|
+
with:
|
|
28
|
+
fetch-depth: 0
|
|
29
|
+
- uses: actions/configure-pages@v6
|
|
30
|
+
- uses: actions/setup-python@v6
|
|
31
|
+
with:
|
|
32
|
+
python-version: 3.x
|
|
33
|
+
- run: pip install zensical "mkdocstrings[python]" "mike @ git+https://github.com/squidfunk/mike.git"
|
|
34
|
+
- name: Configure Git author
|
|
35
|
+
run: |
|
|
36
|
+
git config user.name "github-actions[bot]"
|
|
37
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
38
|
+
- name: Deploy development documentation
|
|
39
|
+
if: github.ref == 'refs/heads/main'
|
|
40
|
+
run: |
|
|
41
|
+
mike deploy --push dev
|
|
42
|
+
if ! mike list latest >/dev/null 2>&1; then
|
|
43
|
+
mike set-default --push dev
|
|
44
|
+
fi
|
|
45
|
+
- name: Deploy release documentation
|
|
46
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
47
|
+
run: |
|
|
48
|
+
mike deploy --push --update-aliases --alias-type redirect "$GITHUB_REF_NAME" latest
|
|
49
|
+
mike set-default --push latest
|
|
50
|
+
- name: Export versioned site
|
|
51
|
+
run: |
|
|
52
|
+
mkdir -p site
|
|
53
|
+
git archive gh-pages | tar -x -C site
|
|
54
|
+
- uses: actions/upload-pages-artifact@v5
|
|
55
|
+
with:
|
|
56
|
+
path: site
|
|
57
|
+
- uses: actions/deploy-pages@v5
|
|
58
|
+
id: deployment
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Publish to PyPI on a GitHub release.
|
|
2
|
+
#
|
|
3
|
+
# No secrets: the job authenticates to PyPI over OIDC (Trusted Publishing).
|
|
4
|
+
# It has to be enabled on the PyPI side *before* the first upload -- for a
|
|
5
|
+
# project that does not exist yet, that is a "pending publisher" under
|
|
6
|
+
# Your projects > Publishing, and it must name this repo, `publish.yml`
|
|
7
|
+
# and the `pypi` environment below.
|
|
8
|
+
name: publish
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
release:
|
|
12
|
+
types: [published]
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
pypi:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
environment: pypi
|
|
18
|
+
permissions:
|
|
19
|
+
# A permissions block sets every scope it does not name to none, so
|
|
20
|
+
# checkout needs contents spelled out or it cannot read a private repo.
|
|
21
|
+
contents: read
|
|
22
|
+
id-token: write # mint the OIDC token PyPI checks; no secret involved
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v7
|
|
25
|
+
with:
|
|
26
|
+
fetch-depth: 0 # setuptools-scm reads the version off the tag
|
|
27
|
+
- uses: actions/setup-python@v7
|
|
28
|
+
with:
|
|
29
|
+
python-version: "3.12"
|
|
30
|
+
- run: pipx run build
|
|
31
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
### JetBrains template
|
|
2
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
|
3
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
4
|
+
|
|
5
|
+
# User-specific stuff
|
|
6
|
+
.idea/**/workspace.xml
|
|
7
|
+
.idea/**/tasks.xml
|
|
8
|
+
.idea/**/usage.statistics.xml
|
|
9
|
+
.idea/**/dictionaries
|
|
10
|
+
.idea/**/shelf
|
|
11
|
+
|
|
12
|
+
# AWS User-specific
|
|
13
|
+
.idea/**/aws.xml
|
|
14
|
+
|
|
15
|
+
# Generated files
|
|
16
|
+
.idea/**/contentModel.xml
|
|
17
|
+
|
|
18
|
+
# Sensitive or high-churn files
|
|
19
|
+
.idea/**/dataSources/
|
|
20
|
+
.idea/**/dataSources.ids
|
|
21
|
+
.idea/**/dataSources.local.xml
|
|
22
|
+
.idea/**/sqlDataSources.xml
|
|
23
|
+
.idea/**/dynamic.xml
|
|
24
|
+
.idea/**/uiDesigner.xml
|
|
25
|
+
.idea/**/dbnavigator.xml
|
|
26
|
+
|
|
27
|
+
# Gradle
|
|
28
|
+
.idea/**/gradle.xml
|
|
29
|
+
.idea/**/libraries
|
|
30
|
+
|
|
31
|
+
# Gradle and Maven with auto-import
|
|
32
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
33
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
|
34
|
+
# auto-import.
|
|
35
|
+
# .idea/artifacts
|
|
36
|
+
# .idea/compiler.xml
|
|
37
|
+
# .idea/jarRepositories.xml
|
|
38
|
+
# .idea/modules.xml
|
|
39
|
+
# .idea/*.iml
|
|
40
|
+
# .idea/modules
|
|
41
|
+
# *.iml
|
|
42
|
+
# *.ipr
|
|
43
|
+
|
|
44
|
+
# CMake
|
|
45
|
+
cmake-build-*/
|
|
46
|
+
|
|
47
|
+
# Mongo Explorer plugin
|
|
48
|
+
.idea/**/mongoSettings.xml
|
|
49
|
+
|
|
50
|
+
# File-based project format
|
|
51
|
+
*.iws
|
|
52
|
+
|
|
53
|
+
# IntelliJ
|
|
54
|
+
out/
|
|
55
|
+
|
|
56
|
+
# mpeltonen/sbt-idea plugin
|
|
57
|
+
.idea_modules/
|
|
58
|
+
|
|
59
|
+
# JIRA plugin
|
|
60
|
+
atlassian-ide-plugin.xml
|
|
61
|
+
|
|
62
|
+
# Cursive Clojure plugin
|
|
63
|
+
.idea/replstate.xml
|
|
64
|
+
|
|
65
|
+
# SonarLint plugin
|
|
66
|
+
.idea/sonarlint/
|
|
67
|
+
|
|
68
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
69
|
+
com_crashlytics_export_strings.xml
|
|
70
|
+
crashlytics.properties
|
|
71
|
+
crashlytics-build.properties
|
|
72
|
+
fabric.properties
|
|
73
|
+
|
|
74
|
+
# Editor-based Rest Client
|
|
75
|
+
.idea/httpRequests
|
|
76
|
+
|
|
77
|
+
# Android studio 3.1+ serialized cache file
|
|
78
|
+
.idea/caches/build_file_checksums.ser
|
|
79
|
+
|
|
80
|
+
### Python template
|
|
81
|
+
# Byte-compiled / optimized / DLL files
|
|
82
|
+
__pycache__/
|
|
83
|
+
*.py[cod]
|
|
84
|
+
*$py.class
|
|
85
|
+
|
|
86
|
+
# C extensions
|
|
87
|
+
*.so
|
|
88
|
+
|
|
89
|
+
# Distribution / packaging
|
|
90
|
+
.Python
|
|
91
|
+
build/
|
|
92
|
+
develop-eggs/
|
|
93
|
+
dist/
|
|
94
|
+
downloads/
|
|
95
|
+
eggs/
|
|
96
|
+
.eggs/
|
|
97
|
+
lib/
|
|
98
|
+
lib64/
|
|
99
|
+
parts/
|
|
100
|
+
sdist/
|
|
101
|
+
var/
|
|
102
|
+
wheels/
|
|
103
|
+
share/python-wheels/
|
|
104
|
+
*.egg-info/
|
|
105
|
+
.installed.cfg
|
|
106
|
+
*.egg
|
|
107
|
+
MANIFEST
|
|
108
|
+
|
|
109
|
+
# PyInstaller
|
|
110
|
+
# Usually these files are written by a python script from a template
|
|
111
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
112
|
+
*.manifest
|
|
113
|
+
*.spec
|
|
114
|
+
|
|
115
|
+
# Installer logs
|
|
116
|
+
pip-log.txt
|
|
117
|
+
pip-delete-this-directory.txt
|
|
118
|
+
|
|
119
|
+
# Unit test / coverage reports
|
|
120
|
+
htmlcov/
|
|
121
|
+
.tox/
|
|
122
|
+
.nox/
|
|
123
|
+
.coverage
|
|
124
|
+
.coverage.*
|
|
125
|
+
.cache
|
|
126
|
+
nosetests.xml
|
|
127
|
+
coverage.xml
|
|
128
|
+
*.cover
|
|
129
|
+
*.py,cover
|
|
130
|
+
.hypothesis/
|
|
131
|
+
.pytest_cache/
|
|
132
|
+
cover/
|
|
133
|
+
|
|
134
|
+
# Translations
|
|
135
|
+
*.mo
|
|
136
|
+
*.pot
|
|
137
|
+
|
|
138
|
+
# Django stuff:
|
|
139
|
+
*.log
|
|
140
|
+
local_settings.py
|
|
141
|
+
db.sqlite3
|
|
142
|
+
db.sqlite3-journal
|
|
143
|
+
|
|
144
|
+
# Flask stuff:
|
|
145
|
+
instance/
|
|
146
|
+
.webassets-cache
|
|
147
|
+
|
|
148
|
+
# Scrapy stuff:
|
|
149
|
+
.scrapy
|
|
150
|
+
|
|
151
|
+
# Sphinx documentation
|
|
152
|
+
docs/_build/
|
|
153
|
+
|
|
154
|
+
# PyBuilder
|
|
155
|
+
.pybuilder/
|
|
156
|
+
target/
|
|
157
|
+
|
|
158
|
+
# Jupyter Notebook
|
|
159
|
+
.ipynb_checkpoints
|
|
160
|
+
|
|
161
|
+
# IPython
|
|
162
|
+
profile_default/
|
|
163
|
+
ipython_config.py
|
|
164
|
+
|
|
165
|
+
# pyenv
|
|
166
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
167
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
168
|
+
# .python-version
|
|
169
|
+
|
|
170
|
+
# pipenv
|
|
171
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
172
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
173
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
174
|
+
# install all needed dependencies.
|
|
175
|
+
#Pipfile.lock
|
|
176
|
+
|
|
177
|
+
# poetry
|
|
178
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
179
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
180
|
+
# commonly ignored for libraries.
|
|
181
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
182
|
+
#poetry.lock
|
|
183
|
+
|
|
184
|
+
# pdm
|
|
185
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
186
|
+
#pdm.lock
|
|
187
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
188
|
+
# in version control.
|
|
189
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
190
|
+
.pdm.toml
|
|
191
|
+
.pdm-python
|
|
192
|
+
.pdm-build/
|
|
193
|
+
|
|
194
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
195
|
+
__pypackages__/
|
|
196
|
+
|
|
197
|
+
# Celery stuff
|
|
198
|
+
celerybeat-schedule
|
|
199
|
+
celerybeat.pid
|
|
200
|
+
|
|
201
|
+
# SageMath parsed files
|
|
202
|
+
*.sage.py
|
|
203
|
+
|
|
204
|
+
# Environments
|
|
205
|
+
.env
|
|
206
|
+
.venv
|
|
207
|
+
env/
|
|
208
|
+
venv/
|
|
209
|
+
ENV/
|
|
210
|
+
env.bak/
|
|
211
|
+
venv.bak/
|
|
212
|
+
|
|
213
|
+
# Spyder project settings
|
|
214
|
+
.spyderproject
|
|
215
|
+
.spyproject
|
|
216
|
+
|
|
217
|
+
# Rope project settings
|
|
218
|
+
.ropeproject
|
|
219
|
+
|
|
220
|
+
# mkdocs documentation
|
|
221
|
+
/site
|
|
222
|
+
|
|
223
|
+
# mypy
|
|
224
|
+
.mypy_cache/
|
|
225
|
+
.dmypy.json
|
|
226
|
+
dmypy.json
|
|
227
|
+
|
|
228
|
+
# Pyre type checker
|
|
229
|
+
.pyre/
|
|
230
|
+
|
|
231
|
+
# pytype static type analyzer
|
|
232
|
+
.pytype/
|
|
233
|
+
|
|
234
|
+
# Cython debug symbols
|
|
235
|
+
cython_debug/
|
|
236
|
+
|
|
237
|
+
# PyCharm
|
|
238
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
239
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
240
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
241
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
242
|
+
#.idea/
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### AMDock project-specific
|
|
246
|
+
# Vendor compound libraries: 257 MB, one file is over GitHub's 100 MB hard limit.
|
|
247
|
+
data/Enamine_*/
|
|
248
|
+
# Scratch outputs from notebooks and the MolSuite chunk payload spool.
|
|
249
|
+
notebooks/_tmp/
|
|
250
|
+
chunk_payloads/
|
|
251
|
+
# Local runtime state
|
|
252
|
+
*.db
|
|
253
|
+
*.db-journal
|
|
254
|
+
*.db-wal
|
|
255
|
+
.local/
|
|
256
|
+
# Tooling / assistant scratch
|
|
257
|
+
.aiassistant/
|
|
258
|
+
.claude/
|
|
259
|
+
.ruff_cache/
|
|
260
|
+
# IDE: keep nothing but the shared inspection profiles
|
|
261
|
+
.idea/
|
|
262
|
+
|
|
263
|
+
# scripts/ is local scratch by its own README: 21 MB of design mockups, duplicated splash
|
|
264
|
+
# assets and pre-ms_contactmap diagram prototypes (including their PLIP sample report).
|
|
265
|
+
# Only the maintenance helpers are published.
|
|
266
|
+
scripts/*
|
|
267
|
+
!scripts/README.md
|
|
268
|
+
!scripts/build_tools_check.py
|
|
269
|
+
!scripts/bootstrap_ray_worker.py
|
amdockvs-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mario S. Valdés-Tresanco, Mario E. Valdés-Tresanco, Ernesto Moreno, Pedro A. Valiente
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
amdockvs-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: AMDockVS
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: AMDock — chemistry-focused virtual screening and docking desktop app built on the MolSuite orchestrator.
|
|
5
|
+
Author: Mario S. Valdés-Tresanco, Mario E. Valdés-Tresanco, Ernesto Moreno, Pedro A. Valiente
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/AMDockVS/AMDockVS
|
|
8
|
+
Project-URL: Documentation, https://amdockvs.github.io/
|
|
9
|
+
Project-URL: Issues, https://github.com/AMDockVS/AMDockVS/issues
|
|
10
|
+
Keywords: docking,virtual-screening,autodock-vina,cheminformatics,molsuite,structural-biology
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
17
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
18
|
+
Classifier: Environment :: X11 Applications :: Qt
|
|
19
|
+
Requires-Python: >=3.12
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
Requires-Dist: ms_flow
|
|
23
|
+
Requires-Dist: ms_components
|
|
24
|
+
Requires-Dist: ms_contactmap
|
|
25
|
+
Requires-Dist: rdkit>=2025.3.5
|
|
26
|
+
Requires-Dist: dimorphite-dl<3,>=2.0.2
|
|
27
|
+
Requires-Dist: meeko>=0.7.1
|
|
28
|
+
Requires-Dist: vina>=1.2.7
|
|
29
|
+
Requires-Dist: gemmi>=0.6
|
|
30
|
+
Requires-Dist: numpy>=2.0.0
|
|
31
|
+
Requires-Dist: scipy>=1.15
|
|
32
|
+
Requires-Dist: pandas>=2.3.1
|
|
33
|
+
Requires-Dist: pyarrow>=15
|
|
34
|
+
Requires-Dist: pydantic>=2.0
|
|
35
|
+
Requires-Dist: scikit-learn>=1.5
|
|
36
|
+
Requires-Dist: joblib>=1.3
|
|
37
|
+
Requires-Dist: sqlalchemy>=2.0
|
|
38
|
+
Requires-Dist: sqlmodel>=0.0.24
|
|
39
|
+
Requires-Dist: PySide6>=6.5
|
|
40
|
+
Requires-Dist: pyqtgraph>=0.13
|
|
41
|
+
Provides-Extra: bblean
|
|
42
|
+
Requires-Dist: bblean>=0.10; extra == "bblean"
|
|
43
|
+
Provides-Extra: pockets
|
|
44
|
+
Requires-Dist: jdk4py~=21.0; extra == "pockets"
|
|
45
|
+
Provides-Extra: receptors
|
|
46
|
+
Requires-Dist: openmm>=8.1; extra == "receptors"
|
|
47
|
+
Requires-Dist: pdbfixer>=1.9; extra == "receptors"
|
|
48
|
+
Requires-Dist: prody>=2.4; extra == "receptors"
|
|
49
|
+
Provides-Extra: all
|
|
50
|
+
Requires-Dist: amdock-vs[bblean,pockets,receptors]; extra == "all"
|
|
51
|
+
Dynamic: license-file
|
|
52
|
+
|
|
53
|
+
# AMDockVS
|
|
54
|
+
|
|
55
|
+
`AMDockVS` exposes a composite runtime on top of MolSuite. The official entry point is:
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
from amdockvs import AMDockVSRuntime
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
The active public API is organised by domain:
|
|
62
|
+
|
|
63
|
+
- `runtime.loader`: ligand and receptor loading
|
|
64
|
+
- `runtime.molecules`: scopes, filters, sets and access to the general molecular inventory
|
|
65
|
+
- `runtime.complexes`: explicit receptor-ligand relations for redocking and rescoring
|
|
66
|
+
- `runtime.chemistry`: optional chemical preparation tools for ligands and receptors
|
|
67
|
+
- `runtime.qsar`: descriptors, activities, datasets and QSAR models
|
|
68
|
+
- `runtime.pockets`: P2Rank installation and cavity prediction
|
|
69
|
+
- `runtime.docking`: Meeko preparation, grids, docking and result queries
|
|
70
|
+
|
|
71
|
+
## Installation
|
|
72
|
+
|
|
73
|
+
Python >= 3.12. The three MolSuite dependencies are not on PyPI yet, so they are
|
|
74
|
+
installed from git first. PyMOL is required and must be installed from
|
|
75
|
+
conda-forge because it is not distributed on PyPI:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
conda create -n amdockvs -c conda-forge python=3.12 pymol-open-source
|
|
79
|
+
conda activate amdockvs
|
|
80
|
+
pip install "ms_flow @ git+https://github.com/MolSuite/ms_flow"
|
|
81
|
+
pip install "ms_components @ git+https://github.com/MolSuite/ms_components"
|
|
82
|
+
pip install "ms_contactmap @ git+https://github.com/MolSuite/ms_contactmap"
|
|
83
|
+
pip install "amdock-vs @ git+https://github.com/AMDockVS/AMDockVS"
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Start the GUI:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
amdockvs
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Optional extras
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
pip install "amdock-vs[all]" # or pick one: bblean, pockets, receptors
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
| Extra | What it adds |
|
|
99
|
+
|---|---|
|
|
100
|
+
| `bblean` | BitBIRCH clustering (GPL, invoked through its CLI, never imported) |
|
|
101
|
+
| `pockets` | the jlink-trimmed JDK that P2Rank runs on |
|
|
102
|
+
| `receptors` | OpenMM/PDBFixer receptor rebuilding and minimisation, ProDy fallbacks |
|
|
103
|
+
|
|
104
|
+
### Non-pip dependencies (optional)
|
|
105
|
+
|
|
106
|
+
| Tool | What for | Installation |
|
|
107
|
+
|---|---|---|
|
|
108
|
+
| `autogrid4` | ad4 scoring | `conda install -c conda-forge autogrid` |
|
|
109
|
+
| `reduce` | `runtime.chemistry.protonate_receptors(method="reduce")` | `conda install -c conda-forge reduce` |
|
|
110
|
+
| `pdb2pqr` | `runtime.chemistry.protonate_receptors(method="pdb2pqr")` | `pip install pdb2pqr` |
|
|
111
|
+
|
|
112
|
+
P2Rank 2.5.1 is installed on demand from **Molecule Tools → Pocket Detection**.
|
|
113
|
+
AMDockVS first reuses `~/Downloads/p2rank_2.5.1.tar.gz` if it exists, and
|
|
114
|
+
otherwise downloads the official distribution and verifies its checksum. Java 17
|
|
115
|
+
is likewise installed on demand into the active Conda environment, after a
|
|
116
|
+
`dry-run` check that the transaction will not replace Python, RDKit, PyMOL,
|
|
117
|
+
PySide, NumPy, Vina or Meeko. P2Rank is not redistributed inside the application.
|
|
118
|
+
|
|
119
|
+
The same operation is available from the backend:
|
|
120
|
+
|
|
121
|
+
```python
|
|
122
|
+
runtime.pockets.install_p2rank()
|
|
123
|
+
job_id = runtime.pockets.predict(
|
|
124
|
+
receptor_ids=[receptor_id],
|
|
125
|
+
profile="default",
|
|
126
|
+
threads=1,
|
|
127
|
+
)
|
|
128
|
+
runtime.wait_for_job(job_id)
|
|
129
|
+
sites = runtime.pockets.list_predictions(receptor_id=receptor_id)
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Minimal workflow
|
|
133
|
+
|
|
134
|
+
```python
|
|
135
|
+
from pathlib import Path
|
|
136
|
+
|
|
137
|
+
from amdockvs import AMDockVSRuntime
|
|
138
|
+
|
|
139
|
+
runtime = AMDockVSRuntime()
|
|
140
|
+
try:
|
|
141
|
+
runtime.create_project(name="demo", folder=Path("./demo_project"))
|
|
142
|
+
|
|
143
|
+
load_jobs = [
|
|
144
|
+
*runtime.loader.load_ligands(["./ligands.sdf"], executor_name="thread"),
|
|
145
|
+
*runtime.loader.load_receptors(["./receptor.pdb"], executor_name="thread"),
|
|
146
|
+
]
|
|
147
|
+
runtime.wait_for_jobs(load_jobs)
|
|
148
|
+
|
|
149
|
+
chemistry_job = runtime.chemistry.standardize_ligands(executor_name="thread")
|
|
150
|
+
runtime.wait_for_job(chemistry_job)
|
|
151
|
+
|
|
152
|
+
ligand_scope = runtime.molecules.select(role="ligand")
|
|
153
|
+
receptor_scope = runtime.molecules.select(role="receptor", limit=1)
|
|
154
|
+
|
|
155
|
+
descriptor_job = runtime.qsar.compute_descriptors(molecule_set=ligand_scope, executor_name="thread")
|
|
156
|
+
runtime.wait_for_job(descriptor_job)
|
|
157
|
+
|
|
158
|
+
receptor = next(runtime.molecules.stream(receptor_scope))
|
|
159
|
+
runtime.docking.set_grid(
|
|
160
|
+
receptor_id=int(receptor.id or 0),
|
|
161
|
+
center=(12.0, 13.0, 10.0),
|
|
162
|
+
size=(20.0, 20.0, 20.0),
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
prep_jobs = [
|
|
166
|
+
runtime.docking.prepare_ligands(executor_name="thread"),
|
|
167
|
+
runtime.docking.prepare_receptors(executor_name="thread"),
|
|
168
|
+
]
|
|
169
|
+
runtime.wait_for_jobs(prep_jobs)
|
|
170
|
+
|
|
171
|
+
receptor_set = runtime.molecules.create_set(receptor_scope, name="default_receptor_set")
|
|
172
|
+
docking_job = runtime.docking.run(
|
|
173
|
+
ligand_set=ligand_scope,
|
|
174
|
+
receptor_set=receptor_set,
|
|
175
|
+
executor_name="thread",
|
|
176
|
+
)
|
|
177
|
+
runtime.wait_for_job(docking_job)
|
|
178
|
+
|
|
179
|
+
results = runtime.docking.list_results()
|
|
180
|
+
finally:
|
|
181
|
+
runtime.shutdown()
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Async semantics
|
|
185
|
+
|
|
186
|
+
- `loader.*`, `qsar.compute_descriptors()`, `docking.prepare_*()` and `docking.run()` submit jobs and return a `job_id` or a `list[job_id]`.
|
|
187
|
+
- `chemistry.*` also submits jobs by default; use `wait=True` or `runtime.wait_for_job(...)` to block in notebooks.
|
|
188
|
+
- Waiting is explicit, through `runtime.wait_for_job(...)` or `runtime.wait_for_jobs(...)`.
|
|
189
|
+
- `runtime.docking.screen(...)` is async by default too. Use `wait=True` only when you want a blocking composite helper.
|
|
190
|
+
|
|
191
|
+
## Design notes
|
|
192
|
+
|
|
193
|
+
- `stored_path` keeps pointing at the base imported artifact.
|
|
194
|
+
- `chemistry.*` records a current chemical path in metadata; later steps consume it when present.
|
|
195
|
+
- Vina preparation is stored on `amdock_molecules`, without a separate per-state traceability layer.
|
|
196
|
+
- Inventory reads go through `molsuite.query.project_rows(...)`; they do not depend on the private `DataAccess` helper.
|
|
197
|
+
|
|
198
|
+
## Examples
|
|
199
|
+
|
|
200
|
+
- [examples/pipeline_demo.py](examples/pipeline_demo.py)
|
|
201
|
+
- [examples/runtime_quickstart.py](examples/runtime_quickstart.py)
|
|
202
|
+
|
|
203
|
+
## License
|
|
204
|
+
|
|
205
|
+
MIT — see [LICENSE](LICENSE).
|