}
@Override
protected DiPWM loadMotif(String filename) {
if (fromMononucleotide) {
BackgroundModel backgroundMononucleotide = Background.fromDiBackground(background);
PWMImporter importer = new PWMImporter(backgroundMononucleotide, data_model, effective_count, transpose);
return DiPWM.fromPWM( importer.loadMotif(filename) );
} else {
DiPWMImporter importer = new DiPWMImporter(background, data_model, effective_count, transpose);
return importer.loadMotif(filename);