get
Returns the NUC of this NucSeq at the specified index i with i starting at zero Negative index start from the end of the sequence, i.e. -1 is the last base
NucSeq("ACGT")[1] == NUC.CContent copied to clipboard
Returns a subset NucSeq based on the inclusive start i and inclusive last j Indices start at zero. Negative index start from the end of the sequence, i.e. -1 is the last base
NucSeq("ACGT")[1,2] == NucSeq("CG")Content copied to clipboard
Returns a subset NucSeq based on the IntRange of Nucleotides. Kotlin range operator is "..". Indices start at zero. Note Kotlin IntRange are inclusive end, while Python slices exclusive end Negative slices "-3..-1" start from the last base (i.e. would return the last three bases)