Some test functions to filter sequences
mgkit.filter.reads.
expected_error_rate
Calculate the expected error rate for an array of qualities (converted to probabilities).
trim_by_ee
Trim a sequence based on the expected error rate.