@datagrok-libraries/bio
Advanced tools
Comparing version 2.1.4 to 2.2.0
@@ -8,3 +8,3 @@ { | ||
"friendlyName": "Datagrok bio library", | ||
"version": "2.1.4", | ||
"version": "2.2.0", | ||
"description": "", | ||
@@ -15,3 +15,3 @@ "dependencies": { | ||
"cash-dom": "latest", | ||
"datagrok-api": "^1.4.10", | ||
"datagrok-api": "^1.4.11", | ||
"dayjs": "latest", | ||
@@ -18,0 +18,0 @@ "rxjs": "^6.5.5", |
@@ -13,5 +13,10 @@ import * as DG from 'datagrok-api/dg'; | ||
} | ||
declare type MonomerFreqs = { | ||
export declare type MonomerFreqs = { | ||
[m: string]: number; | ||
}; | ||
export declare type SeqColStats = { | ||
freq: MonomerFreqs; | ||
sameLength: boolean; | ||
}; | ||
export declare type SplitterFunc = (seq: string) => string[]; | ||
export declare class PositionMonomerInfo { | ||
@@ -92,3 +97,9 @@ /** Sequences count with monomer in position | ||
static pickUpPalette(seqCol: DG.Column, minLength?: number): SeqPalette; | ||
static getAlphabetFreqs(seqCol: DG.Column, minLength?: number): MonomerFreqs; | ||
/** Stats of sequences with specified splitter func, returns { freq, sameLength }. | ||
* @param {DG.Column} seqCol | ||
* @param {number} minLength | ||
* @param {SplitterFunc} splitter | ||
* @return { SeqColStats }, sameLength: boolean } stats of column sequences | ||
*/ | ||
static getStats(seqCol: DG.Column, minLength: number, splitter: SplitterFunc): SeqColStats; | ||
static getAlphabetSimilarity(freq: MonomerFreqs, alphabet: Set<string>, gapSymbol?: string): number; | ||
@@ -101,8 +112,11 @@ /** First try to find column with semType 'alignedSequence'. | ||
private pickUpSeqCol; | ||
private static splitRe; | ||
static splitSeqToMonomers(seq: string): string[]; | ||
private static monomerRe; | ||
/** Split sequence for single character monomers, square brackets multichar monomer names or gap symbol. | ||
* @param {any} seq object with sequence | ||
* @return {string[]} array of monomers | ||
*/ | ||
static splitterAsFasta(seq: any): string[]; | ||
/** Only some of the synonyms. These were obtained from the clustered oligopeptide dataset. */ | ||
private static aaSynonyms; | ||
} | ||
export {}; | ||
//# 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
216945
1584
Updateddatagrok-api@^1.4.11