type SideChainScale = { [name: string]: number; }; /** * Class to categorial encode/decode aligned amino acid residues sequence. * * @export * @class AlignedSequenceEncoder */ export declare class AlignedSequenceEncoder { protected aa2num: SideChainScale; protected num2aa: { [code: number]: string; }; constructor(scale?: string); /** * Truncate NH2 and -COOH terminals of the given sequence. * * @static * @param {string} seq The sequence provided. * @return {string} Truncated sequence. * @memberof AlignedSequenceEncoder */ static _truncateSequence(seq: string): string; /** * Cuts auxiliary defises before a residue. * * @static * @param {string} seq The sequence to process. * @return {string} Processed sequence. * @memberof AlignedSequenceEncoder */ static _dropDefises(seq: string): string; /** * Performs truncation and cutting auxiliary defises. * * @static * @param {string} sequence The sequence work under process. * @return {string} Result of cleaning. * @memberof AlignedSequenceEncoder */ static clean(sequence: string): string; /** * Categorial encode of the sequence provided. * * @param {string} sequence The sequence. * @return {number[]} Encoded vector. * @memberof AlignedSequenceEncoder */ encode(sequence: string): number[]; encodeLettter(letter: string): number; /** * Decode the encoded vector into the sequence back. * * @param {number[]} value The vector encoded. * @return {string} Decoded sequence. * @memberof AlignedSequenceEncoder */ decode(value: number[]): string; } export {}; //# sourceMappingURL=sequence-encoder.d.ts.map