Skip to content

Commit 8bdd935

Browse files
committed
desc with underscores
1 parent 4fc674f commit 8bdd935

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pangolin/command.py

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def main(sysargs = sys.argv[1:]):
147147
for record in SeqIO.parse(query, "fasta"):
148148
# replace spaces in sequence headers with underscores
149149
record.description = record.description.replace(' ', '_')
150+
record.id = record.description
150151
if "," in record.id:
151152
record.id=record.id.replace(",","_")
152153

0 commit comments

Comments
 (0)