@sjcrh/proteinpaint-types 2.102.0 → 2.104.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/dataset.ts +15 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.102.0",
3
+ "version": "2.104.0",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
package/src/dataset.ts CHANGED
@@ -338,8 +338,19 @@ so that it can work for a termdb-less ds, e.g. clinvar, where termdbConfig canno
338
338
  }
339
339
 
340
340
  type SvFusion = {
341
- byrange: {
342
- /** file paths for sv fusion data */
341
+ byrange?: {
342
+ /** gz BED file path for sv fusion data: chr \t start \t stop \t {}
343
+ will only contain events with coordinates in both breakpoints
344
+ TODO use string sample name
345
+ */
346
+ file?: string
347
+ }
348
+ byname?: {
349
+ /** file paths for sv fusion TXT data. will contain events lacking breakpoint coordinates and can only be matched by gene names
350
+ should be tab seperated values with the following fields: (should leave as blank for values unknown)
351
+ gene_a refseq_a chr_a position_a strand_a gene_b refseq_b chr_b position_b strand_b origin sample_name fusion_gene event_type(fusion or sv)
352
+ TODO use string sample name
353
+ */
343
354
  file?: string
344
355
  }
345
356
  }
@@ -597,6 +608,8 @@ export type SingleCellSamples = {
597
608
  or is missing, to be added at launch with built-in logic (samples are found by looking through singleCell.data.plots[].folder)
598
609
  */
599
610
  get?: (q: any) => any
611
+ /** extra label to show along with sample, it becomes `sample.sample+' '+sample[newProp]` */
612
+ extraSampleTabLabel?: string
600
613
  }
601
614
 
602
615
  export type SingleCellDataGdc = {