Skip to content

Commit d4771d5

Browse files
committed
cutadapt: Fix output file name when --ignore-mate=forward is passed
1 parent 815a7d6 commit d4771d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rnaseq_pipeline/tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def run(self):
111111
logger.info('Forward mate is ignored for %s.', repr(self))
112112
yield platform.get_trim_single_end_reads_task(
113113
r2.path,
114-
join(destdir, os.path.basename(r1.path)),
114+
join(destdir, os.path.basename(r2.path)),
115115
minimum_length=self.minimum_length,
116116
cpus=4)
117117
elif self.ignore_mate == 'reverse':

0 commit comments

Comments
 (0)