We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bbff9c commit 0041a7dCopy full SHA for 0041a7d
1 file changed
wiki/Alphabet.md
@@ -60,7 +60,7 @@ output file format.
60
Another case where the alphabet was used was in declaring the gap character,
61
by default `-` in the various Biopython sequence and alignment parsers. If
62
you are using a different character, you will need to pass this to the `Seq`
63
-object `.ungap()` method explicitly now:
+object `.replace()` method explicitly now:
64
65
```python
66
# Old style
@@ -76,7 +76,7 @@ print(my_dna.ungap())
76
from Bio.Seq import Seq
77
78
my_dna = Seq("ACGT=TT")
79
-print(my_dna.ungap("="))
+print(my_dna.replace("=", ""))
80
```
81
82
## SeqRecord changes
0 commit comments