Skip to content
Snippets Groups Projects
Commit 691a6392 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Revert "Added glob's to output files"

This reverts commit 138d3606
parent 830a39b8
No related branches found
No related tags found
1 merge request!24Changes after testing
......@@ -16,7 +16,7 @@ task fastqc {
Int? kmers
String? dir
# Chops of the .gz extension if present.
String name = sub(sub(seqFile, "\\.gz$",""), "\\.fq$|\\.fastq$","")
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(name), "\\.[^\\.]*$", "_fastqc")
......@@ -44,9 +44,9 @@ task fastqc {
}
output {
File rawReport = select_first(glob(outdirPath + "/" + name + "*_fastqc/fastqc_data.txt"))
File htmlReport = select_first(glob(outdirPath + "/" + name + "*_fastqc/fastqc_report.html"))
File summary = select_first(glob(outdirPath + "/" + name + "*_fastqc/summary.txt"))
File rawReport = reportDir + "/fastqc_data.txt"
File htmlReport = reportDir + "/fastqc_report.html"
File summary = reportDir + "/summary.txt"
Array[File] images = glob(reportDir + "/Images/*.png")
}
......
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