samples
Returns a subset of the ProteinSeqRecords in the ProteinMSA as a List, based on the sample IntRange given. 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).
Function to return a NucMSA given a collection of both indices and sample names. Returns a subset of the NucSeqRecords in the NucMSA as a new NucMSA based on the provided indices and sample names. Note this will work with both positive and negative indices.
Function to filter the MSA by sample index based on the provided filterLambda. This will return another ProteinMSA. Note this will not work with negative indices