Closed johnsonj161 closed 1 year ago
@johnsonj161 what kind of system are you working on (HPC, local laptop or cloud)? The error that kills this is the /.command.err <== cp: cannot create regular file '/home/test/isolate1/': No such file or directory
. Basically it can't find that folder. The v1.1.0 version that we are hoping to have out sometime in Feb should have a fix for this.
I am using a local Linux machine. I ran the test dataset and I am getting the same issue. I checked and the 'missing' directory appears to be present. Do you have any idea why I would be getting this issue if the directory is present? and if so, is there a temporary fix prior to the v1.1.0 update being released? I appreciate your help!
It has to do with how full paths are read by nextflow. Try adding a trailing backslash to your --outdir
. If you don't mind using a dev version for a month I would use nextflow run cdcgov/phoenix -r v1.0.1 -profile singularity -entry PHOENIX --input manifest.csv --kraken2db /home/databases/ --outdir $PWD/test
Let me know if that newer version works for you. This will be a good test to make sure the fixes are in fact fixes. Note that -r v1.0.1
is the branch with the correction, but ultimately when I release this branch I will make it v1.1.0 as the changes warrant the upgrade.
v1.0.1 works! I will keep my eye out for v1.1.0. Thank you!
Yay, I would recommend taking a clone of that as we are gonna push updates to that branch and nextflow will yell about changes at some point using nextflow run cdcgov/phoenix
. So to be clear run git clone -b v1.0.1 https://github.com/CDCgov/phoenix.git
that will install a folder phoenix
in the folder where you ran that command then you can run it like you were before nextflow run phoenix/main.nf -profile singularity -entry PHOENIX --input manifest.csv --kraken2db /home/databases/ --outdir $PWD/test
.
Spades fails when running the current version of the pipeline (-r main or -r v1.0.0). The command used is below:
nextflow run cdcgov/phoenix -r v1.0.0 -profile singularity -entry PHOENIX --input manifest.csv --kraken2db /home/databases/ --outdir $PWD/test
The outputs of the
.command
files is shown below: