Skip to content

Commit

Permalink
run aligners on sanitized fastas too
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Sep 19, 2024
1 parent 979583f commit 4e6108f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion read_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ def align_and_fix(
samtools = tools.samtools.SamtoolsTool()

refFastaCopy = mkstempfname('.ref_copy.fasta')
shutil.copyfile(refFasta, refFastaCopy)
shutil.copyfile(util.file.fastas_with_sanitized_ids(refFasta, use_tmp=True)[0], refFastaCopy)

tools.picard.CreateSequenceDictionaryTool().execute(refFastaCopy, overwrite=True, JVMmemory=JVMmemory)
samtools.faidx(refFastaCopy, overwrite=True)
Expand Down

0 comments on commit 4e6108f

Please sign in to comment.