From 0d96fa21b70d37ba53f68535b4a29d361b14f12b Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Sun, 26 Jun 2022 14:03:09 -0700 Subject: [PATCH] schema updates --- src/extensions/rcsb/graphql/types.ts | 19 +++++-------------- src/mol-io/reader/cif/schema/bird.ts | 2 +- src/mol-io/reader/cif/schema/ccd.ts | 2 +- src/mol-io/reader/cif/schema/mmcif.ts | 4 ++-- 4 files changed, 9 insertions(+), 18 deletions(-) diff --git a/src/extensions/rcsb/graphql/types.ts b/src/extensions/rcsb/graphql/types.ts index 2b62e1077..a113cbbe2 100644 --- a/src/extensions/rcsb/graphql/types.ts +++ b/src/extensions/rcsb/graphql/types.ts @@ -4,7 +4,7 @@ export type InputMaybe<T> = Maybe<T>; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }; -// Generated on 2022-04-30T15:35:08-07:00 +// Generated on 2022-06-26T14:02:35-07:00 /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { @@ -3216,15 +3216,6 @@ export type GroupEntry = { readonly rcsb_id: Scalars['String']; }; -export type GroupMembersAlignmentAlignedRegions = { - /** Aligned region length */ - readonly length: Scalars['Int']; - /** Entity seqeunce start position */ - readonly query_begin: Scalars['Int']; - /** NCBI sequence start position */ - readonly target_begin: Scalars['Int']; -}; - export type GroupMembersAlignmentScores = { readonly query_coverage: Scalars['Int']; readonly query_length: Scalars['Int']; @@ -10519,7 +10510,7 @@ export type RcsbPolymerEntityGroupMembership = { export type RcsbPolymerEntityGroupSequenceAlignment = { /** Abstract reference where group members can be aligned to generate a MSA */ readonly abstract_reference: RcsbPolymerEntityGroupSequenceAlignmentAbstractReference; - /** List of alignments with core_entity canonical sequences */ + /** Alignment with a core_entity canonical sequence */ readonly group_members_alignment: ReadonlyArray<Maybe<RcsbPolymerEntityGroupSequenceAlignmentGroupMembersAlignment>>; }; @@ -10531,9 +10522,9 @@ export type RcsbPolymerEntityGroupSequenceAlignmentAbstractReference = { }; export type RcsbPolymerEntityGroupSequenceAlignmentGroupMembersAlignment = { - /** Aligned region */ - readonly aligned_regions: ReadonlyArray<Maybe<GroupMembersAlignmentAlignedRegions>>; - readonly member_id?: Maybe<Scalars['String']>; + /** Alignment region encoded as a triplet [query_begin, target_begin, length] */ + readonly aligned_regions: ReadonlyArray<Maybe<ReadonlyArray<Maybe<Scalars['Int']>>>>; + readonly member_id: Scalars['String']; /** Alignment scores */ readonly scores: GroupMembersAlignmentScores; }; diff --git a/src/mol-io/reader/cif/schema/bird.ts b/src/mol-io/reader/cif/schema/bird.ts index 911af7b53..5d88c181a 100644 --- a/src/mol-io/reader/cif/schema/bird.ts +++ b/src/mol-io/reader/cif/schema/bird.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * - * Code-generated 'BIRD' schema file. Dictionary versions: mmCIF 5.358, IHM 1.17, MA 1.4.0. + * Code-generated 'BIRD' schema file. Dictionary versions: mmCIF 5.359, IHM 1.17, MA 1.4.1. * * @author molstar/ciftools package */ diff --git a/src/mol-io/reader/cif/schema/ccd.ts b/src/mol-io/reader/cif/schema/ccd.ts index 94c5b3259..86ea24606 100644 --- a/src/mol-io/reader/cif/schema/ccd.ts +++ b/src/mol-io/reader/cif/schema/ccd.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * - * Code-generated 'CCD' schema file. Dictionary versions: mmCIF 5.358, IHM 1.17, MA 1.4.0. + * Code-generated 'CCD' schema file. Dictionary versions: mmCIF 5.359, IHM 1.17, MA 1.4.1. * * @author molstar/ciftools package */ diff --git a/src/mol-io/reader/cif/schema/mmcif.ts b/src/mol-io/reader/cif/schema/mmcif.ts index 30dc5254d..51d060ddc 100644 --- a/src/mol-io/reader/cif/schema/mmcif.ts +++ b/src/mol-io/reader/cif/schema/mmcif.ts @@ -1,7 +1,7 @@ /** * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * - * Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.358, IHM 1.17, MA 1.4.0. + * Code-generated 'mmCIF' schema file. Dictionary versions: mmCIF 5.359, IHM 1.17, MA 1.4.1. * * @author molstar/ciftools package */ @@ -4888,7 +4888,7 @@ export const mmCIF_Schema = { * The name of the database containing reference information about * this entity or biological unit. */ - db_name: Aliased<'UNP' | 'GB' | 'OrthoDB' | 'NCBI' | 'JGI' | 'Other'>(str), + db_name: Aliased<'UNP' | 'GB' | 'OrthoDB' | 'NCBI' | 'JGI' | 'Phytozyme' | 'Other'>(str), /** * The code for this entity or biological unit or for a closely * related entity or biological unit in the named database. -- GitLab