Skip to content

Troubleshooting

Jill V. Hagey, PhD edited this page Aug 3, 2022 · 9 revisions

Once version 1.0 of the pipeline is released after beta-testing this page will contain examples of what we consider good/bad genome assemblies and our reasoning for it.

Errors

First make sure your Nextflow >=21.10.6 and Singularity >=3.8.0 are up-to-date, we have seen errors with older version of both software.

"contains uncommitted changes"

If you run PHoeNix with nextflow run cdcgov/phoenix ... you may encounter this error:

N E X T F L O W  ~  version 21.10.6
Project `cdcgov/phoenix` contains uncommitted changes -- Cannot switch to revision: v1.0.0

This happens when the pipeline was not allowed to run to completion and files were changed without the pipeline getting to the steps to reset them for the next run. To reset the pipeline run the following:

gzip ~/.nextflow/assets/cdcgov/phoenix/assets/databases/REFSEQ_20210820_Bacteria_complete.msh
rm -f ~/.nextflow/assets/cdcgov/phoenix/assets/databases/Ref_Seq/*.gz

"sticked on revision"

If you run:

nextflow run cdcgov/phoenix -profile singularity,test -entry PHOENIX --kraken2db $PATH_TO_DB

You might run into an error that says something like:

N E X T F L O W  ~  version 21.10.6
Project `cdcgov/phoenix` currently is sticked on revision: v1.0.0 -- you need to specify explicitly a revision with the option `-r` to use it

This is because you need to tell nextflow what version (tag/branch) of the PHoeNIx you want to run by using the -r option. So instead run:

nextflow run cdcgov/phoenix -r v1.0.0 -profile singularity,test -entry PHOENIX --kraken2db $PATH_TO_DB

For more information see the nf-core documentation