Package htsjdk.samtools.cram.build
Class Utils
- java.lang.Object
-
- htsjdk.samtools.cram.build.Utils
-
public final class Utils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte
normalizeBase(byte base)
CRAM operates with upper case bases, so both read and ref bases should be upper-cased and vocab controlled.
-
-
-
Method Detail
-
normalizeBase
public static byte normalizeBase(byte base)
CRAM operates with upper case bases, so both read and ref bases should be upper-cased and vocab controlled. This method does exactly this: upper case acgt and replace everything else with N.- Parameters:
base
- a base to normalize- Returns:
- a normalized base
-
-