Open wenweiliang opened 6 years ago
I don't believe there is anyone maintaining the cwl_runner
example.
I think the right thing is to at least mark it as such in the README or take it down.
That said, I can make a few suggestions:
Docker installation has changed since this script was written. Instructions are on the docker web site, but the steps depend on the platform (Debian, Ubuntu, etc.) that you are using.
It might end up being a slippery slope of fixes to get it working. I'm just guessing since this file has not changed in a meaningful way since it was checked in over a year ago (Feb 2017).
Cromwell documentation indicates that by Cromwell 30 it will support both WDL and CWL, although I don't see this called out in the release notes for Cromwell 30 or 31, and I have not yet tested it.
Hi @mbookman
Thanks for the suggestions. I have fixed the docker installation issue by changing docker.io
to docker
, but here is another error:
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 46.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
warning: no previously-included files matching '*' found under directory 'docs/_templates'
warning: no previously-included files matching '*' found under directory 'docs/_build'
Failed to start docker.service: Unit docker.service not found.
/cwl/bin/cwl-runner 1.0.20180403145700
Resolved '/mnt/data/input/gs/genomics-public-data/cwl-examples/gdc-dnaseq-cwl/workflows/dnaseq/transform.cwl' to 'file:///mnt/data/input/gs/genomics-public-data/cwl-examples/gdc-dnaseq-cwl/workflows/dnaseq/transform.cwl'
I'm sorry, I couldn't load this CWL file, try again with --debug for more information.
The error was: cwltool requires Node.js engine to evaluate and validate Javascript expressions, but couldn't find it. Tried nodejs, node, docker run node:slim
Building synchronization state...
Starting synchronization...
Copying file:///tmp/status-7627.txt [Content-Type=text/plain]...
/ [0 files][ 0.0 B/ 7.0 B]
/ [1 files][ 7.0 B/ 7.0 B]
Operation completed over 1 objects/7.0 B.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 41 100 41 0 0 5922 0 --:--:-- --:--:-- --:--:-- 6833
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 11 100 11 0 0 1549 0 --:--:-- --:--:-- --:--:-- 1571
I don't see any CWL support in Cromwell documentation. In stead of waiting for Crowell updates, I am thinking to take a roundabout like installing rabix in VM to run cwl on google cloud. Anyways, please let me know if you have other thoughts.
@wenweiliang I too was looking at whether or not Cromwell supports CWL and although it was advertised as coming with release 30 (which was released in December of last year), I don't see it mentioned in the release notes or elsewhere in the documentation. I did come across this Rabix tutorial which seems to illustrate running Rabix on GCP using Funnel and TES, which might worth looking at.
I was running the example provided by cwl_runner. It seems like docker.io can't be installed. Here is the error: