Calculate the MD5 of INPUT files in bulk.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

MD5.wdl 420B

il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
123456789101112131415161718192021222324252627282930
  1. task MD5 {
  2. Array[File] INPUT
  3. String docker
  4. String cluster_config
  5. String disk_size
  6. command <<<
  7. set -o pipefail
  8. set -e
  9. for i in ${sep=" " INPUT}
  10. do
  11. md5sum $i > $i.md5
  12. done
  13. cat `ls | grep .md5$` > OUTPUT.md5
  14. >>>
  15. runtime {
  16. docker: docker
  17. cluster: cluster_config
  18. systemDisk: "cloud_ssd 40"
  19. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  20. }
  21. output {
  22. File MD5 = "OUTPUT.md5"
  23. }
  24. }