question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cromwell docker scripts cannot handle containers with entry points well

See original GitHub issue

I noticed that if I give cromwell a container with existing entry-point (like quay.io/ucsc_cgl/fastqc@sha256:86d82e95a8e1bff48d95daf94ad1190d9c38283c8c5ad848b4a498f19ca94bfa , for instance) and give a file as an input it (both develop branch and latest release) fails to run the entry point properly. Here is an example of task

task report {

  String fileName
  File file

  command {
    ${file}
  }

  runtime {
    docker: "quay.io/ucsc_cgl/fastqc@sha256:86d82e95a8e1bff48d95daf94ad1190d9c38283c8c5ad848b4a498f19ca94bfa"
    #docker: "quay.io/biocontainers/fastqc@sha256:bb57a4deeec90633e746afbc38c36fdb202599fe71f9557b94652e9c8f3c1a02"
  }

  output {
    #File out = sub(file, "\\.fastq.gz", "_fastqc.gz")
    File out = "${fileName}.fastqc.gz"
  }
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (14 by maintainers)

github_iconTop GitHub Comments

3reactions
dinvladcommented, May 21, 2019

I think it is not longer relevant

Could you elaborate? We still can’t use images that have ENTRYPOINT set.

1reaction
geoffjentrycommented, May 11, 2017

@cjllanwarne I can’t find it now (perhaps it has since been closed as a won’t fix) but this has come up before. If you’re open to trying to track it down close one as a dupe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Containers - Cromwell - Read the Docs
Cromwell : Run-in-background​​ If there is an error starting the container or executing the script, Cromwell may not recognise this error and hang....
Read more >
Why won't my docker-entrypoint.sh execute? - Stack Overflow
RUN is executed while the image is being build, while ENTRYPOINT is executed after the image has been built. I need an ENTRYPOINT...
Read more >
Nextflow - an Emerging Service for Workflow Management
A common cause of this problem is that the Docker container image you have specified uses a non standard entrypoint which does not...
Read more >
Installation | Cromwell CMS
Installation. There are multiple ways to install and run Cromwell CMS. 1. Docker run#. The most simple way to deploy the CMS is...
Read more >
Is it possible to have a task directly modify an input file?
I created a simple Python script in a WDL that demonstrates this a ... I cannot modify the Rscripts; we want to use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found