SAMUtils: {
detectFormat(data: string): boolean;
decodeFlag(
flag: number,
): {
isPaired: boolean;
isProperPair: boolean;
isUnmapped: boolean;
isMateUnmapped: boolean;
isReverse: boolean;
isMateReverse: boolean;
isFirstInPair: boolean;
isSecondInPair: boolean;
isSecondary: boolean;
isQCFail: boolean;
isDuplicate: boolean;
isSupplementary: boolean;
};
parseCIGAROperations(
cigar: string,
): { operation: string; length: number }[];
calculateReferenceSpan(cigar: string): number;
} = ...
Type Declaration
decodeFlag: function
decodeFlag( flag: number,): { isPaired: boolean; isProperPair: boolean; isUnmapped: boolean; isMateUnmapped: boolean; isReverse: boolean; isMateReverse: boolean; isFirstInPair: boolean; isSecondInPair: boolean; isSecondary: boolean; isQCFail: boolean; isDuplicate: boolean; isSupplementary: boolean;} Returns {
isPaired: boolean;
isProperPair: boolean;
isUnmapped: boolean;
isMateUnmapped: boolean;
isReverse: boolean;
isMateReverse: boolean;
isFirstInPair: boolean;
isSecondInPair: boolean;
isSecondary: boolean;
isQCFail: boolean;
isDuplicate: boolean;
isSupplementary: boolean;
}
parseCIGAROperations: function
parseCIGAROperations(cigar: string): { operation: string; length: number }[] Returns { operation: string; length: number }[]
calculateReferenceSpan: function
calculateReferenceSpan(cigar: string): number
SAM utility functions for format detection and operations