Skip to content
Snippets Groups Projects
Commit 4860b40d authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

allow gzipped files

parent 4f383528
No related branches found
No related tags found
No related merge requests found
......@@ -40,10 +40,11 @@ task fastqc {
}
output {
# Apparently, the escape character needs to be escaped in regexes.
# Chops of the .gz extension if present.
String name = sub(seqFile, "\\.gz$","")
# This regex chops of the extension and replaces it with _fastqc for the reportdir.
# Just as fastqc does it.
String reportDir = outdirPath + "/" + sub(basename(seqFile), "\\.[^\\.]*$", "_fastqc")
String reportDir = outdirPath + "/" + sub(basename(name), "\\.[^\\.]*$", "_fastqc")
File rawReport = reportDir + "/fastqc_data.txt"
File htmlReport = reportDir + "/fastqc_report.html"
File summary = reportDir + "/summary.txt"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment