@rcsb/rcsb-saguaro-app 4.4.0-models → 4.4.0-models.11
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/7ff3ca6fa798de3f8ac2.woff +0 -0
- package/build/dist/RcsbAnnotationConfig/RcsbAnnotationConfig.d.ts +9 -15
- 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/RcsbExport/RcsbFvUI.d.ts +2 -2
- package/build/dist/RcsbFvExamples/EntitySummaryFv.d.ts +1 -0
- package/build/dist/RcsbFvExamples/GroupHistogram.d.ts +1 -0
- package/build/dist/RcsbFvExamples/InstanceSequenceFv.d.ts +1 -0
- package/build/dist/RcsbFvExamples/SequenceIdentityGroupFv.d.ts +1 -0
- package/build/dist/RcsbFvExamples/SingleEntitySummaryFv.d.ts +1 -0
- package/build/dist/RcsbFvExamples/UniprotGroupFv.d.ts +1 -0
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvContextManager.d.ts +2 -2
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvCoreBuilder.d.ts +2 -2
- package/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.d.ts +1 -1
- package/build/dist/RcsbFvWeb/{WebTools/WebToolsManager.d.ts → RcsbFvComponents/ComponentsManager.d.ts} +4 -7
- package/build/dist/RcsbFvWeb/{WebTools → RcsbFvComponents}/LoaderSpinner.d.ts +0 -0
- package/build/dist/RcsbFvWeb/RcsbFvComponents/MountableComponent.d.ts +8 -0
- package/build/dist/RcsbFvWeb/{WebTools → RcsbFvComponents}/RcsbTabs.d.ts +0 -0
- package/build/dist/RcsbFvWeb/{WebTools → RcsbFvComponents}/SelectButton.d.ts +4 -3
- package/build/dist/RcsbFvWeb/RcsbFvComponents/SelectButtonManager.d.ts +17 -0
- package/build/dist/RcsbFvWeb/RcsbFvComponents/SelectButtonTitle.d.ts +6 -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 +6 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvBlockFactory/BlockManager/AnnotationBlockManager.d.ts +21 -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/TrackFactoryImpl/AlignmentTrackFactory.d.ts +19 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/AnnotationsTrackFactory.d.ts +6 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/ObservedAlignmentTrackFactory.d.ts +17 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainAlignmentTrackFactory.d.ts +23 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PlainObservedAlignmentTrackFactory.d.ts +17 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/PositionalScoreAlignmentTrackFactory.d.ts +16 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/SequenceTrackFactory.d.ts +20 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryImpl/UniprotAlignmentTrackFactory.d.ts +12 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackFactoryInterface.d.ts +4 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryImpl/AlignmentTrackTitleFactory.d.ts +11 -0
- package/build/dist/RcsbFvWeb/RcsbFvFactories/RcsbFvTrackFactory/TrackTitleFactoryInterface.d.ts +4 -0
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvAbstractModule.d.ts +12 -7
- 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 +1 -0
- package/build/dist/RcsbFvWeb/RcsbFvModule/RcsbFvUniprot.d.ts +0 -2
- package/build/dist/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/Components/Slider.d.ts +2 -0
- package/build/dist/RcsbRequest/RcsbRequestContextManager.d.ts +3 -2
- package/build/dist/RcsbUtils/Helpers/TagDelimiter.d.ts +7 -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/app.js.LICENSE.txt +14 -33
- package/build/dist/config.js +5 -1
- package/build/dist/constants.js +1 -2
- package/build/dist/f2539a501be3a673de05.woff2 +0 -0
- package/build/dist/plot.js +1 -2
- package/build/dist/plot.js.LICENSE.txt +12 -29
- package/build/dist/worker.js +1 -2
- package/package.json +37 -27
- 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/a13b815539b49de48d23.woff2 +0 -0
- package/build/dist/app.js.map +0 -1
- package/build/dist/c1d7432ee75fa194e499.woff +0 -0
- package/build/dist/constants.js.map +0 -1
- package/build/dist/plot.js.map +0 -1
- package/build/dist/worker.js.map +0 -1
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Feature } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
-
import { RcsbFvDisplayTypes
|
|
1
|
+
import { AnnotationFeatures, Feature } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
+
import { RcsbFvDisplayTypes } from '@rcsb/rcsb-saguaro';
|
|
3
3
|
import { AnnotationConfigInterface, RcsbAnnotationConfigInterface } from "./AnnotationConfigInterface";
|
|
4
|
+
import { AnnotationRequestContext } from "../RcsbCollectTools/AnnotationCollector/AnnotationCollectorInterface";
|
|
4
5
|
export interface RcsbMergedTypesInterface {
|
|
5
6
|
merged_types: Array<string>;
|
|
6
7
|
title: string;
|
|
@@ -10,28 +11,21 @@ export interface RcsbMergedTypesInterface {
|
|
|
10
11
|
export declare class RcsbAnnotationConfig {
|
|
11
12
|
private readonly annotationConfigMap;
|
|
12
13
|
private readonly annotationMap;
|
|
13
|
-
private readonly
|
|
14
|
-
private readonly instanceAnnotationsOrder;
|
|
15
|
-
private readonly entityAnnotationsOrder;
|
|
14
|
+
private readonly annotationTypes;
|
|
16
15
|
private readonly mergedTypes;
|
|
17
|
-
private readonly addedTypes;
|
|
18
16
|
constructor(acm?: AnnotationConfigInterface);
|
|
19
17
|
getConfig(type: string): RcsbAnnotationConfigInterface;
|
|
20
18
|
allTypes(): Set<string>;
|
|
21
19
|
uniprotOrder(): Array<string>;
|
|
22
20
|
instanceOrder(): Array<string>;
|
|
23
21
|
entityOrder(): Array<string>;
|
|
24
|
-
|
|
22
|
+
getAnnotationType(requestConfig: AnnotationRequestContext, ann: AnnotationFeatures, feature: Feature): Promise<string>;
|
|
23
|
+
isMergedType(type: string): boolean;
|
|
24
|
+
getMergeConfig(type: string): RcsbMergedTypesInterface;
|
|
25
25
|
private addNewType;
|
|
26
|
-
sortAndIncludeNewTypes(): void;
|
|
27
26
|
private checkAndIncludeNewType;
|
|
28
|
-
private cleanAddedTypes;
|
|
29
|
-
isMergedType(type: string): boolean;
|
|
30
|
-
getMergedType(type: string): string;
|
|
31
|
-
annotationMergedPreference(type: string, a: RcsbFvTrackDataElementInterface, b: RcsbFvTrackDataElementInterface): boolean;
|
|
32
27
|
static randomRgba(str?: string): string;
|
|
33
|
-
addProvenance
|
|
28
|
+
private addProvenance;
|
|
34
29
|
addMultipleProvenance(type: string, provenanceList: Array<string>): void;
|
|
35
|
-
|
|
36
|
-
isTransformedToNumerical(type: string): boolean;
|
|
30
|
+
private initTypes;
|
|
37
31
|
}
|
|
@@ -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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GroupedOptionsInterface, SelectOptionInterface } from "../RcsbFvWeb/
|
|
2
|
-
import { SelectButtonConfigInterface } from "../RcsbFvWeb/
|
|
1
|
+
import { GroupedOptionsInterface, SelectOptionInterface } from "../RcsbFvWeb/RcsbFvComponents/SelectButton";
|
|
2
|
+
import { SelectButtonConfigInterface } from "../RcsbFvWeb/RcsbFvComponents/ComponentsManager";
|
|
3
3
|
export declare class RcsbFvUI {
|
|
4
4
|
static clearSelectButton(elementFvId: string, selectButtonId: string): void;
|
|
5
5
|
static createSelectButton(elementFvId: string, selectButtonId: string, options: Array<SelectOptionInterface> | Array<GroupedOptionsInterface>, config?: SelectButtonConfigInterface): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RcsbFv, RcsbFvBoardConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
2
2
|
declare class RcsbFvContextManager {
|
|
3
|
-
private rcsbFvManager;
|
|
4
|
-
private rcsbButtonManager;
|
|
3
|
+
private readonly rcsbFvManager;
|
|
4
|
+
private readonly rcsbButtonManager;
|
|
5
5
|
getFv(elementFvId: string, boardConfig?: Partial<RcsbFvBoardConfigInterface>): RcsbFv;
|
|
6
6
|
hasFv(elementFvId: string): boolean;
|
|
7
7
|
private setFv;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PolymerEntityInstanceTranslate } from "../../RcsbUtils/Translators/PolymerEntityInstanceTranslate";
|
|
2
2
|
import { RcsbFv } from "@rcsb/rcsb-saguaro";
|
|
3
3
|
import { RcsbFvModuleBuildInterface, RcsbFvModuleInterface, RcsbFvModulePublicInterface } from "../RcsbFvModule/RcsbFvModuleInterface";
|
|
4
|
-
import { SelectButtonConfigInterface } from "../
|
|
5
|
-
import { GroupedOptionsInterface, SelectOptionInterface } from "../
|
|
4
|
+
import { SelectButtonConfigInterface } from "../RcsbFvComponents/ComponentsManager";
|
|
5
|
+
import { GroupedOptionsInterface, SelectOptionInterface } from "../RcsbFvComponents/SelectButton";
|
|
6
6
|
export interface CreateFvInterface {
|
|
7
7
|
elementId: string;
|
|
8
8
|
fvModuleI: new (elementId: string, rcsbFv: RcsbFv) => RcsbFvModuleInterface;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RcsbContextType, RcsbFvAdditionalConfig } from "../RcsbFvModule/RcsbFvModuleInterface";
|
|
3
3
|
import { PolymerEntityInstanceInterface } from "../../RcsbCollectTools/DataCollectors/PolymerEntityInstancesCollector";
|
|
4
|
-
import { SelectOptionProps } from "../
|
|
4
|
+
import { SelectOptionProps } from "../RcsbFvComponents/SelectButton";
|
|
5
5
|
import { RcsbFvModulePublicInterface } from "../RcsbFvModule/RcsbFvModuleInterface";
|
|
6
6
|
export interface InstanceSequenceOnchangeInterface extends PolymerEntityInstanceInterface {
|
|
7
7
|
}
|
|
@@ -8,17 +8,14 @@ export interface SelectButtonConfigInterface {
|
|
|
8
8
|
optionProps?: (props: SelectOptionProps) => JSX.Element;
|
|
9
9
|
isAdditionalButton?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare class
|
|
12
|
-
private static
|
|
13
|
-
private static
|
|
14
|
-
private static
|
|
11
|
+
export declare class ComponentsManager {
|
|
12
|
+
private static readonly loaderSpinner;
|
|
13
|
+
private static readonly selectButtonMap;
|
|
14
|
+
private static readonly nodeMap;
|
|
15
15
|
static buildSelectButton(elementId: string, options: Array<SelectOptionInterface> | Array<GroupedOptionsInterface>, config?: SelectButtonConfigInterface): void;
|
|
16
16
|
static addSelectButton(elementId: string, options: Array<SelectOptionInterface>, config?: SelectButtonConfigInterface): void;
|
|
17
|
-
private static innerBuildSelectButton;
|
|
18
|
-
private static jsxButton;
|
|
19
17
|
static clearSelectButton(elementId: string): void;
|
|
20
18
|
static clearAdditionalSelectButton(elementId: string): void;
|
|
21
|
-
static innerClearSelectButton(elementId: string, suffix: string): void;
|
|
22
19
|
static buildLoaderSpinner(elementId: string): void;
|
|
23
20
|
static unmountLoaderSpinner(elementId: string): void;
|
|
24
21
|
private static hideElement;
|
|
File without changes
|
|
File without changes
|
|
@@ -8,8 +8,8 @@ export declare type SelectOptionProps = OptionProps<OptionPropsInterface, false,
|
|
|
8
8
|
interface SelectButtonInterface {
|
|
9
9
|
elementId: string;
|
|
10
10
|
options?: Array<SelectOptionInterface> | Array<GroupedOptionsInterface>;
|
|
11
|
-
additionalOptions?: Array<SelectOptionInterface>;
|
|
12
11
|
addTitle: boolean;
|
|
12
|
+
renderTitle: (title: string) => void;
|
|
13
13
|
defaultValue?: string | undefined | null;
|
|
14
14
|
width?: number;
|
|
15
15
|
dropdownTitle?: string;
|
|
@@ -35,8 +35,9 @@ interface SelectButtonState {
|
|
|
35
35
|
selectedOption: OptionPropsInterface;
|
|
36
36
|
}
|
|
37
37
|
export declare class SelectButton extends React.Component<SelectButtonInterface, SelectButtonState> {
|
|
38
|
-
static readonly BUTTON_CONTAINER_DIV_SUFFIX
|
|
38
|
+
private static readonly BUTTON_CONTAINER_DIV_SUFFIX;
|
|
39
39
|
private defaultValue;
|
|
40
|
+
private currentOption;
|
|
40
41
|
readonly state: SelectButtonState;
|
|
41
42
|
constructor(props: SelectButtonInterface);
|
|
42
43
|
private change;
|
|
@@ -44,10 +45,10 @@ export declare class SelectButton extends React.Component<SelectButtonInterface,
|
|
|
44
45
|
componentDidMount(): void;
|
|
45
46
|
render(): JSX.Element;
|
|
46
47
|
private selectRender;
|
|
47
|
-
private titleRender;
|
|
48
48
|
private selectButtonRender;
|
|
49
49
|
private innerSelectButtonRender;
|
|
50
50
|
private configStyle;
|
|
51
51
|
private getSelectOpt;
|
|
52
|
+
private renderTitle;
|
|
52
53
|
}
|
|
53
54
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GroupedOptionsInterface, SelectOptionInterface } from "./SelectButton";
|
|
2
|
+
import { SelectButtonConfigInterface } from "./ComponentsManager";
|
|
3
|
+
export declare class SelectButtonManager {
|
|
4
|
+
private readonly elementId;
|
|
5
|
+
private static readonly MAIN_BUTTON_SUFFIX;
|
|
6
|
+
private static readonly ADDITIONAL_BUTTON_SUFFIX;
|
|
7
|
+
private static readonly SELECT_TITLE_DIV;
|
|
8
|
+
private readonly selectComponent;
|
|
9
|
+
constructor(elementId: string);
|
|
10
|
+
createButton(options: Array<SelectOptionInterface> | Array<GroupedOptionsInterface>, config?: SelectButtonConfigInterface): void;
|
|
11
|
+
addButton(options: Array<SelectOptionInterface> | Array<GroupedOptionsInterface>, config?: SelectButtonConfigInterface): void;
|
|
12
|
+
unmountButton(): void;
|
|
13
|
+
unmountAdditionalButton(): void;
|
|
14
|
+
private button;
|
|
15
|
+
private renderTitle;
|
|
16
|
+
private createDiv;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AlignmentResponse, TargetAlignment } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
|
|
2
|
+
import { AlignmentRequestContextType } from "../RcsbFvTrackFactory/TrackFactoryImpl/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], [AlignmentRequestContextType, TargetAlignment]> {
|
|
7
|
+
readonly trackFactory: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>;
|
|
8
|
+
constructor(alignmentTrackFactory: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignment]>);
|
|
9
|
+
getBlock(alignmentRequestContext: AlignmentRequestContextType, alignmentData: AlignmentResponse): 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[]], [TrackManagerInterface]> {
|
|
9
|
+
private readonly annotationBlockManager;
|
|
10
|
+
private readonly annotationsBlockData;
|
|
11
|
+
readonly trackFactory: TrackFactoryInterface<[TrackManagerInterface]>;
|
|
12
|
+
constructor(annotationBlockManager: BlockManagerInterface<[AnnotationRequestContext, AnnotationFeatures[]]>, annotationTrackFactory: TrackFactoryInterface<[TrackManagerInterface]>);
|
|
13
|
+
getBlock(annotationsRequestContext: AnnotationRequestContext, annotations: AnnotationFeatures[]): Promise<RcsbFvRowConfigInterface[]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
|
|
2
|
+
import { TrackFactoryInterface } from "../RcsbFvTrackFactory/TrackFactoryInterface";
|
|
3
|
+
export interface BlockFactoryInterface<T extends any[], S extends any[]> {
|
|
4
|
+
readonly trackFactory: TrackFactoryInterface<S>;
|
|
5
|
+
getBlock(...args: T): Promise<RcsbFvRowConfigInterface[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 processAnnotations;
|
|
19
|
+
private addFeature;
|
|
20
|
+
private mergeTracks;
|
|
21
|
+
}
|
|
@@ -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
|
+
getId(): string;
|
|
10
|
+
getConfig(): RcsbAnnotationConfigInterface | undefined;
|
|
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
|
+
private readonly trackTitleFactory;
|
|
13
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
14
|
+
getTrack(alignmentRequestContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList?: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>): Promise<RcsbFvRowConfigInterface>;
|
|
15
|
+
buildAlignmentRowTitle(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment): Promise<string | RcsbFvLink>;
|
|
16
|
+
private getAlignmentTrackConfiguration;
|
|
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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
private readonly trackTitleFactory;
|
|
13
|
+
constructor(entityInstanceTranslator?: PolymerEntityInstanceTranslate);
|
|
14
|
+
getTrack(alignmentRequestContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList?: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>, alignmentColor?: RcsbFvColorGradient): Promise<RcsbFvRowConfigInterface>;
|
|
15
|
+
buildAlignmentRowTitle(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment): Promise<string | RcsbFvLink>;
|
|
16
|
+
getAlignmentTrackConfiguration(alignmentQueryContext: AlignmentRequestContextType, targetAlignment: TargetAlignment, alignedRegionToTrackElementList: (region: AlignedRegion, alignmentContext: AlignmentContextInterface) => Array<RcsbFvTrackDataElementInterface>): {
|
|
17
|
+
alignedBlocks: Array<RcsbFvTrackDataElementInterface>;
|
|
18
|
+
mismatchData: Array<RcsbFvTrackDataElementInterface>;
|
|
19
|
+
sequenceData: Array<RcsbFvTrackDataElementInterface>;
|
|
20
|
+
};
|
|
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 {};
|
|
@@ -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
|
+
}
|