Skip to content

Commit d1a5d88

Browse files
committed
scaffolds sample_name
1 parent 515f08f commit d1a5d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qp_spades/qp_spades.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def spades(qclient, job_id, parameters, out_dir):
167167
outfiles = []
168168
for run_prefix, sname in prep_info.items():
169169
scaffold = join(out_dir, run_prefix, 'scaffolds.fasta')
170-
new_scaffold = join(out_dir, run_prefix, f'{run_prefix}.fasta')
170+
new_scaffold = join(out_dir, run_prefix, f'{sname}.fasta')
171171
if exists(scaffold):
172172
run(['mv', scaffold, new_scaffold], stdout=PIPE)
173173
else:

0 commit comments

Comments
 (0)