Class ChromosomeUtils

java.lang.Object
ubic.gemma.persistence.service.genome.ChromosomeUtils

public class ChromosomeUtils extends Object
A utility class for Chromosome
Author:
ptan
  • Constructor Details

    • ChromosomeUtils

      public ChromosomeUtils()
  • Method Details

    • isCanonical

      public static boolean isCanonical(Chromosome chr)
      This method is only familiar with chromosomes as named in the UCSC GoldenPath database and would have to be modified if the 'rules' are broken by some other source used.
      Parameters:
      chr - chromosome
      Returns:
      true if this is a regular chromosome, not a separate assembly for e.g. a haplotype (6_cox_hap2 for example).