@@ -15,6 +15,8 @@ export type ChromosomeShortMap = {[uniquename: string]: ChromosomeShort};
1515export type FeatureTypeSummaryMap = { [ featureTypeName : string ] : FeatureTypeSummary } ;
1616export type GoCamMap = { [ gocamid : GoCamModelId ] : GoCamSummary } ;
1717
18+ export type ComplexPortalId = string ;
19+
1820type ReferenceDetailsMap = { [ referenceUniquename : string ] : ReferenceDetails } ;
1921
2022type TermIdTermMap = { [ termid : string ] : TermShort } ;
@@ -639,6 +641,12 @@ export interface AssignedByPeptideRange {
639641 assigned_by : string ;
640642}
641643
644+ export interface ProteinComplexDetails {
645+ complex_uniquename : ProteinComplexId ;
646+ complex_name ?: string ;
647+ genes : Array < GeneUniquename > ;
648+ }
649+
642650export class GeneDetails {
643651 uniquename : string ;
644652 name : string ;
@@ -667,6 +675,7 @@ export class GeneDetails {
667675 tfexplorer_chipseq_identifier : string ;
668676 tfexplorer_ipms_identifier : string ;
669677 pdb_entries : Array < PDBEntry > ;
678+ complexes : Array < ProteinComplexDetails > ;
670679 gocams : Array < GoCamIdAndTitle > ;
671680 characterisation_status ?: string ;
672681 location : ChromosomeLocation ;
@@ -827,6 +836,8 @@ export type GoCamModelId = string;
827836export type GoCamModelTitle = string ;
828837export type GoCamDirection = 'Incoming' | 'IncomingConstitutivelyUpstream' | 'Outgoing' | 'None' ;
829838
839+ export type ProteinComplexId = string ;
840+
830841export interface GoCamIdAndTitle {
831842 gocam_id : string ;
832843 title ?: string ;
@@ -1365,6 +1376,10 @@ export class PombaseAPIService {
13651376 json . transcripts = [ ] ;
13661377 }
13671378
1379+ if ( ! json . complexes ) {
1380+ json . complexes = [ ] ;
1381+ }
1382+
13681383 for ( let fieldName of [ 'cv_annotations' ,
13691384 'genes_by_uniquename' , 'genotypes_by_uniquename' ,
13701385 'alleles_by_uniquename' , 'references_by_uniquename' ,
0 commit comments