The complete gene sequence
Array of intron regions to validate
Object containing validation result and details
const sequence = 'ATGGTCCCAGTTAAA';
const introns = [{ start: 3, end: 11 }];
const result = validateSpliceSites(sequence, introns);
// result.isValid = true (intron sequence 'GTCCCAG' starts with GT, ends with AG)
Validates that introns follow GT-AG splice site consensus sequences. Checks that each intron starts with GT (donor) and ends with AG (acceptor).