Whether sequences are DNA or RNA. Required — use detectSequenceType() if unknown.
OptionalallowWhether IUPAC ambiguity codes (R, Y, S, W, K, M, B, D, H, V, N) are valid.
When true (the default), ambiguity codes are accepted alongside standard bases.
When false, only standard bases (ACGT for DNA, ACGU for RNA) are valid.
OptionalallowWhether gap characters (-, ., *) are allowed.
When true (the default), gaps pass through unchanged.
When false, gaps are stripped before validation and the gap-stripped
sequence is yielded (even if the original was valid).
OptionalactionAction to take on invalid sequences. Defaults to "reject".
OptionalfixReplacement character for invalid bases when action is "fix".
Must be a single character. Defaults to "N".
Only valid when action is "fix".
Options for sequence validation.
Each option axis maps directly to a kernel
ValidationMode: