-A value object containing a maximum number of sequences and a maximum average
- sequence length for a preset. Also contains static method for determining the
- number of sequence and their average length in the List
-
Checks if the number of sequences or their average length in the dataset
- exceeds this limit.
-
-
-
Parameters:
data - the dataset to measure
-
Returns:
true if a limit is exceeded (what is the dataset is larger then
- the limit), false otherwise. First check the number of sequences
- in the dataset and if it exceeds the limit return true
- irrespective of the average length. If the number of sequences in
- the dataset is less than the limit and average length is defined,
- then check whether the total number of letters (number of
- sequence multiplied by the average sequence length) is greater
- then the total number of letters in the dataset. Returns true if
- the total number of letters in the dataset is greater than the
- limit, false otherwise.