scallops.reads.quality_softmax

scallops.reads.quality_softmax(x, min_error=1e-06)

Computes the phred quality score of transformed data using the softmax function.

Parameters:
  • x (ndarray) – Array with transformed data (read, cycle, channel).

  • min_error (float) – Minimum p-value error.

Returns:

Array with computed quality scores (higher is better).

Return type:

ndarray