Supported integral operations are shown below, and always begin with a percent sign (%).

Objective Operators Examples Comment
Add, multiply and divide +
*
/
%i=1+2*4 Operands and results are always integers, and any fraction obtained through division is discarded.
Make an assignment = %i=1+2 This overwrites any earlier assignment.
Assign a variable to an integral expression %variable_name %i=3+4+%j Legal characters in a variable name are A-Z, a-z, 0-9, and _ (underscore).
Measure length length %len=length("H:\MG1655.fasta")

print(length($M+$A))
If the length argument contains multiple sequences, only the first is used.
Count sequences countSequences %s=countSequences("H:\454.fasta") Total count across the entire set of sequences provided.

Need more help with this?
Contact DNASTAR

Thanks for your feedback.