diff --git a/fastqc.wdl b/fastqc.wdl index 913c06d779f2d999c870c1c4d97b4d30eee72bf3..ad9e224694fffaa5d6860fa55c912a188ed9e0da 100644 --- a/fastqc.wdl +++ b/fastqc.wdl @@ -4,11 +4,11 @@ task Fastqc { input { File seqFile String outdirPath - Boolean? casava - Boolean? nano - Boolean? noFilter - Boolean extract = true - Boolean? nogroup + Boolean casava = false + Boolean nano = false + Boolean noFilter = false + Boolean extract = false + Boolean nogroup = false Int? minLength String? format File? contaminants @@ -19,6 +19,8 @@ task Fastqc { Int threads = 1 String dockerTag = "0.11.7--4" + Array[File]? NoneArray + File? NoneFile } # Chops of the .gz extension if present. @@ -50,10 +52,11 @@ task Fastqc { } output { - File rawReport = reportDir + "/fastqc_data.txt" - File htmlReport = reportDir + "/fastqc_report.html" - File summary = reportDir + "/summary.txt" - Array[File] images = glob(reportDir + "/Images/*.png") + File? rawReport = if extract then reportDir + "/fastqc_data.txt" else NoneFile + File htmlReport = reportDir + ".html" + File reportZip = reportDir + ".zip" + File? summary = if extract then reportDir + "/summary.txt" else NoneFile + Array[File]? images = if extract then glob(reportDir + "/Images/*.png") else NoneArray } runtime {