sequenceSVG

sequenceSVG(sequence: string, analysisResults: array, options: object)
Parameters
sequence (string)
analysisResults (array)
options (object = {})
Name Description
options.leftRightBorders number (default 50)
options.width number (default 600)
options.spaceBetweenResidues number (default 30)
options.spaceBetweenInternalLines number (default 12)
options.strokeWidth number (default 2)
options.labelFontFamily string (default 'Verdana')
options.labelSize number (default 8)
options.parsing number? Sequence parsing options
options.merge object (default {})
options.merge.charge boolean? Merge results if only differs by charge
options.filter object (default {}) define some filters
options.filter.minSimilarity number (default 0) minimal similarity
options.filter.minQuantity number (default 0) minimal quantity
options.filter.minRelativeQuantity number (default 0) minimal relative quantity. This value should be between 0 and 1 and supersede minQuantity.
options.filter.showInternals boolean (default true) show the internal fragments

appendResidues

Code that allows to split a sequence of amino acids or nucleotides natural or non natural

appendResidues(data: any, sequence: string?, options: object)
Parameters
data (any)
sequence (string?)
options (object = {})
Name Description
options.kind string? peptide, rna, ds-dna or dna. Default if contains U: rna, otherwise ds-dna
options.fivePrime string (default monophosphate) alcohol, monophosphate, diphosphate, triphosphate
options.circular string (default false)

appendRowsInformation

For each row we calculate internals, label over and label under

appendRowsInformation(data: any)
Parameters
data (any)