-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from Bio import SeqIO | ||
from Bio.Seq import Seq | ||
|
||
with open('./dbs/ncbi_amr.faa') as original, open('./dbs/ncbi_amr_corrected.faa', 'w') as corrected: | ||
for record in SeqIO.parse('./dbs/ncbi_amr.faa', 'fasta'): | ||
record.seq = Seq(str(record.seq).replace("*", "")) | ||
SeqIO.write(record, corrected, 'fasta') |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.