Commit 4f7e6429 authored by Michael Menzel's avatar Michael Menzel

background model count set to max of min bg or position count

parent fbed82d0
......@@ -111,7 +111,7 @@ class AnalysisHelper {
SiteFactory factory = SiteFactoryFactory.getInstance().get(sites.getAssembly());
bg[0] = factory.getByLogo(LogoCreator.createLogo(sites), minSites);
} else if (covariants.isEmpty()) {
bg[0] = BackgroundModelFactory.createBackgroundModel(sites.getAssembly(), sites.getPositionCount()); //check if minSites is larger
bg[0] = BackgroundModelFactory.createBackgroundModel(sites.getAssembly(), Math.max(sites.getPositionCount(), cmd.getMinBg()));
} else {
try {
bg[0] = BackgroundModelFactory.createBackgroundModel(covariants, sites, minSites, smooth);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment