XML Save/Load bug fix...
Recent changes in Java security policy might prevent you from running VARNA.
Check out this page for details and ways to solve the problem.
VARNA can be used in slave mode, i.e. be controlled by a browser using a set of functions implemented in the dedicated VARNA.js
JavaScript library.
The list of functions currently supported is not completely exhaustive at the moment, so do not hesitate to send me an email if your favorite option is missing.
The following interactions illustrate the syntax of various features of the library. Note that each call to a function requires the identifier of the applet, which has to be provided at the declaration of the applet (here id="VA"
).
setSeq('VA','AAA')
eraseSeq('VA')
setStructSmooth('VA','(.)')
setRNASmooth('VA','GAC','(.)')
setTitle('VA','Hurray!')
setTitle('VA','')
toggleShowColorMap('VA')
setColorMapValues('VA',..)
Blue | Red |
Green | Energy |
Heat | B & W |
Custom (See HTML code) |
setColorMap('VA','red')
setCustomColorMap('VA',..)
setColorMapMinValue('VA',0)
setColorMapMaxValue('VA',75)
addChemProb(i,j,k,l,m,n)
resetChemProb()
getCurrentSelection('VA')
setSelection('VA',[1,10])
Previous page: Comparing RNAs
Next page: JS Interactions II