I am trying to used Nextflow Docker from DockerHub (https://hub.docker.com/r/nextflow/nextflow). A simplest file was created:
#!/usr/bin/env nextflow
process readme {
output:
file "readme.txt"
"""
echo "hello world\n" >> readme.txt
"""
}
The command is "docker run -it --rm
-v /home/Zhuang/data/trf:/home/Zhuang/data/trf
-w /home/Zhuang/data/trf
nextflow/nextflow:21.10.0 nextflow run /home/Zhuang/data/trf/code/trftmp/main.nf ".
And I got the error "NOTE: Missing output file(s) readme.txt expected by process readme ([:])". No readme.txt was created in work dir.
Everything was fine when I run without docker ("nextflow/nextflow:21.10.0 nextflow run
home/Zhuang/data/tractoflow/code/tractoflowtmp/main.nf").
Does anyone have any ideas? Thanks in advance!
I am trying to used Nextflow Docker from DockerHub (https://hub.docker.com/r/nextflow/nextflow). A simplest file was created:
#!/usr/bin/env nextflow
process readme {
output:
file "readme.txt"
}
The command is "docker run -it --rm
-v /home/Zhuang/data/trf:/home/Zhuang/data/trf
-w /home/Zhuang/data/trf
nextflow/nextflow:21.10.0 nextflow run /home/Zhuang/data/trf/code/trftmp/main.nf ".
And I got the error "NOTE: Missing output file(s)
readme.txtexpected by processreadme ([:])". No readme.txt was created in work dir.Everything was fine when I run without docker ("nextflow/nextflow:21.10.0 nextflow run
home/Zhuang/data/tractoflow/code/tractoflowtmp/main.nf").
Does anyone have any ideas? Thanks in advance!