ag2kit 0.1.0__py3-none-any.whl
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.
- ag2kit/__init__.py +65 -0
- ag2kit/client.py +940 -0
- ag2kit/evaluate.py +351 -0
- ag2kit/gtex.py +275 -0
- ag2kit/io.py +248 -0
- ag2kit/provenance.py +316 -0
- ag2kit/py.typed +0 -0
- ag2kit/stats.py +375 -0
- ag2kit/variants.py +241 -0
- ag2kit-0.1.0.dist-info/METADATA +211 -0
- ag2kit-0.1.0.dist-info/RECORD +13 -0
- ag2kit-0.1.0.dist-info/WHEEL +4 -0
- ag2kit-0.1.0.dist-info/licenses/LICENSE +21 -0
ag2kit/__init__.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""Public API for AlphaGenome variant scoring and evaluation."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
|
|
5
|
+
from ag2kit import gtex
|
|
6
|
+
from ag2kit.client import (
|
|
7
|
+
AG2Client,
|
|
8
|
+
AG2KitError,
|
|
9
|
+
CredentialsError,
|
|
10
|
+
RequestSpec,
|
|
11
|
+
ScoringError,
|
|
12
|
+
extract_gene_effect,
|
|
13
|
+
interaction,
|
|
14
|
+
reduce_gene_effect,
|
|
15
|
+
)
|
|
16
|
+
from ag2kit.evaluate import Evaluation, evaluate, sign_accuracy
|
|
17
|
+
from ag2kit.io import read_variants
|
|
18
|
+
from ag2kit.provenance import Run, read_table, write_table
|
|
19
|
+
from ag2kit.stats import (
|
|
20
|
+
Concordance,
|
|
21
|
+
by_group,
|
|
22
|
+
classify,
|
|
23
|
+
concordance,
|
|
24
|
+
no_call_threshold,
|
|
25
|
+
recall_at_sign_accuracy,
|
|
26
|
+
sign_auroc,
|
|
27
|
+
spearman,
|
|
28
|
+
)
|
|
29
|
+
from ag2kit.variants import ReferenceBase, cluster_loci, harmonize_effect
|
|
30
|
+
|
|
31
|
+
try:
|
|
32
|
+
__version__ = version("ag2kit")
|
|
33
|
+
except PackageNotFoundError:
|
|
34
|
+
__version__ = "dev"
|
|
35
|
+
|
|
36
|
+
__all__ = [
|
|
37
|
+
"AG2Client",
|
|
38
|
+
"AG2KitError",
|
|
39
|
+
"Concordance",
|
|
40
|
+
"CredentialsError",
|
|
41
|
+
"Evaluation",
|
|
42
|
+
"ReferenceBase",
|
|
43
|
+
"RequestSpec",
|
|
44
|
+
"Run",
|
|
45
|
+
"ScoringError",
|
|
46
|
+
"__version__",
|
|
47
|
+
"by_group",
|
|
48
|
+
"classify",
|
|
49
|
+
"cluster_loci",
|
|
50
|
+
"concordance",
|
|
51
|
+
"evaluate",
|
|
52
|
+
"extract_gene_effect",
|
|
53
|
+
"gtex",
|
|
54
|
+
"harmonize_effect",
|
|
55
|
+
"interaction",
|
|
56
|
+
"no_call_threshold",
|
|
57
|
+
"read_table",
|
|
58
|
+
"read_variants",
|
|
59
|
+
"recall_at_sign_accuracy",
|
|
60
|
+
"reduce_gene_effect",
|
|
61
|
+
"sign_accuracy",
|
|
62
|
+
"sign_auroc",
|
|
63
|
+
"spearman",
|
|
64
|
+
"write_table",
|
|
65
|
+
]
|