Need Help?

Search our documentation and community forum

Terra is a cloud-native platform for biomedical researchers to access data, run analysis tools, and collaborate.
Terra powers important scientific projects like FireCloud, AnVIL, and BioData Catalyst. Learn more.

Write cromwell output to its own folder instead of the root directory

Comments

2 comments

  • Avatar
    Jason Cerrato

    Hi Kamil,

    This message is to confirm that I've documented your request.

    Kind regards,

    Jason

    0
    Comment actions Permalink
  • Avatar
    Kamil Slowikowski

    Here's a workaround for this issue.

    Step 1. Wait for all of the jobs in your workspace to finish running.

    Step 2. Run the bash script below to move the cromwell logs to a folder called workflow_logs

    #!/bin/bash
    bucket=fc-abababab-abab-abab-abab-abababababab
    while read x
    do
      x=${x%/}
      slug=$(basename $x)
      gsutil -m mv $x gs://${bucket}/workflow_logs/${slug}
    done < <(
      gsutil ls -d gs://${bucket}/????????-????-????-????-????????????
    )
    1
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk