/
configSchema.ts
64 lines (60 loc) · 1.44 KB
/
configSchema.ts
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
import { ConfigurationSchema } from '@jbrowse/core/configuration'
/**
* #config SNPCoverageRenderer
*/
function x() {} // eslint-disable-line @typescript-eslint/no-unused-vars
const SNPCoverageRenderer = ConfigurationSchema(
'SNPCoverageRenderer',
{
/**
* #slot
*/
clipColor: {
type: 'color',
description: 'the color of the clipping marker',
defaultValue: 'red',
},
/**
* #slot
*/
indicatorThreshold: {
type: 'number',
description:
'the proportion of reads containing a insertion/clip indicator',
defaultValue: 0.4,
},
/**
* #slot
*/
drawArcs: {
type: 'boolean',
description: 'Draw sashimi-style arcs for intron features',
defaultValue: true,
},
/**
* #slot
*/
drawInterbaseCounts: {
type: 'boolean',
description:
'draw count "upsidedown histogram" of the interbase events that don\'t contribute to the coverage count so are not drawn in the normal histogram',
defaultValue: true,
},
/**
* #slot
*/
drawIndicators: {
type: 'boolean',
description:
'draw a triangular indicator where an event has been detected',
defaultValue: true,
},
color: {
type: 'color',
description: 'Background color for the SNPCoverage renderer',
defaultValue: '#d3d3d3',
},
},
{ explicitlyTyped: true },
)
export default SNPCoverageRenderer