Skip to content

Commit

Permalink
Update Alphabet.md
Browse files Browse the repository at this point in the history
ungap has been removed from Biopython
  • Loading branch information
mdehoon authored Jan 5, 2024
1 parent 5bbff9c commit 0041a7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wiki/Alphabet.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ output file format.
Another case where the alphabet was used was in declaring the gap character,
by default `-` in the various Biopython sequence and alignment parsers. If
you are using a different character, you will need to pass this to the `Seq`
object `.ungap()` method explicitly now:
object `.replace()` method explicitly now:

```python
# Old style
Expand All @@ -76,7 +76,7 @@ print(my_dna.ungap())
from Bio.Seq import Seq

my_dna = Seq("ACGT=TT")
print(my_dna.ungap("="))
print(my_dna.replace("=", ""))
```

## SeqRecord changes
Expand Down

0 comments on commit 0041a7d

Please sign in to comment.