Keywords: manual

Next: Residue.get_leading_gaps() get Up: The Residue class: a Previous: Residue.remove_leading_gaps() remove Contents Index

## Residue.remove_trailing_gaps() -- remove gap(s) after this residue

`remove_trailing_gaps(ngap=1)`

> This removes ngap gaps from the alignment, immediately after this residue. (This usually has no effect if called for gaps after the last residue in a sequence, since those gaps are necessary in order to line up with other sequences in the alignment.) Not available for model sequences.