
Replace leading and trailing alignment gaps with an ambiguous state
Source:R/ltg2amb.R
latag2n.phyDat.Rd
Substitutes leading and trailing alignment gaps in aligned sequences into N (i.e., A, C, G, or T) or ?. The gaps in the middle of the sequences are left unchanged.