def run_fastqc(job, r1_id, r2_id):
work_dir = job.fileStore.getLocalTempDir()<EOL>job.fileStore.readGlobalFile(r1_id, os.path.join(work_dir, '<STR_LIT>'))<EOL>parameters = ['<STR_LIT>']<EOL>output_names = ['<STR_LIT>', '<STR_LIT>']<EOL>if r2_id:<EOL><INDENT>job.fileStore.readGlobalFile(r2_id, os.path.join(work_dir, '<STR_LIT>'))<EOL>parameters.extend(['<STR_LIT>', '<STR_LIT:2>', '<STR_LIT>'])<EOL>output_names.extend(['<STR_LIT>', '<STR_LIT>'])<EOL><DEDENT>dockerCall(job=job, tool='<STR_LIT>',<EOL>workDir=work_dir, parameters=parameters)<EOL>output_files = [os.path.join(work_dir, x) for x in output_names]<EOL>tarball_files(tar_name='<STR_LIT>', file_paths=output_files, output_dir=work_dir)<EOL>return job.fileStore.writeGlobalFile(os.path.join(work_dir, '<STR_LIT>'))<EOL>
Run Fastqc on the input reads

:param JobFunctionWrappingJob job: passed automatically by Toil
:param str r1_id: FileStoreID of fastq read 1
:param str r2_id: FileStoreID of fastq read 2
:return: FileStoreID of fastQC output (tarball)
:rtype: str