Skip to content

Commit

Permalink
Merge pull request #414 from /issues/413-fix-single-end-input
Browse files Browse the repository at this point in the history
Fix single-end submission (resolves #413)
  • Loading branch information
fnothaft authored Aug 11, 2016
2 parents 7ccfb96 + 93aba89 commit f3fb9cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/toil_scripts/rnaseq_cgl/rnaseq_cgl_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def process_sample(job, config, input_tar=None, input_r1=None, input_r2=None, gz
else:
ext = '.fq.gz' if gz else '.fq'
job.fileStore.readGlobalFile(input_r1, os.path.join(work_dir, 'R1' + ext))
job.fileStore.readGlobalFile(input_r2, os.path.join(work_dir, 'R2' + ext))
if config.paired:
job.fileStore.readGlobalFile(input_r2, os.path.join(work_dir, 'R2' + ext))
fastqs = []
for root, subdir, files in os.walk(work_dir):
fastqs.extend([os.path.join(root, x) for x in files])
Expand Down

0 comments on commit f3fb9cd

Please sign in to comment.