@rcsb/rcsb-saguaro-app 4.3.6 → 4.4.0-models.2
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.
- package/build/dist/RcsbCollectTools/AlignmentCollector/AlignmentCollector.d.ts +19 -0
- package/build/dist/RcsbCollectTools/{SequenceCollector/SequenceCollectorInterface.d.ts → AlignmentCollector/AlignmentCollectorInterface.d.ts} +4 -6
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationCollector.d.ts +3 -18
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface.d.ts +6 -8
- package/build/dist/RcsbCollectTools/DataCollectors/MultipleEntryPropertyCollector.d.ts +1 -0
- package/build/dist/RcsbCollectTools/FeatureTools/ExternalTrackBuilderInterface.d.ts +1 -2
- package/build/dist/RcsbFvExamples/SequenceIdentityGroupFv.d.ts +1 -0
- package/build/dist/RcsbFvExamples/UniprotGroupFv.d.ts +1 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AlignmentBlockFactory.d.ts +10 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/AnnotationsBlockFactory.d.ts +14 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockFactoryInterface.d.ts +4 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.d.ts +22 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationTrackManager.d.ts +11 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/BlockManagerInterface.d.ts +5 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/TrackManagerInterface.d.ts +27 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/AlignmentTrackFactory.d.ts +19 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/AnnotationsTrackFactory.d.ts +6 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/ObservedAlignmentTrackFactory.d.ts +17 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/PlainAlignmentTrackFactory.d.ts +23 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/PlainObservedAlignmentTrackFactory.d.ts +17 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/PositionalScoreAlignmentTrackFactory.d.ts +16 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/SequenceTrackFactory.d.ts +20 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryInterface.d.ts +4 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/UniprotAlignmentTrackFactory.d.ts +12 -0
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.d.ts +14 -8
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAlignment.d.ts +0 -2
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvGroupAnnotation.d.ts +0 -2
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvInterface.d.ts +0 -2
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvModuleInterface.d.ts +2 -1
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvUniprot.d.ts +0 -2
- package/build/dist/RcsbUtils/Helpers/TagDelimiter.d.ts +8 -0
- package/build/dist/RcsbUtils/{AnnotationGenerators → TrackGenerators}/AlignmentGlobalBindingSite.d.ts +0 -0
- package/build/dist/RcsbUtils/{AnnotationGenerators → TrackGenerators}/AlignmentVariation.d.ts +0 -0
- package/build/dist/RcsbUtils/{AnnotationGenerators → TrackGenerators}/BurialFraction.d.ts +0 -0
- package/build/dist/RcsbUtils/{AnnotationGenerators → TrackGenerators}/BuriedResidues.d.ts +0 -0
- package/build/dist/RcsbUtils/{AnnotationGenerators → TrackGenerators}/Logo.d.ts +0 -0
- package/build/dist/RcsbUtils/Translators/PolymerEntityInstanceTranslate.d.ts +3 -2
- package/build/dist/app.js +1 -2
- package/build/dist/config.js +1 -0
- package/build/dist/constants.js +1 -2
- package/build/dist/plot.js +1 -2
- package/build/dist/worker.js +1 -2
- package/package.json +7 -3
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationCollectorHelper.d.ts +0 -11
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationTrack.d.ts +0 -40
- package/build/dist/RcsbCollectTools/AnnotationCollector/AnnotationTrackManager.d.ts +0 -19
- package/build/dist/RcsbCollectTools/CoreCollectorInterface.d.ts +0 -8
- package/build/dist/RcsbCollectTools/SequenceCollector/GenomeMapCollector.d.ts +0 -16
- package/build/dist/RcsbCollectTools/SequenceCollector/ObservedSequenceCollector.d.ts +0 -26
- package/build/dist/RcsbCollectTools/SequenceCollector/SequenceCollector.d.ts +0 -40
- package/build/dist/RcsbCollectTools/SequenceCollector/SequenceCollectorHelper.d.ts +0 -36
- package/build/dist/app.js.map +0 -1
- package/build/dist/constants.js.map +0 -1
- package/build/dist/plot.js.map +0 -1
- package/build/dist/worker.js.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AlignmentCollectConfig, AlignmentCollectorInterface } from "./AlignmentCollectorInterface";
|
|
2
|
+
import { RcsbClient } from "../../RcsbGraphQL/RcsbClient";
|
|
3
|
+
import { AlignmentResponse } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
4
|
+
export declare class AlignmentCollector implements AlignmentCollectorInterface {
|
|
5
|
+
private sequenceLength;
|
|
6
|
+
private requestStatus;
|
|
7
|
+
private dynamicDisplay;
|
|
8
|
+
readonly rcsbFvQuery: RcsbClient;
|
|
9
|
+
private readonly targetsSubject;
|
|
10
|
+
private alignmentResponse;
|
|
11
|
+
private readonly alignmentResponseSubject;
|
|
12
|
+
private readonly alignmentLengthSubject;
|
|
13
|
+
collect(requestConfig: AlignmentCollectConfig, filter?: Array<string>): Promise<AlignmentResponse>;
|
|
14
|
+
getTargets(): Promise<Array<string>>;
|
|
15
|
+
getAlignment(): Promise<AlignmentResponse>;
|
|
16
|
+
getAlignmentLength(): Promise<number>;
|
|
17
|
+
requestAlignment(requestConfig: AlignmentCollectConfig): Promise<AlignmentResponse>;
|
|
18
|
+
private complete;
|
|
19
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { CoreCollectorInterface } from "../CoreCollectorInterface";
|
|
2
|
-
import { SequenceCollectorDataInterface } from "./SequenceCollector";
|
|
3
1
|
import { AlignmentResponse, QueryAlignmentArgs } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
4
2
|
import { RcsbQueryGroupAlignmentArguments } from "../../RcsbGraphQL/RcsbQueryAlignment";
|
|
5
3
|
interface CommonAlignmentInterface {
|
|
@@ -15,10 +13,10 @@ export interface CollectGroupAlignmentInterface extends RcsbQueryGroupAlignmentA
|
|
|
15
13
|
sequencePrefix: string;
|
|
16
14
|
}
|
|
17
15
|
export declare type AlignmentCollectConfig = Partial<CollectAlignmentInterface & CollectGroupAlignmentInterface>;
|
|
18
|
-
export interface
|
|
16
|
+
export interface AlignmentCollectorInterface {
|
|
19
17
|
getTargets(): Promise<Array<string>>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
collect(requestConfig: CollectAlignmentInterface | CollectGroupAlignmentInterface, filter?: Array<string
|
|
18
|
+
getAlignment(): Promise<AlignmentResponse>;
|
|
19
|
+
getAlignmentLength(): Promise<number>;
|
|
20
|
+
collect(requestConfig: CollectAlignmentInterface | CollectGroupAlignmentInterface, filter?: Array<string>): Promise<AlignmentResponse>;
|
|
23
21
|
}
|
|
24
22
|
export {};
|
|
@@ -1,31 +1,16 @@
|
|
|
1
|
-
import { RcsbFvRowConfigInterface } from '@rcsb/rcsb-saguaro';
|
|
2
1
|
import { AnnotationFeatures, Feature } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
2
|
import { RcsbClient } from "../../RcsbGraphQL/RcsbClient";
|
|
4
|
-
import {
|
|
5
|
-
import { AnnotationCollectConfig, AnnotationCollectorInterface } from "./AnnotationCollectorInterface";
|
|
6
|
-
import { AnnotationConfigInterface } from "../../RcsbAnnotationConfig/AnnotationConfigInterface";
|
|
7
|
-
import { ExternalTrackBuilderInterface } from "../FeatureTools/ExternalTrackBuilderInterface";
|
|
3
|
+
import { AnnotationRequestContext, AnnotationCollectorInterface } from "./AnnotationCollectorInterface";
|
|
8
4
|
export declare class AnnotationCollector implements AnnotationCollectorInterface {
|
|
9
|
-
private readonly rcsbAnnotationConfig;
|
|
10
|
-
private readonly annotationsConfigData;
|
|
11
5
|
readonly rcsbFvQuery: RcsbClient;
|
|
12
|
-
private polymerEntityInstanceTranslator;
|
|
13
6
|
private requestStatus;
|
|
14
7
|
private rawFeatures;
|
|
15
|
-
private readonly rawFeaturesSubject;
|
|
16
|
-
private readonly annotationsConfigDataSubject;
|
|
17
|
-
private readonly annotationTrackManager;
|
|
18
8
|
private annotationFeatures;
|
|
9
|
+
private readonly rawFeaturesSubject;
|
|
19
10
|
private readonly annotationFeaturesSubject;
|
|
20
|
-
|
|
21
|
-
constructor(acm?: AnnotationConfigInterface);
|
|
22
|
-
collect(requestConfig: AnnotationCollectConfig): Promise<Array<RcsbFvRowConfigInterface>>;
|
|
23
|
-
setPolymerEntityInstanceTranslator(p: PolymerEntityInstanceTranslate): void;
|
|
24
|
-
setExternalTrackBuilder(externalTrackBuilder: ExternalTrackBuilderInterface): void;
|
|
11
|
+
collect(requestConfig: AnnotationRequestContext): Promise<Array<AnnotationFeatures>>;
|
|
25
12
|
getFeatures(): Promise<Array<Feature>>;
|
|
26
|
-
getAnnotationConfigData(): Promise<Array<RcsbFvRowConfigInterface>>;
|
|
27
13
|
getAnnotationFeatures(): Promise<Array<AnnotationFeatures>>;
|
|
28
|
-
private processRcsbPdbAnnotations;
|
|
29
14
|
private requestAnnotations;
|
|
30
15
|
private complete;
|
|
31
16
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { CoreCollectorInterface } from "../CoreCollectorInterface";
|
|
2
|
-
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
3
1
|
import { AnnotationFeatures, Feature, QueryAnnotationsArgs, QueryGroup_AnnotationsArgs } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
4
|
-
import {
|
|
2
|
+
import { FeaturePositionGaps } from "../../RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationTrackManager";
|
|
5
3
|
import { ExternalTrackBuilderInterface } from "../FeatureTools/ExternalTrackBuilderInterface";
|
|
6
4
|
import { PolymerEntityInstanceInterface } from "../DataCollectors/PolymerEntityInstancesCollector";
|
|
5
|
+
import { TrackManagerInterface } from "../../RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/TrackManagerInterface";
|
|
7
6
|
export declare type IncreaseAnnotationValueType = (feature: {
|
|
8
7
|
type: string;
|
|
9
8
|
targetId: string;
|
|
@@ -13,7 +12,7 @@ export declare type IncreaseAnnotationValueType = (feature: {
|
|
|
13
12
|
}) => number;
|
|
14
13
|
export interface AnnotationProcessingInterface {
|
|
15
14
|
getAnnotationValue?: IncreaseAnnotationValueType;
|
|
16
|
-
computeAnnotationValue?: (annotationTracks: Map<string,
|
|
15
|
+
computeAnnotationValue?: (annotationTracks: Map<string, TrackManagerInterface>) => void;
|
|
17
16
|
addTrackElementCallback?: IncreaseAnnotationValueType;
|
|
18
17
|
}
|
|
19
18
|
export interface CommonAnnotationInterface {
|
|
@@ -31,10 +30,9 @@ export interface CollectAnnotationsInterface extends QueryAnnotationsArgs, Commo
|
|
|
31
30
|
}
|
|
32
31
|
export interface CollectGroupAnnotationsInterface extends QueryGroup_AnnotationsArgs, CommonAnnotationInterface {
|
|
33
32
|
}
|
|
34
|
-
export declare type
|
|
35
|
-
export interface AnnotationCollectorInterface
|
|
36
|
-
collect(requestConfig: CollectAnnotationsInterface | CollectGroupAnnotationsInterface): Promise<Array<
|
|
37
|
-
getAnnotationConfigData(): Promise<Array<RcsbFvRowConfigInterface>>;
|
|
33
|
+
export declare type AnnotationRequestContext = Partial<CollectAnnotationsInterface & CollectGroupAnnotationsInterface>;
|
|
34
|
+
export interface AnnotationCollectorInterface {
|
|
35
|
+
collect(requestConfig: CollectAnnotationsInterface | CollectGroupAnnotationsInterface): Promise<Array<AnnotationFeatures>>;
|
|
38
36
|
getAnnotationFeatures(): Promise<Array<AnnotationFeatures>>;
|
|
39
37
|
getFeatures(): Promise<Array<Feature>>;
|
|
40
38
|
}
|
|
@@ -8,6 +8,7 @@ export interface EntryPropertyIntreface {
|
|
|
8
8
|
taxNames: Array<string>;
|
|
9
9
|
entryMolecularWeight: number;
|
|
10
10
|
description: Array<string>;
|
|
11
|
+
entityToInstance: Map<string, Array<string>>;
|
|
11
12
|
}
|
|
12
13
|
export declare class MultipleEntryPropertyCollector {
|
|
13
14
|
private readonly rcsbFvQuery;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
2
2
|
import { AlignmentResponse, AnnotationFeatures } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
|
-
import { SequenceCollectorDataInterface } from "../SequenceCollector/SequenceCollector";
|
|
4
3
|
import { PolymerEntityInstanceInterface } from "../DataCollectors/PolymerEntityInstancesCollector";
|
|
5
4
|
export interface ExternalTrackBuilderInterface {
|
|
6
5
|
processAlignmentAndFeatures?(data: {
|
|
@@ -17,7 +16,7 @@ export interface ExternalTrackBuilderInterface {
|
|
|
17
16
|
rcsbContext?: Partial<PolymerEntityInstanceInterface>;
|
|
18
17
|
}): Promise<Array<AnnotationFeatures>>;
|
|
19
18
|
addTo?(tracks: {
|
|
20
|
-
alignmentTracks?:
|
|
19
|
+
alignmentTracks?: Array<RcsbFvRowConfigInterface>;
|
|
21
20
|
annotationTracks?: Array<RcsbFvRowConfigInterface>;
|
|
22
21
|
rcsbContext?: Partial<PolymerEntityInstanceInterface>;
|
|
23
22
|
}): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AlignmentResponse, AnnotationFeatures, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
+
import { AlignmentRequestContextType } from "../RcsbFvTrackFactory/AlignmentTrackFactory";
|
|
3
|
+
import { BlockFactoryInterface } from "./BlockFactoryInterface";
|
|
4
|
+
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
5
|
+
import { TrackFactoryInterface } from "../RcsbFvTrackFactory/TrackFactoryInterface";
|
|
6
|
+
export declare class AlignmentBlockFactory implements BlockFactoryInterface<[AlignmentRequestContextType, AlignmentResponse, Array<AnnotationFeatures>]> {
|
|
7
|
+
private readonly alignmentTrackFactory;
|
|
8
|
+
constructor(alignmentTrackFactory: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment, Array<AnnotationFeatures>]> | TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>);
|
|
9
|
+
getBlock(alignmentRequestContext: AlignmentRequestContextType, alignmentData: AlignmentResponse, features?: Array<AnnotationFeatures>): Promise<RcsbFvRowConfigInterface[]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AnnotationRequestContext } from "../../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
2
|
+
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
3
|
+
import { BlockFactoryInterface } from "./BlockFactoryInterface";
|
|
4
|
+
import { AnnotationFeatures } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
5
|
+
import { TrackFactoryInterface } from "../RcsbFvTrackFactory/TrackFactoryInterface";
|
|
6
|
+
import { BlockManagerInterface } from "./BlockManager/BlockManagerInterface";
|
|
7
|
+
import { TrackManagerInterface } from "./BlockManager/TrackManagerInterface";
|
|
8
|
+
export declare class AnnotationsBlockFactory implements BlockFactoryInterface<[AnnotationRequestContext, AnnotationFeatures[]]> {
|
|
9
|
+
private readonly annotationBlockManager;
|
|
10
|
+
private readonly annotationsBlockData;
|
|
11
|
+
private readonly annotationTrackFactory;
|
|
12
|
+
constructor(annotationBlockManager: BlockManagerInterface<[AnnotationRequestContext, AnnotationFeatures[]]>, annotationTrackFactory: TrackFactoryInterface<[TrackManagerInterface]>);
|
|
13
|
+
getBlock(annotationsRequestContext: AnnotationRequestContext, annotations: AnnotationFeatures[]): Promise<RcsbFvRowConfigInterface[]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AnnotationFeatures } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
+
import { RcsbAnnotationConfig } from "../../../../RcsbAnnotationConfig/RcsbAnnotationConfig";
|
|
3
|
+
import { PolymerEntityInstanceTranslate } from "../../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
4
|
+
import { AnnotationRequestContext } from "../../../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
5
|
+
import { BlockManagerInterface } from "./BlockManagerInterface";
|
|
6
|
+
import { TrackManagerFactoryInterface, TrackManagerInterface } from "./TrackManagerInterface";
|
|
7
|
+
import { RcsbAnnotationConfigInterface } from "../../../../RcsbAnnotationConfig/AnnotationConfigInterface";
|
|
8
|
+
export declare class AnnotationBlockManager implements BlockManagerInterface<[AnnotationRequestContext, AnnotationFeatures[]]> {
|
|
9
|
+
private readonly rcsbAnnotationConfig;
|
|
10
|
+
private readonly annotationTracks;
|
|
11
|
+
private readonly polymerEntityInstanceTranslator;
|
|
12
|
+
private readonly trackManagerFactory;
|
|
13
|
+
constructor(trackManagerFactory: TrackManagerFactoryInterface<[string, RcsbAnnotationConfigInterface, PolymerEntityInstanceTranslate]>, rcsbAnnotationConfig: RcsbAnnotationConfig, polymerEntityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
14
|
+
setData(requestConfig: AnnotationRequestContext, data: Array<AnnotationFeatures>): Promise<void>;
|
|
15
|
+
getTracks(): Array<TrackManagerInterface>;
|
|
16
|
+
private has;
|
|
17
|
+
private orderedTypes;
|
|
18
|
+
private addAnnotationToTracks;
|
|
19
|
+
private addFeature;
|
|
20
|
+
private buildType;
|
|
21
|
+
private mergeTracks;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RcsbFvTrackDataElementGapInterface } from "@rcsb/rcsb-saguaro";
|
|
2
|
+
import { FeaturePosition } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
|
+
import { PolymerEntityInstanceTranslate } from "../../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
4
|
+
import { RcsbAnnotationConfigInterface } from "../../../../RcsbAnnotationConfig/AnnotationConfigInterface";
|
|
5
|
+
import { TrackManagerFactoryInterface, TrackManagerInterface } from "./TrackManagerInterface";
|
|
6
|
+
export interface FeaturePositionGaps extends FeaturePosition {
|
|
7
|
+
gaps?: Array<RcsbFvTrackDataElementGapInterface>;
|
|
8
|
+
}
|
|
9
|
+
export declare class AnnotationTrackManagerFactory implements TrackManagerFactoryInterface<[string, RcsbAnnotationConfigInterface, PolymerEntityInstanceTranslate]> {
|
|
10
|
+
getTrackManager(trackId: string, annotationConfig: RcsbAnnotationConfigInterface, entityInstanceTranslator: PolymerEntityInstanceTranslate): TrackManagerInterface;
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RcsbAnnotationConfigInterface } from "../../../../RcsbAnnotationConfig/AnnotationConfigInterface";
|
|
2
|
+
import { Feature, SequenceReference, Source } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
|
+
import { AnnotationProcessingInterface } from "../../../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
4
|
+
import { RcsbFvTrackDataElementInterface } from "@rcsb/rcsb-saguaro";
|
|
5
|
+
export interface TrackManagerFactoryInterface<T extends any[]> {
|
|
6
|
+
getTrackManager(...args: T): TrackManagerInterface;
|
|
7
|
+
}
|
|
8
|
+
export interface TrackManagerInterface {
|
|
9
|
+
getTrackId(): string;
|
|
10
|
+
getConfig(): RcsbAnnotationConfigInterface;
|
|
11
|
+
getRange(): {
|
|
12
|
+
min: number;
|
|
13
|
+
max: number;
|
|
14
|
+
};
|
|
15
|
+
addFeature(ann: {
|
|
16
|
+
reference: SequenceReference | undefined;
|
|
17
|
+
queryId: string;
|
|
18
|
+
source: Source;
|
|
19
|
+
targetId: string;
|
|
20
|
+
feature: Feature;
|
|
21
|
+
}, annotationProcessing?: AnnotationProcessingInterface): void;
|
|
22
|
+
size(): number;
|
|
23
|
+
forEach(f: (ann: RcsbFvTrackDataElementInterface, loc: string) => void): void;
|
|
24
|
+
addAll(trackElementsMap: TrackManagerInterface, color?: string): void;
|
|
25
|
+
getTrackProvenance(): Set<string>;
|
|
26
|
+
values(): Array<RcsbFvTrackDataElementInterface>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RcsbFvLink, RcsbFvRowConfigInterface, RcsbFvTrackDataElementInterface } from "@rcsb/rcsb-saguaro";
|
|
2
|
+
import { AlignedRegion, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
|
+
import { PolymerEntityInstanceTranslate, AlignmentContextInterface } from "../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
4
|
+
import { TrackFactoryInterface } from "./TrackFactoryInterface";
|
|
5
|
+
import { AlignmentCollectConfig } from "../../../RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface";
|
|
6
|
+
export declare type AlignmentRequestContextType = AlignmentCollectConfig & {
|
|
7
|
+
querySequence?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare class AlignmentTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
10
|
+
private readonly sequenceTrackFactory;
|
|
11
|
+
private readonly entityInstanceTranslator;
|
|
12
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
13
|
+
getTrack(alignmentRequestContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList?: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>): Promise<RcsbFvRowConfigInterface>;
|
|
14
|
+
buildAlignmentRowTitle(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment): string | RcsbFvLink;
|
|
15
|
+
private getAlignmentTrackConfiguration;
|
|
16
|
+
private buildInstanceId;
|
|
17
|
+
alignedRegionToTrackElementList(region: AlignedRegion, alignmentContext: AlignmentContextInterface): Array<RcsbFvTrackDataElementInterface>;
|
|
18
|
+
addAuthorResIds(e: RcsbFvTrackDataElementInterface, alignmentContext: AlignmentContextInterface): RcsbFvTrackDataElementInterface;
|
|
19
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TrackFactoryInterface } from "./TrackFactoryInterface";
|
|
2
|
+
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
3
|
+
import { TrackManagerInterface } from "../RcsbFvBlockFactory/BlockManager/TrackManagerInterface";
|
|
4
|
+
export declare class AnnotationsTrackFactory implements TrackFactoryInterface<[TrackManagerInterface]> {
|
|
5
|
+
getTrack(annotations: TrackManagerInterface): Promise<RcsbFvRowConfigInterface>;
|
|
6
|
+
}
|
package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/ObservedAlignmentTrackFactory.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AnnotationFeatures, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
+
import { PolymerEntityInstanceTranslate } from "../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
3
|
+
import { TrackFactoryInterface } from "./TrackFactoryInterface";
|
|
4
|
+
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
5
|
+
import { AlignmentRequestContextType } from "./AlignmentTrackFactory";
|
|
6
|
+
export declare class ObservedAlignmentTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
7
|
+
private alignmentTrackFactory;
|
|
8
|
+
private unObservedResidues;
|
|
9
|
+
private readonly instanceEntityMap;
|
|
10
|
+
private readonly entityInstanceNumberMap;
|
|
11
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
12
|
+
getTrack(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment): Promise<RcsbFvRowConfigInterface>;
|
|
13
|
+
prepareFeatures(unObservedRegions: Array<AnnotationFeatures>): Promise<void>;
|
|
14
|
+
private collectFeatureEntryProperties;
|
|
15
|
+
private prepareFeaturesAlignmentMap;
|
|
16
|
+
private alignedRegionToTrackElementList;
|
|
17
|
+
}
|
package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/PlainAlignmentTrackFactory.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RcsbFvColorGradient, RcsbFvLink, RcsbFvRowConfigInterface, RcsbFvTrackDataElementInterface } from "@rcsb/rcsb-saguaro";
|
|
2
|
+
import { AlignedRegion, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
3
|
+
import { PolymerEntityInstanceTranslate, AlignmentContextInterface } from "../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
4
|
+
import { TrackFactoryInterface } from "./TrackFactoryInterface";
|
|
5
|
+
import { AlignmentCollectConfig } from "../../../RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface";
|
|
6
|
+
export declare type AlignmentRequestContextType = AlignmentCollectConfig & {
|
|
7
|
+
querySequence?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare class PlainAlignmentTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
10
|
+
private readonly sequenceTrackFactory;
|
|
11
|
+
private readonly entityInstanceTranslator;
|
|
12
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
13
|
+
getTrack(alignmentRequestContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList?: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>, alignmentColor?: RcsbFvColorGradient): Promise<RcsbFvRowConfigInterface>;
|
|
14
|
+
buildAlignmentRowTitle(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment): string | RcsbFvLink;
|
|
15
|
+
getAlignmentTrackConfiguration(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>): {
|
|
16
|
+
alignedBlocks: Array<RcsbFvTrackDataElementInterface>;
|
|
17
|
+
mismatchData: Array<RcsbFvTrackDataElementInterface>;
|
|
18
|
+
sequenceData: Array<RcsbFvTrackDataElementInterface>;
|
|
19
|
+
};
|
|
20
|
+
private buildInstanceId;
|
|
21
|
+
alignedRegionToTrackElementList(region: AlignedRegion, alignmentContext: AlignmentContextInterface): Array<RcsbFvTrackDataElementInterface>;
|
|
22
|
+
addAuthorResIds(e: RcsbFvTrackDataElementInterface, alignmentContext: AlignmentContextInterface): RcsbFvTrackDataElementInterface;
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AnnotationFeatures, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
+
import { PolymerEntityInstanceTranslate } from "../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
3
|
+
import { TrackFactoryInterface } from "./TrackFactoryInterface";
|
|
4
|
+
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
5
|
+
import { AlignmentRequestContextType } from "./AlignmentTrackFactory";
|
|
6
|
+
export declare class PlainObservedAlignmentTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
7
|
+
private alignmentTrackFactory;
|
|
8
|
+
private unObservedResidues;
|
|
9
|
+
private readonly instanceEntityMap;
|
|
10
|
+
private readonly entityInstanceNumberMap;
|
|
11
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
12
|
+
getTrack(alignmentRequestContext: AlignmentRequestContextType, targetAlignment: TargetAlignment): Promise<RcsbFvRowConfigInterface>;
|
|
13
|
+
prepareFeatures(unObservedRegions: Array<AnnotationFeatures>): Promise<void>;
|
|
14
|
+
private collectFeatureEntryProperties;
|
|
15
|
+
private prepareFeaturesAlignmentMap;
|
|
16
|
+
private alignedRegionToTrackElementList;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AlignedRegion, AnnotationFeatures, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
+
import { AlignmentContextInterface, PolymerEntityInstanceTranslate } from "../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
3
|
+
import { TrackFactoryInterface } from "./TrackFactoryInterface";
|
|
4
|
+
import { RcsbFvRowConfigInterface, RcsbFvTrackDataElementInterface } from "@rcsb/rcsb-saguaro";
|
|
5
|
+
import { AlignmentRequestContextType } from "./AlignmentTrackFactory";
|
|
6
|
+
export declare class PositionalScoreAlignmentTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
7
|
+
private alignmentTrackFactory;
|
|
8
|
+
private positionalScores;
|
|
9
|
+
private readonly instanceEntityMap;
|
|
10
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
11
|
+
getTrack(alignmentRequestContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList?: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>): Promise<RcsbFvRowConfigInterface>;
|
|
12
|
+
prepareFeatures(positionalScores: Array<AnnotationFeatures>): Promise<void>;
|
|
13
|
+
private collectFeatureEntryProperties;
|
|
14
|
+
private prepareFeaturesAlignmentMap;
|
|
15
|
+
private alignedRegionToTrackElementList;
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AlignmentCollectConfig } from "../../../RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface";
|
|
2
|
+
import { RcsbFvLink, RcsbFvRowConfigInterface, RcsbFvTrackDataElementInterface } from "@rcsb/rcsb-saguaro";
|
|
3
|
+
import { PolymerEntityInstanceTranslate, AlignmentContextInterface } from "../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
4
|
+
import { TrackFactoryInterface } from "./TrackFactoryInterface";
|
|
5
|
+
import { AlignmentRequestContextType } from "./AlignmentTrackFactory";
|
|
6
|
+
interface BuildSequenceDataInterface extends AlignmentContextInterface {
|
|
7
|
+
sequence: string;
|
|
8
|
+
begin: number;
|
|
9
|
+
oriBegin: number;
|
|
10
|
+
}
|
|
11
|
+
export declare class SequenceTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, string]> {
|
|
12
|
+
private readonly entityInstanceTranslator;
|
|
13
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
14
|
+
getTrack(alignmentQueryContext: AlignmentRequestContextType, querySequence: string): Promise<RcsbFvRowConfigInterface>;
|
|
15
|
+
buildSequenceData(config: BuildSequenceDataInterface, source: "from" | "to"): Array<RcsbFvTrackDataElementInterface>;
|
|
16
|
+
addAuthorResIds(e: RcsbFvTrackDataElementInterface, alignmentContext: AlignmentContextInterface): RcsbFvTrackDataElementInterface;
|
|
17
|
+
buildSequenceRowTitle(requestConfig: AlignmentCollectConfig): string | RcsbFvLink;
|
|
18
|
+
private buildInstanceId;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/UniprotAlignmentTrackFactory.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TrackFactoryInterface } from "./TrackFactoryInterface";
|
|
2
|
+
import { AlignmentRequestContextType } from "./AlignmentTrackFactory";
|
|
3
|
+
import { AnnotationFeatures, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
4
|
+
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
5
|
+
import { PolymerEntityInstanceTranslate } from "../../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
6
|
+
export declare class UniprotAlignmentTrackFactory implements TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]> {
|
|
7
|
+
private observedAlignmentTrackFactory;
|
|
8
|
+
private positionalScoreAlignmentTrackFactory;
|
|
9
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
10
|
+
getTrack(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment): Promise<RcsbFvRowConfigInterface>;
|
|
11
|
+
prepareFeatures(unObservedRegions: Array<AnnotationFeatures>, positionalScores: Array<AnnotationFeatures>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import { RcsbFv, RcsbFvBoardConfigInterface, RcsbFvRowConfigInterface } from '@rcsb/rcsb-saguaro';
|
|
2
|
-
import { SequenceCollectorDataInterface } from "../../RcsbCollectTools/SequenceCollector/SequenceCollector";
|
|
3
2
|
import { PolymerEntityInstanceTranslate } from "../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
4
|
-
import {
|
|
5
|
-
import { AnnotationCollectorInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
3
|
+
import { AlignmentCollectorInterface } from "../../RcsbCollectTools/AlignmentCollector/AlignmentCollectorInterface";
|
|
4
|
+
import { AnnotationRequestContext, AnnotationCollectorInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
6
5
|
import { RcsbFvModuleBuildInterface, RcsbFvModuleInterface } from "./RcsbFvModuleInterface";
|
|
7
|
-
import { AlignmentResponse, Feature } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
6
|
+
import { AlignmentResponse, AnnotationFeatures, Feature, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
7
|
+
import { TrackFactoryInterface } from "../RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryInterface";
|
|
8
|
+
import { AlignmentRequestContextType } from "../RcsbFvFactories/RcsbFvTrackFactory/AlignmentTrackFactory";
|
|
9
|
+
import { AnnotationConfigInterface } from "../../RcsbAnnotationConfig/AnnotationConfigInterface";
|
|
8
10
|
export declare abstract class RcsbFvAbstractModule implements RcsbFvModuleInterface {
|
|
9
11
|
protected readonly rcsbFv: RcsbFv;
|
|
10
12
|
protected readonly elementId: string;
|
|
11
13
|
protected boardConfigData: RcsbFvBoardConfigInterface;
|
|
12
14
|
protected rowConfigData: Array<RcsbFvRowConfigInterface>;
|
|
13
15
|
protected polymerEntityInstance: PolymerEntityInstanceTranslate;
|
|
14
|
-
protected readonly
|
|
16
|
+
protected readonly alignmentCollector: AlignmentCollectorInterface;
|
|
15
17
|
protected readonly annotationCollector: AnnotationCollectorInterface;
|
|
16
|
-
protected
|
|
18
|
+
protected referenceTrack: RcsbFvRowConfigInterface;
|
|
19
|
+
protected alignmentTracks: Array<RcsbFvRowConfigInterface>;
|
|
17
20
|
protected annotationTracks: Array<RcsbFvRowConfigInterface>;
|
|
21
|
+
private rcsbFvRowUpdatePromise;
|
|
18
22
|
private activeDisplayFlag;
|
|
19
23
|
constructor(elementId: string, rcsbFv: RcsbFv);
|
|
20
24
|
setPolymerEntityInstanceTranslator(polymerEntityInstance: PolymerEntityInstanceTranslate): void;
|
|
25
|
+
getPolymerEntityInstanceTranslator(): PolymerEntityInstanceTranslate;
|
|
21
26
|
display(): Promise<void>;
|
|
22
27
|
activeDisplay(): boolean;
|
|
23
28
|
getFv(): RcsbFv;
|
|
@@ -25,10 +30,11 @@ export declare abstract class RcsbFvAbstractModule implements RcsbFvModuleInterf
|
|
|
25
30
|
getAlignmentResponse(): Promise<AlignmentResponse>;
|
|
26
31
|
getFeatures(): Promise<Array<Feature>>;
|
|
27
32
|
getAnnotationConfigData(): Promise<Array<RcsbFvRowConfigInterface>>;
|
|
28
|
-
updateBoardConfig(config: Partial<RcsbFvBoardConfigInterface>): void;
|
|
29
33
|
build(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
34
|
+
wait(): Promise<void>;
|
|
30
35
|
protected abstract protectedBuild(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
31
36
|
protected abstract concatAlignmentAndAnnotationTracks(buildConfig: RcsbFvModuleBuildInterface): void;
|
|
37
|
+
protected buildAlignmentTracks(alignmentRequestContext: AlignmentRequestContextType, alignmentResponse: AlignmentResponse, trackFactory?: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>): Promise<void>;
|
|
38
|
+
protected buildAnnotationsTrack(annotationsRequestContext: AnnotationRequestContext, annotationsFeatures: AnnotationFeatures[], annotationConfigMap?: AnnotationConfigInterface): Promise<void>;
|
|
32
39
|
private buildExternalTracks;
|
|
33
|
-
private setExternalTrackBuilder;
|
|
34
40
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { RcsbFvAbstractModule } from "./RcsbFvAbstractModule";
|
|
2
2
|
import { RcsbFvModuleBuildInterface } from "./RcsbFvModuleInterface";
|
|
3
|
-
import { AnnotationCollectorInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
4
3
|
export declare class RcsbFvGroupAlignment extends RcsbFvAbstractModule {
|
|
5
|
-
protected readonly annotationCollector: AnnotationCollectorInterface;
|
|
6
4
|
protected protectedBuild(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
7
5
|
protected concatAlignmentAndAnnotationTracks(buildConfig: RcsbFvModuleBuildInterface): void;
|
|
8
6
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { RcsbFvAbstractModule } from "./RcsbFvAbstractModule";
|
|
2
2
|
import { RcsbFvModuleBuildInterface } from "./RcsbFvModuleInterface";
|
|
3
|
-
import { AnnotationCollectorInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
4
3
|
export declare class RcsbFvGroupAnnotation extends RcsbFvAbstractModule {
|
|
5
|
-
protected readonly annotationCollector: AnnotationCollectorInterface;
|
|
6
4
|
protectedBuild(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
7
5
|
protected concatAlignmentAndAnnotationTracks(buildConfig: RcsbFvModuleBuildInterface): void;
|
|
8
6
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { RcsbFvAbstractModule } from "./RcsbFvAbstractModule";
|
|
2
2
|
import { RcsbFvModuleBuildInterface } from "./RcsbFvModuleInterface";
|
|
3
|
-
import { AnnotationCollectorInterface } from "../../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
4
3
|
export declare class RcsbFvInterface extends RcsbFvAbstractModule {
|
|
5
|
-
protected readonly annotationCollector: AnnotationCollectorInterface;
|
|
6
4
|
private instanceId;
|
|
7
5
|
protected protectedBuild(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
8
6
|
protected concatAlignmentAndAnnotationTracks(buildConfig: RcsbFvModuleBuildInterface): void;
|
|
@@ -53,7 +53,7 @@ export interface RcsbFvModuleInterface extends RcsbFvModulePublicInterface {
|
|
|
53
53
|
display(): void;
|
|
54
54
|
build(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
55
55
|
setPolymerEntityInstanceTranslator(polymerEntityInstance: PolymerEntityInstanceTranslate): void;
|
|
56
|
-
|
|
56
|
+
getPolymerEntityInstanceTranslator(): PolymerEntityInstanceTranslate;
|
|
57
57
|
}
|
|
58
58
|
export interface RcsbFvModulePublicInterface {
|
|
59
59
|
getTargets(): Promise<Array<string>>;
|
|
@@ -61,4 +61,5 @@ export interface RcsbFvModulePublicInterface {
|
|
|
61
61
|
getFeatures(): Promise<Array<Feature>>;
|
|
62
62
|
getAnnotationConfigData(): Promise<Array<RcsbFvRowConfigInterface>>;
|
|
63
63
|
getFv(): RcsbFv;
|
|
64
|
+
wait(): Promise<void>;
|
|
64
65
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { RcsbFvAbstractModule } from "./RcsbFvAbstractModule";
|
|
2
2
|
import { RcsbFvModuleBuildInterface } from "./RcsbFvModuleInterface";
|
|
3
|
-
import { SequenceCollectorInterface } from "../../RcsbCollectTools/SequenceCollector/SequenceCollectorInterface";
|
|
4
3
|
export declare class RcsbFvUniprot extends RcsbFvAbstractModule {
|
|
5
|
-
protected readonly sequenceCollector: SequenceCollectorInterface;
|
|
6
4
|
protected protectedBuild(buildConfig: RcsbFvModuleBuildInterface): Promise<void>;
|
|
7
5
|
protected concatAlignmentAndAnnotationTracks(buildConfig: RcsbFvModuleBuildInterface): void;
|
|
8
6
|
}
|
|
@@ -5,4 +5,12 @@ export declare class TagDelimiter {
|
|
|
5
5
|
static readonly alignmentTitle: string;
|
|
6
6
|
static readonly operatorComposition: string;
|
|
7
7
|
static readonly assembly: string;
|
|
8
|
+
static parseEntity(rcsbId: string): {
|
|
9
|
+
entryId: string;
|
|
10
|
+
entityId: string;
|
|
11
|
+
};
|
|
12
|
+
static parseInstance(rcsbId: string): {
|
|
13
|
+
instanceId: string;
|
|
14
|
+
entryId: string;
|
|
15
|
+
};
|
|
8
16
|
}
|
|
File without changes
|
package/build/dist/RcsbUtils/{AnnotationGenerators → TrackGenerators}/AlignmentVariation.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { PolymerEntityInstanceInterface } from "../../RcsbCollectTools/DataCollectors/PolymerEntityInstancesCollector";
|
|
2
2
|
import { RcsbFvTrackDataElementInterface } from '@rcsb/rcsb-saguaro';
|
|
3
3
|
import { SequenceReference, Source } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
4
|
-
export interface
|
|
4
|
+
export interface AlignmentContextInterface {
|
|
5
5
|
queryId: string;
|
|
6
6
|
targetId: string;
|
|
7
7
|
from: SequenceReference | undefined;
|
|
8
8
|
to: SequenceReference | Source;
|
|
9
9
|
targetSequenceLength?: number;
|
|
10
|
+
querySequenceLength?: number;
|
|
10
11
|
}
|
|
11
12
|
export declare class PolymerEntityInstanceTranslate {
|
|
12
13
|
private readonly rawData;
|
|
@@ -23,6 +24,6 @@ export declare class PolymerEntityInstanceTranslate {
|
|
|
23
24
|
translateAsymToAuth(id: string): string;
|
|
24
25
|
translateAuthToAsym(id: string): string;
|
|
25
26
|
translateAuthResId(asymId: string, index: number): string;
|
|
26
|
-
addAuthorResIds(e: RcsbFvTrackDataElementInterface, alignmentContext:
|
|
27
|
+
addAuthorResIds(e: RcsbFvTrackDataElementInterface, alignmentContext: AlignmentContextInterface): RcsbFvTrackDataElementInterface;
|
|
27
28
|
private helperAddAuthorResIds;
|
|
28
29
|
}
|