Skip to content

Commit 93d8ee9

Browse files
authored
Merge pull request #42 from multimeric/2025-06-regen
2025-06 Regenerate Code
2 parents 4734fef + 99dd7f8 commit 93d8ee9

File tree

10 files changed

+89
-79
lines changed

10 files changed

+89
-79
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11

22
## Changelog
33

4+
### Master (unreleased)
5+
6+
#### Changed
7+
8+
* Regenerated the generated code. For the detailed changes please refer to the [git diff](https://github.com/multimeric/Unipressed/commit/6ff916761afe9801f75b28d6bd21ec141109ea62).
9+
410
### 1.4.0
511

612
#### Added

unipressed/dataset/generated_types/arba.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,25 @@ class ArbaQueryDict(TypedDict):
1414
not_: NotRequired[Iterable["ArbaQuery"]]
1515
"Negate a filter"
1616
protein_name: NotRequired[str]
17-
"Protein Name [DE]\ne.g. mas5"
18-
organism: NotRequired[str]
19-
"Organism [OS]\ne.g. saccharomyces"
17+
"Protein Name [DE]\ne.g. Elastin"
2018
taxonomy: NotRequired[str]
2119
"Taxonomy [OC]\ne.g. human"
2220
ec: NotRequired[str]
23-
"Enzyme classification [EC]\ne.g. 1.1.2.3"
21+
"Enzyme classification [EC]\ne.g. 2.3.2.5"
2422
cc_cofactor: NotRequired[str]
2523
"Cofactor\ne.g. 29105"
2624
cc_catalytic_activity: NotRequired[str]
2725
"Catalytic activity\ne.g. tyrosine"
28-
cc_activity_regulation: NotRequired[str]
29-
"Activity regulation\ne.g. inhibited"
3026
cc_pathway: NotRequired[str]
3127
"Pathway\ne.g. metabolism"
3228
cc_subcellular_location: NotRequired[str]
33-
"Subcellular location term\ne.g. membrane"
34-
cc_subcellular_location_note: NotRequired[str]
35-
"Note\ne.g. membrane"
36-
cc_domain: NotRequired[str]
37-
"Domain comments [CC]\ne.g. conformation"
29+
"Subcellular location [CC]\ne.g. membrane"
3830
family: NotRequired[str]
3931
"Protein family\ne.g. pa28"
4032
cc_similarity: NotRequired[str]
4133
"Comment similarity\ne.g. phosphatase"
4234
keyword: NotRequired[str]
43-
"Keyword [KW]\ne.g. chromosomal"
35+
"Keyword [KW]\ne.g. Tight junction"
4436

4537

4638
ArbaQuery: TypeAlias = Union[ArbaQueryDict, str]

unipressed/dataset/generated_types/citations.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ class CitationsQueryDict(TypedDict):
1414
not_: NotRequired[Iterable["CitationsQuery"]]
1515
"Negate a filter"
1616
title: NotRequired[str]
17-
"Title\ne.g. sample title"
17+
"Title\ne.g. VEGF is required for growth and survival in neonatal mice."
1818
author: NotRequired[str]
19-
"Author\ne.g. sample author name"
19+
"Author\ne.g. Smith"
2020
journal: NotRequired[str]
21-
"Journal\ne.g. sample journal"
21+
"Journal\ne.g. Biochemistry"
2222
published: NotRequired[str]
23-
"Year published\ne.g. sample"
23+
"Year published\ne.g. 2024"
2424
id: NotRequired[str]
2525
"Citation Id\ne.g. 15772651"
2626
doi: NotRequired[str]
27-
"DOI\ne.g. 10.1007/s11882-009-0055-9"
27+
"DOI\ne.g. 10.1016/j.burns.2017.03.013"
2828

2929

3030
CitationsQuery: TypeAlias = Union[CitationsQueryDict, str]

unipressed/dataset/generated_types/diseases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DiseasesQueryDict(TypedDict):
1616
name: NotRequired[str]
1717
"Name\ne.g. alzheimer disease"
1818
id: NotRequired[str]
19-
"Disease [AC]\ne.g. DI-12345"
19+
"Disease [AC]\ne.g. DI-00086"
2020

2121

2222
DiseasesQuery: TypeAlias = Union[DiseasesQueryDict, str]

unipressed/dataset/generated_types/proteomes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ProteomesQueryDict(TypedDict):
3131
genome_accession: NotRequired[str]
3232
"Genome Accession\ne.g. CM000663"
3333
genome_assembly: NotRequired[str]
34-
"Genome Assembly\ne.g. GCA_000001405.27"
34+
"Genome Assembly\ne.g. GCA_000005845.2"
3535
cpd: NotRequired[Cpd]
3636
"CPD (Complete Proteome Detector)\ne.g. 1\n* 1: Standard\n* 2: Close to standard (high value)\n* 3: Close to standard (low value)\n* 4: Outlier (high value)\n* 5: Outlier (low value)\n* 6: Unknown"
3737
busco: NotRequired[
@@ -46,7 +46,7 @@ class ProteomesQueryDict(TypedDict):
4646
],
4747
]
4848
]
49-
"BUSCO (Complete %)\ne.g. 97"
49+
"BUSCO (Complete %)\ne.g. [97-100]"
5050

5151

5252
ProteomesQuery: TypeAlias = Union[ProteomesQueryDict, str]

unipressed/dataset/generated_types/taxonomy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ class TaxonomyQueryDict(TypedDict):
5252
scientific: NotRequired[str]
5353
"Scientific name\ne.g. 16SrII"
5454
common: NotRequired[str]
55-
"Common name\ne.g. sample name"
55+
"Common name\ne.g. mouse"
5656
mnemonic: NotRequired[str]
57-
"Mnemonic\ne.g. sample mnemonic"
57+
"Mnemonic\ne.g. 9BACT"
5858
rank: NotRequired[Rank]
5959
"Rank\ne.g. SPECIES_GROUP\n* SUPERKINGDOM: Superkingdom\n* KINGDOM: Kingdom\n* SUBKINGDOM: Subkingdom\n* SUPERPHYLUM: Superphylum\n* PHYLUM: Phylum\n* SUBPHYLUM: Subphylum\n* SUPERCLASS: Superclass\n* CLASS: Class\n* SUBCLASS: Subclass\n* INFRACLASS: Infraclass\n* COHORT: Cohort\n* SUBCOHORT: Subcohort\n* SUPERORDER: Superorder\n* ORDER: Order\n* SUBORDER: Suborder\n* INFRAORDER: Infraorder\n* PARVORDER: Parvorder\n* SUPERFAMILY: Superfamily\n* FAMILY: Family\n* SUBFAMILY: Subfamily\n* TRIBE: Tribe\n* SUBTRIBE: Subtribe\n* GENUS: Genus\n* SUBGENUS: Subgenus\n* SPECIES_GROUP: Species group\n* SPECIES_SUBGROUP: Species subgroup\n* SPECIES: Species\n* SUBSPECIES: Subspecies\n* VARIETAS: Varietas\n* FORMA: Forma\n* NO_RANK: No rank"
6060
strain: NotRequired[str]
61-
"Strain\ne.g. SPECIES_GROUP"
61+
"Strain\ne.g. UA858"
6262
host: NotRequired[int]
63-
"Virus host\ne.g. 85621"
63+
"Virus host\ne.g. 9606"
6464
linked: NotRequired[bool]
6565
"With external info\ne.g. true"
6666
parent: NotRequired[str]

unipressed/dataset/generated_types/uniparc.py

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,19 @@ class UniparcQueryDict(TypedDict):
9292
uniprotkb: NotRequired[str]
9393
"UniProtKB AC\ne.g. P12345"
9494
isoform: NotRequired[str]
95-
"UniProtKB isoform ID\ne.g. P12345"
96-
upid: NotRequired[str]
97-
"Proteome ID\ne.g. UP123456789"
95+
"UniProtKB isoform ID\ne.g. O60260-2"
96+
proteome: NotRequired[str]
97+
"Proteome ID\ne.g. UP000005640"
98+
organism_id: NotRequired[int]
99+
"Organism\ne.g. 10254"
98100
taxonomy_name: NotRequired[str]
99-
"Taxonomy [OC]\ne.g. Human"
101+
"Taxonomy [OC]\ne.g. Mammalia"
100102
taxonomy_id: NotRequired[str]
101103
"Taxonomy id"
102104
gene: NotRequired[str]
103105
"Gene name [GN]\ne.g. PROZ"
104-
protein: NotRequired[str]
105-
"Protein name\ne.g. Protein Z"
106+
protein_name: NotRequired[str]
107+
"Protein name\ne.g. Elastin"
106108
database: NotRequired[Database]
107109
"Database\ne.g. Gene3D\n* EnsemblBacteria: EnsemblBacteria\n* EnsemblFungi: EnsemblFungi\n* EnsemblMetazoa: EnsemblMetazoa\n* EnsemblPlants: EnsemblPlants\n* EnsemblProtists: EnsemblProtists\n* embl-cds: EMBL CDS\n* EMBL_CON: EMBL_CON\n* EMBL_TPA: EMBL_TPA\n* EMBL_TSA: EMBL_TSA\n* EMBLWGS: EMBLWGS\n* Ensembl: Ensembl\n* EnsemblRapid: EnsemblRapid\n* EPO: EPO\n* FlyBase: FlyBase\n* FusionGDB: FusionGDB\n* H-InvDB: H-InvDB\n* IPI: IPI\n* JPO: JPO\n* KIPO: KIPO\n* PATRIC: PATRIC\n* PDB: PDB\n* PIR: PIR\n* PIRARC: PIRARC\n* PRF: PRF\n* RefSeq: RefSeq\n* REMTREMBL: REMTREMBL\n* SEED: SEED\n* SGD: SGD\n* UniProt: UniProtKB\n* isoforms: UniProtKB/Swiss-Prot isoforms\n* TAIR: TAIR\n* TREMBLNEW: TREMBLNEW\n* TREMBL_VARSPLIC: TREMBL_VARSPLIC\n* TROME: TROME\n* UNIMES: UNIMES\n* USPTO: USPTO\n* VectorBase: VectorBase\n* VEGA: VEGA\n* WBParaSite: WBParaSite\n* WormBase: WormBase"
108110
active: NotRequired[Active]
@@ -121,20 +123,25 @@ class UniparcQueryDict(TypedDict):
121123
],
122124
]
123125
]
124-
"Sequence length\ne.g. [100 TO 300]"
126+
"Sequence length\ne.g. [50 TO 100]"
125127
dbid: NotRequired[str]
126128
"Database ID\ne.g. AAC02967"
127129
feature_id: NotRequired[str]
128130
"Feature ID\ne.g. IPR004251"
129131
proteomecomponent: NotRequired[str]
130132
"Proteome Component\ne.g. chromosome"
131-
organism_id: NotRequired[int]
132-
"Organism ID\ne.g. 10254"
133133

134134

135135
UniparcQuery: TypeAlias = Union[UniparcQueryDict, str]
136136
UniparcNamesTaxonomy: TypeAlias = Literal[
137-
"upi", "gene", "organism_id", "organism", "protein", "proteome"
137+
"upi",
138+
"gene",
139+
"organism_id",
140+
"organism",
141+
"protein",
142+
"proteome",
143+
"common_taxons",
144+
"common_taxon_ids",
138145
]
139146
UniparcSequences: TypeAlias = Literal["checksum", "length", "sequence"]
140147
UniparcMiscellaneous: TypeAlias = Literal["accession",]
@@ -152,6 +159,7 @@ class UniparcQueryDict(TypedDict):
152159
"SMART",
153160
"SUPFAM",
154161
"NCBIfam",
162+
"FunFam",
155163
]
156164
UniparcFields: TypeAlias = Literal[
157165
UniparcNamesTaxonomy,

unipressed/dataset/generated_types/uniprotkb.py

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,18 @@ class UniprotkbQueryDict(TypedDict):
3131
"UniProtKB AC\ne.g. P12345"
3232
id: NotRequired[str]
3333
"Entry Name [ID]\ne.g. P53_HUMAN"
34+
sec_acc: NotRequired[str]
35+
"Secondary Accession\ne.g. B2R5V1"
3436
protein_name: NotRequired[str]
35-
"Protein Name [DE]\ne.g. mas5"
37+
"Protein Name [DE]\ne.g. Elastin"
3638
gene: NotRequired[str]
37-
"Gene Name [GN]\ne.g. ydj1"
39+
"Gene Name [GN]\ne.g. YDJ1"
3840
organism_name: NotRequired[str]
3941
"Organism [OS]\ne.g. saccharomyces"
4042
organism_id: NotRequired[str]
4143
"Organism id"
4244
taxonomy_name: NotRequired[str]
43-
"Taxonomy [OC]\ne.g. human"
45+
"Taxonomy [OC]\ne.g. mammalia"
4446
taxonomy_id: NotRequired[str]
4547
"Taxonomy id"
4648
virus_host_name: NotRequired[str]
@@ -136,17 +138,17 @@ class UniprotkbQueryDict(TypedDict):
136138
cc_scl_note_exp: NotRequired[str]
137139
"Cc scl note exp\ne.g. membrane"
138140
ft_transmem: NotRequired[str]
139-
"Ft transmem\ne.g. forming"
141+
"Ft transmem\ne.g. helical"
140142
ft_transmem_exp: NotRequired[str]
141-
"Ft transmem exp\ne.g. forming"
143+
"Ft transmem exp\ne.g. helical"
142144
ft_topo_dom: NotRequired[str]
143-
"Ft topo dom\ne.g. forming"
145+
"Ft topo dom\ne.g. cytoplasmic"
144146
ft_topo_dom_exp: NotRequired[str]
145-
"Ft topo dom exp\ne.g. forming"
147+
"Ft topo dom exp\ne.g. cytoplasmic"
146148
ft_intramem: NotRequired[str]
147-
"Ft intramem\ne.g. forming"
149+
"Ft intramem\ne.g. helical"
148150
ft_intramem_exp: NotRequired[str]
149-
"Ft intramem exp\ne.g. forming"
151+
"Ft intramem exp\ne.g. helical"
150152
cc_disease: NotRequired[str]
151153
"Cc disease\ne.g. nephrotic"
152154
cc_disease_exp: NotRequired[str]
@@ -188,9 +190,9 @@ class UniprotkbQueryDict(TypedDict):
188190
ft_lipid_exp: NotRequired[str]
189191
"Ft lipid exp\ne.g. cysteine"
190192
ft_carbohyd: NotRequired[str]
191-
"Ft carbohyd\ne.g. cysteine"
193+
"Ft carbohyd\ne.g. GlcNAc"
192194
ft_carbohyd_exp: NotRequired[str]
193-
"Ft carbohyd exp\ne.g. cysteine"
195+
"Ft carbohyd exp\ne.g. GlcNAc"
194196
ft_disulfid: NotRequired[str]
195197
"Ft disulfid\ne.g. reversible"
196198
ft_disulfid_exp: NotRequired[str]
@@ -275,7 +277,7 @@ class UniprotkbQueryDict(TypedDict):
275277
],
276278
]
277279
]
278-
"Mass(Da)\ne.g. [441126 TO 441126]"
280+
"Mass(Da)\ne.g. [10000 TO 11000]"
279281
length: NotRequired[
280282
tuple[
281283
Union[
@@ -318,7 +320,7 @@ class UniprotkbQueryDict(TypedDict):
318320
cc_sc_einit: NotRequired[str]
319321
"Erroneous initiation\ne.g. extended"
320322
cc_sc_eterm: NotRequired[str]
321-
"Erroneous termination\ne.g. translated"
323+
"Erroneous termination\ne.g. truncated"
322324
cc_sc_epred: NotRequired[str]
323325
"Erroneous gene model prediction\ne.g. *"
324326
cc_sc_etran: NotRequired[str]
@@ -447,7 +449,7 @@ class UniprotkbQueryDict(TypedDict):
447449
],
448450
]
449451
]
450-
"Date Of Creation\ne.g. [2018-03-04 TO 2018-03-08]"
452+
"Date Of Creation\ne.g. [2023-05-13 TO 2024-05-13]"
451453
date_modified: NotRequired[
452454
tuple[
453455
Union[
@@ -460,7 +462,7 @@ class UniprotkbQueryDict(TypedDict):
460462
],
461463
]
462464
]
463-
"Date of last entry modification\ne.g. [2018-03-04 TO 2018-03-08]"
465+
"Date of last entry modification\ne.g. [2023-05-13 TO 2024-05-13]"
464466
date_sequence_modified: NotRequired[
465467
tuple[
466468
Union[
@@ -473,7 +475,7 @@ class UniprotkbQueryDict(TypedDict):
473475
],
474476
]
475477
]
476-
"Date of last sequence modification\ne.g. [2018-03-04 TO 2018-03-08]"
478+
"Date of last sequence modification\ne.g. [2023-05-13 TO 2024-05-13]"
477479
go: NotRequired[str]
478480
"Go\ne.g. 0009986"
479481
go_manual: NotRequired[str]
@@ -523,11 +525,11 @@ class UniprotkbQueryDict(TypedDict):
523525
go_iea: NotRequired[str]
524526
"go, inferred from electronic annotation [iea]"
525527
chebi: NotRequired[str]
526-
"CHEBI ID\ne.g. 29105"
528+
"Name or ID (CHEBI)\ne.g. Search by Name or ID (CHEBI)"
527529
inchikey: NotRequired[str]
528530
"InChIKey\ne.g. XLYOFNOQVPJJNP-UHFFFAOYSA-N"
529531
keyword: NotRequired[str]
530-
"Keyword [KW]\ne.g. chromosomal"
532+
"Keyword [KW]\ne.g. activator"
531533
lit_author: NotRequired[str]
532534
"Author\ne.g. smith"
533535
lit_journal: NotRequired[str]
@@ -548,19 +550,19 @@ class UniprotkbQueryDict(TypedDict):
548550
lit_pubmed: NotRequired[str]
549551
"PubMed ID\ne.g. 15165820"
550552
lit_title: NotRequired[str]
551-
"Title\ne.g. protein"
553+
"Title\ne.g. apoptosis"
552554
lit_citation_id: NotRequired[str]
553555
"Citation ID\ne.g. CI-6EPRJ6MFFS5LC"
554556
computational_pubmed_id: NotRequired[str]
555-
"Computational PubMed ID\ne.g. 15165820"
557+
"Computational PubMed ID\ne.g. 1697263"
556558
community_pubmed_id: NotRequired[str]
557-
"Community PubMed ID\ne.g. 15165820"
559+
"Community PubMed ID\ne.g. 30699149"
558560
proteome: NotRequired[str]
559561
"Proteome ID\ne.g. UP000005640"
560562
proteomecomponent: NotRequired[str]
561563
"Proteome Component\ne.g. chromosome"
562564
scope: NotRequired[str]
563-
"Cited for\ne.g. microtubule"
565+
"Cited for\ne.g. function"
564566
reviewed: NotRequired[bool]
565567
"Reviewed\ne.g. true"
566568
active: NotRequired[bool]
@@ -753,9 +755,7 @@ class UniprotkbQueryDict(TypedDict):
753755
UniprotkbPolymorphismAndMutation: TypeAlias = Literal[
754756
"xref_alzforum", "xref_biomuta", "xref_dmdm", "xref_dbsnp"
755757
]
756-
UniprotkbTwodGel: TypeAlias = Literal[
757-
"xref_compluyeast-2dpage", "xref_ogp", "xref_reproduction-2dpage"
758-
]
758+
UniprotkbTwodGel: TypeAlias = Literal["xref_ogp", "xref_reproduction-2dpage"]
759759
UniprotkbProteomic: TypeAlias = Literal[
760760
"xref_cptac",
761761
"xref_massive",
@@ -769,7 +769,7 @@ class UniprotkbQueryDict(TypedDict):
769769
"xref_jpost",
770770
]
771771
UniprotkbProtocolsAndMaterials: TypeAlias = Literal[
772-
"xref_abcd", "xref_antibodypedia", "xref_cptc", "xref_dnasu"
772+
"xref_abcd", "xref_antibodypedia", "xref_cptc", "xref_dnasu", "xref_ycharos"
773773
]
774774
UniprotkbGenomeAnnotation: TypeAlias = Literal[
775775
"xref_ensembl",
@@ -846,11 +846,13 @@ class UniprotkbQueryDict(TypedDict):
846846
"xref_reactome",
847847
"xref_sabio-rk",
848848
"xref_signor",
849+
"xref_strenda-db",
849850
"xref_signalink",
850851
"xref_unipathway",
851852
]
852853
UniprotkbOther: TypeAlias = Literal[
853854
"xref_biogrid-orcs",
855+
"xref_cd-code",
854856
"xref_chitars",
855857
"xref_evolutionarytrace",
856858
"xref_genewiki",
@@ -868,8 +870,10 @@ class UniprotkbQueryDict(TypedDict):
868870
"xref_bgee", "xref_cleanex", "xref_collectf", "xref_expressionatlas"
869871
]
870872
UniprotkbFamilyAndDomain: TypeAlias = Literal[
873+
"xref_antifam",
871874
"xref_cdd",
872875
"xref_disprot",
876+
"xref_funfam",
873877
"xref_gene3d",
874878
"xref_hamap",
875879
"xref_ideal",

0 commit comments

Comments
 (0)