Threshold consensus methods for molecular sequences