As I said, I want to remove insertion columns. These are annotated as ~ or . in the secondary-structure annotation in Stockholm format.
This is not the same as removing all gaps: I want to preserve deletions.
Unfortunately I have not found a utility in HMMer or Infernal that let's me do this. But maybe I'm missing something. Thanks!