// List of pvalues to be precalculated (One can rely on this default value)
double[] pvalues = PrecalculateThresholdList.PVALUE_LIST;
// Higher discretization - better precision of score to Pvalue calculation and higher precalculation time
// (given discretization is high enough, precalculation step though can take about a pair of minutes on large PWM collection)
// But precalculation step should be done once
Discretizer discretizer = new Discretizer(10000.0);
// Wordwise background means that we calculate number of words instead of probabilities, this is a default mode
// If one need to work with certain nucleotide background probabilities he should use:
// BackgroundModel background = new Background(new double[]{pA, pC, pG, pT}); where {pA,... pT} are probabilities of respective nucleotides
BackgroundModel background = new WordwiseBackground();
// A actual pvalue will be less than requested. Not very important setting in this task