
Detect poly tail type for a single sequence using Dorado-style algorithm
Source:R/ninetails_core_functions_dorado_cDNA.R
detect_orientation_single.RdThis function implements the Dorado-style poly tail detection algorithm for a single cDNA sequence. It uses edit distance matching of SSP and VNP primer sequences at both ends of the read to determine orientation, testing both forward (polyA) and reverse (polyT) strand configurations.