Residue.remove_leading_gaps() — remove gap(s) before this residue

remove_leading_gaps(ngap=1)
This removes ngap gaps from the alignment, immediately before this residue. Not available for model sequences.