Class ChromosomeUtil


  • public class ChromosomeUtil
    extends Object
    A utility class for Chromosome
    Author:
    ptan
    • Constructor Detail

      • ChromosomeUtil

        public ChromosomeUtil()
    • Method Detail

      • 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).