Skip to content

Releases: AndrewCRMartin/JSAV

Added tooltips

19 Jun 10:39
Compare
Choose a tag to compare

Tooltips are now provided for important buttons

FASTA export, consensus sequence and more colour options

18 Jun 08:19
Compare
Choose a tag to compare

The following features have been added

  • FASTA export - enabled by fasta option with fastaLabel available to set the label on the button
  • Consensus sequence - enabled by consensus option
  • Alternative colour schemes - set the default with colourScheme and allow the end user to choose with the selectColour option. The web programmer may provide a subset of these (or extend the available colours in the CSS) and specify this with the colourChoices option

In addition a bug has been fixed to refesh the buttons when a page is reloaded

New dotify mode and more attractive alerts and confirms

16 Jun 11:25
Compare
Choose a tag to compare

V1.3 adds the following:

  • New 'dotify' mode. Replaces repeating amino acids in the alignment with dots
  • Improved alerts and confirm dialogues that use JQuery UI dialog boxes rather than pure JavaScript
  • Documented CSS for layout of the main display and the controls

New options are:

  • dotify Boolean option to switch on the dotify mode
  • nocolour or nocolor Boolean to give the dots in dotify mode a white background
  • toggleDotify Boolean to display a checkbox to toggle dotify mode
  • toggleNocolour or toggleNocolor Boolean to display a checkbox to toggle the nocolour option in dotify mode

First feature-rich release

14 Jun 10:06
Compare
Choose a tag to compare

Fully working release. The main user entry point is:

    printJSAV(divId, sequenceArray, options);

Where:

  • divId is the name of a div that will be created
  • sequenceArray is an array of sequence objects - these contain id and sequence fields
  • options is an object describing options - see below

The options for controlling the display are:

  • sortable - Should the sorting options be displayed (default: false)
  • width - The width of the selection slider with units (default: '400px')
  • selectable - Should selection checkboxes be displayed for each sequence
  • deletable - Makes it possible to delete sequences
  • highlight - Array of ranges to highlight (e.g. [24,34,50,56] would highlight positions 24-34 and 50-56)
  • submit - URL for submitting selected sequences
  • submitLabel - Label for submit button
  • action - Function to call using selected sequences - the function will be passed the divId and array of sequence objects
  • actionLabel - Label for action button