@datagrok-libraries/bio
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -8,3 +8,3 @@ { | ||
"friendlyName": "Datagrok bio library", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
@@ -8,4 +8,4 @@ export interface SeqPalette { | ||
export declare class SeqPaletteBase implements SeqPalette { | ||
/** Palette with shades of primary colors | ||
*/ | ||
static undefinedColor: string; | ||
/** Palette with shades of primary colors */ | ||
static colourPalette: { | ||
@@ -15,3 +15,3 @@ [key: string]: string[]; | ||
protected static makePalette(dt: [string[], string][], simplified?: boolean, PaletteType?: typeof SeqPaletteBase): SeqPaletteBase; | ||
private _palette; | ||
private readonly _palette; | ||
constructor(palette: { | ||
@@ -18,0 +18,0 @@ [m: string]: string; |
@@ -20,4 +20,4 @@ export class SeqPaletteBase { | ||
} | ||
/** Palette with shades of primary colors | ||
*/ | ||
SeqPaletteBase.undefinedColor = 'rgb(100,100,100)'; | ||
/** Palette with shades of primary colors */ | ||
SeqPaletteBase.colourPalette = { | ||
@@ -45,2 +45,2 @@ 'orange': ['rgb(255,187,120)', 'rgb(245,167,100)', 'rgb(235,137,70)', 'rgb(205, 111, 71)'], | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VxLXBhbGV0dGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic2VxLXBhbGV0dGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlCQSxNQUFNLE9BQU8sY0FBYztJQTBDekIsWUFBWSxPQUFnQztRQUMxQyxJQUFJLENBQUMsUUFBUSxHQUFHLE9BQU8sQ0FBQztJQUMxQixDQUFDO0lBbEJTLE1BQU0sQ0FBQyxXQUFXLENBQUMsRUFBd0IsRUFDbkQsVUFBVSxHQUFHLEtBQUssRUFBRSxjQUFxQyxjQUFjO1FBRXZFLE1BQU0sT0FBTyxHQUE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LCBpbmQpID0+IHtcbiAgICAgICAgcGFsZXR0ZVtvYmpdID0gdGhpcy5jb2xvdXJQYWxldHRlW2NvbG91cl1bc2ltcGxpZmllZCA/IDAgOiBpbmRdO1xuICAgICAgfSk7XG4gICAgfSk7XG4gICAgcmV0dXJuIG5ldyBQYWxldHRlVHlwZShwYWxldHRlKTtcbiAgfVxuXG4gIHByaXZhdGUgcmVhZG9ubHkgX3BhbGV0dGU6IHsgW206IHN0cmluZ106IHN0cmluZyB9O1xuXG4gIGNvbnN0cnVjdG9yKHBhbGV0dGU6IHsgW206IHN0cmluZ106IHN0cmluZyB9KSB7XG4gICAgdGhpcy5fcGFsZXR0ZSA9IHBhbGV0dGU7XG4gIH1cblxuICBwdWJsaWMgZ2V0KG06IHN0cmluZyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRoaXMuX3BhbGV0dGVbbV07XG4gIH1cbn1cbiJdfQ== |
@@ -54,2 +54,3 @@ import * as DG from 'datagrok-api/dg'; | ||
private seqCol; | ||
private splitter; | ||
private positions; | ||
@@ -106,8 +107,3 @@ private rowsMasked; | ||
static getAlphabetSimilarity(freq: MonomerFreqs, alphabet: Set<string>, gapSymbol?: string): number; | ||
/** 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; | ||
static pickUpSeqCol2(df: DG.DataFrame): DG.Column | null; | ||
private static monomerRe; | ||
@@ -124,3 +120,7 @@ /** Split sequence for single character monomers, square brackets multichar monomer names or gap symbol. | ||
static getSplitterWithSeparator(separator: string): SplitterFunc; | ||
/** Get splitter method to split sequences to monomers */ | ||
/** Get splitter method to split sequences to monomers | ||
* @param {string} units | ||
* @param {string} separator | ||
* @return {SplitterFunc} | ||
*/ | ||
static getSplitter(units: string, separator: string): SplitterFunc; | ||
@@ -127,0 +127,0 @@ /** Only some of the synonyms. These were obtained from the clustered oligopeptide dataset. */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
223859
1639