Skip to content
Snippets Groups Projects
Unverified Commit b6165088 authored by Cats's avatar Cats Committed by GitHub
Browse files

Merge pull request #68 from biowdl/BIOWDL-122

fixed fastqc call-caching
parents 6acca318 99e7c30a
No related branches found
No related tags found
No related merge requests found
......@@ -21,10 +21,10 @@ task Fastqc {
}
# Chops of the .gz extension if present.
String name = sub(seqFile, "\.gz$","")
String name = basename(sub(seqFile, "\.gz$","")) # The Basename needs to be taken here. Otherwise paths might differ between similar jobs.
# 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")
String reportDir = outdirPath + "/" + sub(name, "\.[^\.]*$", "_fastqc")
command {
set -e -o pipefail
......
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