Calculate the MD5 of INPUT files in bulk.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MD5.wdl 346B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
1234567891011121314151617181920212223
  1. task MD5 {
  2. File file
  3. String name = basename(file)
  4. String docker
  5. String cluster_config
  6. String disk_size
  7. command <<<
  8. md5sum ${file} > ${name}.md5
  9. >>>
  10. runtime {
  11. docker: docker
  12. cluster: cluster_config
  13. systemDisk: "cloud_ssd 40"
  14. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  15. }
  16. output {
  17. File MD5 = "${name}.md5"
  18. }
  19. }