Package htsjdk.samtools.cram.build
Class Utils
java.lang.Object
htsjdk.samtools.cram.build.Utils
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte
normalizeBase
(byte base) CRAM operates with upper case bases, so both read and ref bases should be upper-cased and vocab controlled.
-
Method Details
-
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
-