Examples of loadMotifCollection()


Examples of ru.autosome.commons.importer.DiPWMImporter.loadMotifCollection()

        diCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return diCollection;
    } else {
      DiPWMImporter importer = new DiPWMImporter(background, dataModel, effectiveCount, transpose);
      return importer.loadMotifCollection(path_to_collection_of_pwms);
    }
  }

  protected static ru.autosome.perfectosape.cli.generalized.MultiSNPScan from_arglist(ArrayList<String> argv) {
    MultiSNPScan result = new MultiSNPScan();
View Full Code Here

Examples of ru.autosome.commons.importer.DiPWMImporter.loadMotifCollection()

        diCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return diCollection;
    } else {
      DiPWMImporter importer = new DiPWMImporter(collectionBackground, dataModel, effectiveCount, collectionTranspose);
      return importer.loadMotifCollection(pathToCollectionOfPWMs);
    }
  }

  @Override
  protected DiPWM loadQueryMotif() {
View Full Code Here

Examples of ru.autosome.commons.importer.DiPWMImporter.loadMotifCollection()

        pwmCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return pwmCollection;
    } else {
      DiPWMImporter importer = new DiPWMImporter(background, dataModel, effectiveCount, transpose);
      return importer.loadMotifCollection(path_to_collection);
    }
  }

  @Override
  protected void initialize_defaults() {
View Full Code Here

Examples of ru.autosome.commons.importer.PWMImporter.loadMotifCollection()

  }

  @Override
  protected List<PWM> load_collection_of_pwms() {
    PWMImporter importer = new PWMImporter(background, dataModel, effectiveCount, transpose);
    return importer.loadMotifCollection(path_to_collection_of_pwms);
  }

  protected static ru.autosome.perfectosape.cli.generalized.MultiSNPScan from_arglist(ArrayList<String> argv) {
    MultiSNPScan result = new MultiSNPScan();
    Helper.print_help_if_requested(argv, result.documentString());
View Full Code Here

Examples of ru.autosome.commons.importer.PWMImporter.loadMotifCollection()

  @Override
  protected List<DiPWM> load_collection_of_pwms() {
    if (fromMononucleotide) {
      BackgroundModel backgroundMononucleotide = Background.fromDiBackground(background);
      PWMImporter importer = new PWMImporter(backgroundMononucleotide, dataModel, effectiveCount, transpose);
      List<PWM> monoCollection = importer.loadMotifCollection(path_to_collection_of_pwms);
      List<DiPWM> diCollection = new ArrayList<DiPWM>(monoCollection.size());
      for(PWM monoPWM: monoCollection) {
        diCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return diCollection;
View Full Code Here

Examples of ru.autosome.commons.importer.PWMImporter.loadMotifCollection()

        diCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return diCollection;
    } else {
      DiPWMImporter importer = new DiPWMImporter(background, dataModel, effectiveCount, transpose);
      return importer.loadMotifCollection(path_to_collection_of_pwms);
    }
  }

  protected static ru.autosome.perfectosape.cli.generalized.MultiSNPScan from_arglist(ArrayList<String> argv) {
    MultiSNPScan result = new MultiSNPScan();
View Full Code Here

Examples of ru.autosome.commons.importer.PWMImporter.loadMotifCollection()

  @Override
  protected List<DiPWM> loadMotifCollection() {
    if (collectionFromMononucleotide) {
      BackgroundModel collectionBackgroundMononucleotide = Background.fromDiBackground(collectionBackground);
      PWMImporter importer = new PWMImporter(collectionBackgroundMononucleotide, dataModel, effectiveCount, collectionTranspose);
      List<PWM> monoCollection = importer.loadMotifCollection(pathToCollectionOfPWMs);
      List<DiPWM> diCollection = new ArrayList<DiPWM>(monoCollection.size());
      for(PWM monoPWM: monoCollection) {
        diCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return diCollection;
View Full Code Here

Examples of ru.autosome.commons.importer.PWMImporter.loadMotifCollection()

        diCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return diCollection;
    } else {
      DiPWMImporter importer = new DiPWMImporter(collectionBackground, dataModel, effectiveCount, collectionTranspose);
      return importer.loadMotifCollection(pathToCollectionOfPWMs);
    }
  }

  @Override
  protected DiPWM loadQueryMotif() {
View Full Code Here

Examples of ru.autosome.commons.importer.PWMImporter.loadMotifCollection()

  @Override
  protected List<DiPWM> loadMotifCollection(File path_to_collection) {
    if (fromMononucleotide) {
      BackgroundModel backgroundMononucleotide = Background.fromDiBackground(background);
      PWMImporter importer = new PWMImporter(backgroundMononucleotide, dataModel, effectiveCount, transpose);
      List<PWM> monoCollection = importer.loadMotifCollection(path_to_collection);
      pwmCollection = new ArrayList<DiPWM>(monoCollection.size());
      for(PWM monoPWM: monoCollection) {
        pwmCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return pwmCollection;
View Full Code Here

Examples of ru.autosome.commons.importer.PWMImporter.loadMotifCollection()

        pwmCollection.add(DiPWM.fromPWM(monoPWM));
      }
      return pwmCollection;
    } else {
      DiPWMImporter importer = new DiPWMImporter(background, dataModel, effectiveCount, transpose);
      return importer.loadMotifCollection(path_to_collection);
    }
  }

  @Override
  protected void initialize_defaults() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.