Skip to content

Commit a0cfde1

Browse files
committed
Regenerate type definitions
1 parent 736dd25 commit a0cfde1

File tree

3 files changed

+7
-19
lines changed

3 files changed

+7
-19
lines changed

unipressed/dataset/generated_types/uniparc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ class UniparcQueryDict(TypedDict):
128128
"Feature ID\ne.g. IPR004251"
129129
proteomecomponent: NotRequired[str]
130130
"Proteome Component\ne.g. chromosome"
131+
organism_id: NotRequired[int]
132+
"Organism ID\ne.g. 10254"
131133

132134

133135
UniparcQuery: TypeAlias = Union[UniparcQueryDict, str]

unipressed/dataset/generated_types/uniprotkb.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,6 @@ class UniprotkbQueryDict(TypedDict):
728728
UniprotkbProteinFamilygroup: TypeAlias = Literal[
729729
"xref_allergome",
730730
"xref_cazy",
731-
"xref_clae",
732731
"xref_esther",
733732
"xref_imgt_gene-db",
734733
"xref_merops",
@@ -755,19 +754,11 @@ class UniprotkbQueryDict(TypedDict):
755754
"xref_alzforum", "xref_biomuta", "xref_dmdm", "xref_dbsnp"
756755
]
757756
UniprotkbTwodGel: TypeAlias = Literal[
758-
"xref_compluyeast-2dpage",
759-
"xref_dosac-cobs-2dpage",
760-
"xref_ogp",
761-
"xref_reproduction-2dpage",
762-
"xref_swiss-2dpage",
763-
"xref_ucd-2dpage",
764-
"xref_world-2dpage",
757+
"xref_compluyeast-2dpage", "xref_ogp", "xref_reproduction-2dpage"
765758
]
766759
UniprotkbProteomic: TypeAlias = Literal[
767760
"xref_cptac",
768-
"xref_epd",
769761
"xref_massive",
770-
"xref_maxqb",
771762
"xref_pride",
772763
"xref_paxdb",
773764
"xref_peptideatlas",
@@ -841,7 +832,6 @@ class UniprotkbQueryDict(TypedDict):
841832
"xref_genetree",
842833
"xref_hogenom",
843834
"xref_inparanoid",
844-
"xref_ko",
845835
"xref_oma",
846836
"xref_orthodb",
847837
"xref_phylomedb",
@@ -875,11 +865,7 @@ class UniprotkbQueryDict(TypedDict):
875865
"xref_emind",
876866
]
877867
UniprotkbGeneExpression: TypeAlias = Literal[
878-
"xref_bgee",
879-
"xref_cleanex",
880-
"xref_collectf",
881-
"xref_expressionatlas",
882-
"xref_genevisible",
868+
"xref_bgee", "xref_cleanex", "xref_collectf", "xref_expressionatlas"
883869
]
884870
UniprotkbFamilyAndDomain: TypeAlias = Literal[
885871
"xref_cdd",

unipressed/dataset/generated_types/uniref.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class UnirefQueryDict(TypedDict):
4747
]
4848
]
4949
"Sequence length\ne.g. [100 TO 300]"
50-
created: NotRequired[
50+
date_modified: NotRequired[
5151
tuple[
5252
Union[
5353
date,
@@ -59,7 +59,7 @@ class UnirefQueryDict(TypedDict):
5959
],
6060
]
6161
]
62-
"Date published\ne.g. [2011-10-10 TO 2019-10-10]"
62+
"Date of last modification\ne.g. [2011-10-10 TO 2019-10-10]"
6363
uniprot_id: NotRequired[str]
6464
"UniProtKB ID/AC\ne.g. sample uniprot id"
6565
upi: NotRequired[str]
@@ -78,7 +78,7 @@ class UnirefQueryDict(TypedDict):
7878
]
7979
UnirefSequences: TypeAlias = Literal["identity", "length", "sequence"]
8080
UnirefMiscellaneous: TypeAlias = Literal["types", "members", "count"]
81-
UnirefDateOf: TypeAlias = Literal["created",]
81+
UnirefDateOf: TypeAlias = Literal["date_modified",]
8282
UnirefFields: TypeAlias = Literal[
8383
UnirefNamesTaxonomy, UnirefSequences, UnirefMiscellaneous, UnirefDateOf
8484
]

0 commit comments

Comments
 (0)