Skip to content

Commit

Permalink
diff cleaning strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Jan 13, 2025
1 parent ef4be32 commit 7d86630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipes/WDL/tasks/tasks_ncbi.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ task biosample_to_genbank {
# sanitize sequence IDs to match fasta headers
if "~{sanitize_seq_ids}".lower() == 'true':
outrow['Sequence_ID'] = re.sub(r'[^0-9A-Za-z!#$%&+./:;?@^_|~-]', '_', outrow['Sequence_ID'])
outrow['Sequence_ID'] = re.sub(r'[^0-9A-Za-z!_-]', '-', outrow['Sequence_ID'])
# write entry for this sample
sample_name = outrow['Sequence_ID']
Expand Down

0 comments on commit 7d86630

Please sign in to comment.