We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 979583f + 393c8ab commit 4188297Copy full SHA for 4188297
read_utils.py
@@ -1197,7 +1197,8 @@ def align_and_fix(
1197
samtools = tools.samtools.SamtoolsTool()
1198
1199
refFastaCopy = mkstempfname('.ref_copy.fasta')
1200
- shutil.copyfile(refFasta, refFastaCopy)
+ with util.file.fastas_with_sanitized_ids(refFasta, use_tmp=True) as sanitized_fastas:
1201
+ shutil.copyfile(sanitized_fastas[0], refFastaCopy)
1202
1203
tools.picard.CreateSequenceDictionaryTool().execute(refFastaCopy, overwrite=True, JVMmemory=JVMmemory)
1204
samtools.faidx(refFastaCopy, overwrite=True)
0 commit comments