Sequence AL intrinsics


Sequence () result sequence list
Return a list of all sequence residues, in sequence order.

Sequence (residue rs) result sequence list
Return a list of all sequence residues of the given residue type.

Sequence (residue rs1, rs2; integer i) result sequence list
Return a list of all sequence residues which match the given dipeptide residue types, where the integer i is the offset of the second given residue rs2 versus the first rs1.

Residue (sequence sq) result string
Return the residue type of the given sequence residue. Since a sequence may have a residue type not present in the dictionary, the return type is string, not residue. To convert to residue type, use the conversion intrinsic Convert.

Nucleus (sequence sq; nucleus nu) result logical
Can the given nucleus be found in the given sequence residue?

First () result sequence
Return the first sequence residue.

Last () result sequence
Return the last sequence residue.

Next (sequence sq) result sequence
Return the sequence residue after the given sequence residue.

Previous (sequence sq) result sequence
Return the sequence residue before the given sequence residue.

Per Kraulis 18 Apr 1996.