prot-annot
Version:
A package to generate SVG images of protein annotation.
27 lines (26 loc) • 757 B
TypeScript
import { IAseqMist3Api } from 'mist3-ts';
import { IProtAnnotConfig } from './interfaces';
declare class ProtAnnot {
supportedFeatures: string[];
private readonly aseqInfo;
private readonly config;
private scale;
private svg;
constructor(aseqInfo: IAseqMist3Api, config?: IProtAnnotConfig);
/**
* Insert SVG onto HTMLElement
*
* @param {HTMLElement} htmlElement
* @param {number} [scale=kDefaults.common.scale]
* @memberof ProtAnnot
*/
draw(htmlElement: HTMLElement, scale?: number): void;
private drawSequence;
private drawTm;
private drawDomain;
private drawDomainBody;
private domainBorder;
private removeOverlapps;
private compareEvalues;
}
export { ProtAnnot };