/
frontend.pu
69 lines (58 loc) · 1 KB
/
frontend.pu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
class Container {
features?: any;
featureId?: number;
featureThreshold: number;
chroms: any;
posInner: PathRegion[];
nodes: number[];
}
abstract OverView {
fusionID: number
posUpdate: (reg: PathRegion[], featureId: number) => void;
featureThreshold: number;
features: any;
chroms: any;
}
abstract GraphView {
}
abstract LinearView {
}
class PathRegion {
path: string;
start: number;
stop?: number;
}
class SVList {
return PathRegion[]
}
class Circos {
return PathRegion[]
}
class WholeGraph {
return PathRegion[]
}
class PathRegionBox {
posText : string
posInner: PathRegion[]
posUpdate(posText)
posUpdateWithGene(geneName)
scaleUp()
scaleDown()
}
class Sankey {
nodes: number[]
}
class Linear {
fasta: nodes[]
bed: PathRegion[]
bam,vcf,...:
}
Container ---> OverView
OverView ---> SVList
OverView ---> Circos
OverView ---> WholeGraph
Container ---> PathRegionBox
Container ---> GraphView
Container ---> LinearView
GraphView ---> Sankey
LinearView ---> Linear