Skip to content
Snippets Groups Projects
Commit fb91a024 authored by Cats's avatar Cats
Browse files

update healthchecker

parent bf4c1a3e
No related branches found
No related tags found
No related merge requests found
......@@ -408,13 +408,16 @@ task HealthChecker {
-tum_flagstat_file ~{tumorFlagstats} \
-tum_wgs_metrics_file ~{tumorMetrics} \
-purple_dir ~{sub(purpleOutput[0], basename(purpleOutput[0]), "")} \
-output_dir ~{outputDir}
-output_dir ~{outputDir}
test -e '~{outputDir}/~{tumorName}.HealthCheckSucceeded' && echo 'true' > '~{outputDir}/succeeded'
test -e '~{outputDir}/~{tumorName}.HealthCheckFailed' && echo 'false' > '~{outputDir}/succeeded'
}
output {
File? healthCheckSucceeded = "~{outputDir}/~{tumorName}.HealthCheckSucceeded"
File? healthCheckFailed = "~{outputDir}/~{tumorName}.HealthCheckFailed"
Boolean succeeded = read_boolean("result")
File outputFile = if succeeded
then "~{outputDir}/~{tumorName}.HealthCheckSucceeded"
else "~{outputDir}/~{tumorName}.HealthCheckFailed"
}
runtime {
......
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