sites

fun sites(site: Int): ProteinMSA

Function to filter down a ProteinMSA at a single site. This will return another ProteinMSA


fun sites(siteRange: IntRange): ProteinMSA

Function to slice the ProteinMSA by siteRange. This will return another ProteinMSA and does support negative indices


fun sites(siteIndices: Collection<Int>): ProteinMSA

Function to filter out the ProteinMSA based on a collection of siteIndices This Collection will first be Sorted and Duplicates removed so the resulting ProteinMSA's ProteinSeqs will be in the correct order. Note: This will work with negative indices.


fun sites(filterLambda: (Int) -> Boolean): ProteinMSA

Function to filter the ProteinMSA sites using a lambda function. This will return another ProteinMSA object Note this will not work with negative indices