All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.monarchinitiative.phenol.annotations.assoc.GeneIdentifierLoaders Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
package org.monarchinitiative.phenol.annotations.assoc;

import java.util.Set;

/**
 * Loaders for getting {@link org.monarchinitiative.phenol.annotations.formats.GeneIdentifiers} from different
 * file formats.
 */
public class GeneIdentifierLoaders {

  private GeneIdentifierLoaders() {
  }

  /**
   * Get loader for loading Homo sapiens gene info file.
   *
   * @param geneTypes set of gene types to retain.
   */
  public static GeneIdentifierLoader forHumanGeneInfo(Set geneTypes) {
    return HumanGeneInfoLoader.of(geneTypes);
  }

  /**
   * Get loader for loading HGNC complete set archive file.
   */
  public static GeneIdentifierLoader forHgncCompleteSetArchive() {
    return HGNCGeneIdentifierLoader.instance();
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy