Enum IlluminaMetricsCode

    • Method Detail

      • values

        public static IlluminaMetricsCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IlluminaMetricsCode c : IlluminaMetricsCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IlluminaMetricsCode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getPhasingCode

        public static int getPhasingCode​(int readDescriptorIndex,
                                         IlluminaMetricsCode phasingType)
        Phasing codes are between 200 and 299 (inclusive). Phasing codes are defined as being (200 + ((N - 1) * 2)) for (a 0-based) read descriptor N (i.e., 200, 202, 204, etc.) Prephasing codes are defined as being (201 + ((N - 1) * 2)) for read descriptor N (i.e., 201, 203, 205, etc.). So for a 101T8B101T read structure, there will be phasing codes of 200, 202 and 204 and prephasing codes of 201, 203, 205.
      • getMetricsCode

        public int getMetricsCode()