String snp_name = first_part_of_string(snp_input);
SequenceWithSNP seq_w_snp = SequenceWithSNP.fromString(last_part_of_string(snp_input));
for (ThresholdEvaluator motifEvaluator: pwmCollection) {
SNPScan.RegionAffinityInfos result;
result = new SNPScan(motifEvaluator.pwm, seq_w_snp, motifEvaluator.pvalueCalculator).affinityInfos();
boolean pvalueSignificant = (result.getInfo_1().getPvalue() <= max_pvalue_cutoff ||
result.getInfo_2().getPvalue() <= max_pvalue_cutoff);
boolean foldChangeSignificant = (result.foldChange() >= min_fold_change_cutoff ||
result.foldChange() <= 1.0/min_fold_change_cutoff);
if (pvalueSignificant && foldChangeSignificant) {