@datagrok-libraries/bio
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -8,3 +8,3 @@ { | ||
"friendlyName": "Datagrok bio library", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
import * as DG from 'datagrok-api/dg'; | ||
import { StringDictionary } from '@datagrok-libraries/utils/src/type-declarations'; | ||
import { SeqPalette } from '../seq-palettes'; | ||
declare module 'datagrok-api/src/grid' { | ||
@@ -35,3 +35,5 @@ interface Rect { | ||
static residuesSet: string; | ||
protected cp: StringDictionary | null; | ||
private initialized; | ||
protected cp: SeqPalette | null; | ||
private host?; | ||
private msgHost?; | ||
@@ -50,5 +52,6 @@ private canvas?; | ||
considerNullSequences: boolean; | ||
sequenceColumnName: string; | ||
startPositionName: string; | ||
endPositionName: string; | ||
sequenceColumnName: string | null; | ||
startPositionName: string | null; | ||
endPositionName: string | null; | ||
fixWidth: boolean; | ||
private positionNames; | ||
@@ -60,3 +63,3 @@ private startPosition; | ||
constructor(); | ||
init(): Promise<void>; | ||
private init; | ||
rootOnSizeChanged(args: any): void; | ||
@@ -67,7 +70,20 @@ /** Assigns {@link seqCol} and {@link cp} based on {@link sequenceColumnName} and calls {@link render}(). | ||
onPropertyChanged(property: DG.Property): void; | ||
onTableAttached(): void; | ||
onTableAttached(): Promise<void>; | ||
protected _nullSequence(fillerResidue?: string): string; | ||
protected _calculate(): void; | ||
render(recalc?: boolean): void; | ||
private calcSize; | ||
/** | ||
* @param {DG.Column} seqCol Column to look for a palette | ||
* @param {number} minLength minimum length of sequence to detect palette (empty strings are allowed) | ||
* @return {SeqPalette} Palette corresponding to the alphabet of the sequences in the column | ||
*/ | ||
private pickUpPalette; | ||
/** First try to find column with semType 'alignedSequence'. | ||
* Next look for column with data alphabet corresponding to any of the known palettes. | ||
* @param {DG.DataFrame} dataFrame | ||
* @return {DG.Column} The column we were looking for or null | ||
*/ | ||
private pickUpSeqCol; | ||
} | ||
//# sourceMappingURL=web-logo.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
167701
1236