mhcseqs 2.2.2__tar.gz → 2.3.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.
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/PKG-INFO +6 -6
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/README.md +5 -5
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/pipeline.py +11 -0
- mhcseqs-2.3.0/mhcseqs/version.py +1 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs.egg-info/PKG-INFO +6 -6
- mhcseqs-2.2.2/mhcseqs/version.py +0 -1
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/LICENSE +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/__init__.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/__main__.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/alleles.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/b2m_sequences.csv +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/diverse_mhc_sequences.csv +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/domain_grammar.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/domain_parsing.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/download.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/imgt.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/mouse_h2_sequences.csv +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/species.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs/validate.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs.egg-info/SOURCES.txt +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs.egg-info/dependency_links.txt +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs.egg-info/entry_points.txt +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs.egg-info/requires.txt +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/mhcseqs.egg-info/top_level.txt +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/pyproject.toml +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/setup.cfg +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_alleles.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_cli.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_curate_diverse_mhc.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_download.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_evaluate_sp_ground_truth.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_groove.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_groove_class_ii.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_imgt.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_mutations.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_package_api.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_pipeline.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_species.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_species_coverage.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_validate.py +0 -0
- {mhcseqs-2.2.2 → mhcseqs-2.3.0}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mhcseqs
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: MHC sequence curation and binding groove extraction
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -107,7 +107,7 @@ Three sources are merged into a single dataset:
|
|
|
107
107
|
| UniProt | 20,566 | 500+ species | Curated diverse MHC, B2M, H-2 references (shipped in package) |
|
|
108
108
|
| **Total raw** | **77,576** | | |
|
|
109
109
|
| **After merge/dedup** | **55,696** | | One representative per two-field allele |
|
|
110
|
-
| **Groove OK** | **54,
|
|
110
|
+
| **Groove OK** | **54,155** | | 97.2% of representatives |
|
|
111
111
|
|
|
112
112
|
### By species category
|
|
113
113
|
|
|
@@ -115,13 +115,13 @@ Three sources are merged into a single dataset:
|
|
|
115
115
|
|---|---:|---:|---:|---:|
|
|
116
116
|
| human | 25,364 | 99.8% | 17,364 | 5,347 |
|
|
117
117
|
| nhp | 7,125 | 98.0% | 4,582 | 1,429 |
|
|
118
|
-
| bird | 9,312 | 99.
|
|
118
|
+
| bird | 9,312 | 99.1% | 553 | 558 |
|
|
119
119
|
| fish | 4,859 | 97.2% | 777 | 1,259 |
|
|
120
120
|
| ungulate | 1,768 | 96.2% | 603 | 303 |
|
|
121
|
-
| murine | 1,625 | 89.
|
|
121
|
+
| murine | 1,625 | 89.0% | 466 | 158 |
|
|
122
122
|
| carnivore | 484 | 99.6% | 164 | 0 |
|
|
123
|
-
| other_mammal | 943 | 95.
|
|
124
|
-
| other_vertebrate | 1,137 | 96.
|
|
123
|
+
| other_mammal | 943 | 95.0% | 275 | 152 |
|
|
124
|
+
| other_vertebrate | 1,137 | 96.2% | 327 | 129 |
|
|
125
125
|
|
|
126
126
|
"Groove OK" includes both full-length and fragment parses. "Full" means both groove
|
|
127
127
|
halves present (class I: α1 + α2, ~183 aa; class II: single chain's groove half with
|
|
@@ -86,7 +86,7 @@ Three sources are merged into a single dataset:
|
|
|
86
86
|
| UniProt | 20,566 | 500+ species | Curated diverse MHC, B2M, H-2 references (shipped in package) |
|
|
87
87
|
| **Total raw** | **77,576** | | |
|
|
88
88
|
| **After merge/dedup** | **55,696** | | One representative per two-field allele |
|
|
89
|
-
| **Groove OK** | **54,
|
|
89
|
+
| **Groove OK** | **54,155** | | 97.2% of representatives |
|
|
90
90
|
|
|
91
91
|
### By species category
|
|
92
92
|
|
|
@@ -94,13 +94,13 @@ Three sources are merged into a single dataset:
|
|
|
94
94
|
|---|---:|---:|---:|---:|
|
|
95
95
|
| human | 25,364 | 99.8% | 17,364 | 5,347 |
|
|
96
96
|
| nhp | 7,125 | 98.0% | 4,582 | 1,429 |
|
|
97
|
-
| bird | 9,312 | 99.
|
|
97
|
+
| bird | 9,312 | 99.1% | 553 | 558 |
|
|
98
98
|
| fish | 4,859 | 97.2% | 777 | 1,259 |
|
|
99
99
|
| ungulate | 1,768 | 96.2% | 603 | 303 |
|
|
100
|
-
| murine | 1,625 | 89.
|
|
100
|
+
| murine | 1,625 | 89.0% | 466 | 158 |
|
|
101
101
|
| carnivore | 484 | 99.6% | 164 | 0 |
|
|
102
|
-
| other_mammal | 943 | 95.
|
|
103
|
-
| other_vertebrate | 1,137 | 96.
|
|
102
|
+
| other_mammal | 943 | 95.0% | 275 | 152 |
|
|
103
|
+
| other_vertebrate | 1,137 | 96.2% | 327 | 129 |
|
|
104
104
|
|
|
105
105
|
"Groove OK" includes both full-length and fragment parses. "Full" means both groove
|
|
106
106
|
halves present (class I: α1 + α2, ~183 aa; class II: single chain's groove half with
|
|
@@ -20,6 +20,7 @@ from .alleles import (
|
|
|
20
20
|
normalize_allele_name,
|
|
21
21
|
normalize_mhc_class,
|
|
22
22
|
parse_allele_name,
|
|
23
|
+
parse_gene_class,
|
|
23
24
|
)
|
|
24
25
|
from .domain_grammar import NON_MHC_ACCESSIONS
|
|
25
26
|
from .domain_parsing import (
|
|
@@ -427,6 +428,16 @@ def _load_diverse_mhc_references() -> List[dict]:
|
|
|
427
428
|
if not species_category:
|
|
428
429
|
species_category = normalize_mhc_species(organism) or ""
|
|
429
430
|
|
|
431
|
+
# Override mhc_class from mhcgnomes when the CSV value is
|
|
432
|
+
# wrong or unknown — UniProt annotations frequently misclassify
|
|
433
|
+
# RT1/H-2 class II genes (DOb, Ba, Eb, DQA, etc.) as class I.
|
|
434
|
+
if gene:
|
|
435
|
+
pgc = parse_gene_class(gene)
|
|
436
|
+
if pgc and pgc.get("mhc_class") in ("I", "II"):
|
|
437
|
+
mhc_class = pgc["mhc_class"]
|
|
438
|
+
if pgc.get("chain"):
|
|
439
|
+
chain = pgc["chain"]
|
|
440
|
+
|
|
430
441
|
# Fix chain for class II unknowns: try class_ii_alpha_gene check
|
|
431
442
|
if mhc_class == "II" and chain in ("unknown", ""):
|
|
432
443
|
if gene and is_class_ii_alpha_gene(gene):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.3.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mhcseqs
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: MHC sequence curation and binding groove extraction
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -107,7 +107,7 @@ Three sources are merged into a single dataset:
|
|
|
107
107
|
| UniProt | 20,566 | 500+ species | Curated diverse MHC, B2M, H-2 references (shipped in package) |
|
|
108
108
|
| **Total raw** | **77,576** | | |
|
|
109
109
|
| **After merge/dedup** | **55,696** | | One representative per two-field allele |
|
|
110
|
-
| **Groove OK** | **54,
|
|
110
|
+
| **Groove OK** | **54,155** | | 97.2% of representatives |
|
|
111
111
|
|
|
112
112
|
### By species category
|
|
113
113
|
|
|
@@ -115,13 +115,13 @@ Three sources are merged into a single dataset:
|
|
|
115
115
|
|---|---:|---:|---:|---:|
|
|
116
116
|
| human | 25,364 | 99.8% | 17,364 | 5,347 |
|
|
117
117
|
| nhp | 7,125 | 98.0% | 4,582 | 1,429 |
|
|
118
|
-
| bird | 9,312 | 99.
|
|
118
|
+
| bird | 9,312 | 99.1% | 553 | 558 |
|
|
119
119
|
| fish | 4,859 | 97.2% | 777 | 1,259 |
|
|
120
120
|
| ungulate | 1,768 | 96.2% | 603 | 303 |
|
|
121
|
-
| murine | 1,625 | 89.
|
|
121
|
+
| murine | 1,625 | 89.0% | 466 | 158 |
|
|
122
122
|
| carnivore | 484 | 99.6% | 164 | 0 |
|
|
123
|
-
| other_mammal | 943 | 95.
|
|
124
|
-
| other_vertebrate | 1,137 | 96.
|
|
123
|
+
| other_mammal | 943 | 95.0% | 275 | 152 |
|
|
124
|
+
| other_vertebrate | 1,137 | 96.2% | 327 | 129 |
|
|
125
125
|
|
|
126
126
|
"Groove OK" includes both full-length and fragment parses. "Full" means both groove
|
|
127
127
|
halves present (class I: α1 + α2, ~183 aa; class II: single chain's groove half with
|
mhcseqs-2.2.2/mhcseqs/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.2"
|
|
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
|