Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline fails when work directory is not removed before run #176

Closed
AWS-crafter opened this issue Sep 26, 2023 · 2 comments
Closed

Pipeline fails when work directory is not removed before run #176

AWS-crafter opened this issue Sep 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@AWS-crafter
Copy link

Description of the bug

nextflow run main.nf -profile docker [...] --run_ancestry fails when it was ran previously but when the work directory has not been removed. The samplesheet format is pfile. This occurred with multiple different files.

The easy workaround is to just remove the work directory before running, so this is not important/urgent.

Command used and terminal output

Here is an example:
initial nextflow run --> success
repeating the same command (same files) immediately after --> failure
rm -rf work
repeating the same command (same files) --> success

Or...
initial nextflow run --> failure
rm -rf work
running the pipeline on a different file immediately after --> success

Relevant files

No response

System information

pgscatalog/pgsc_calc v2.0.0-alpha.2
Ubuntu, on AWS EC2
Docker

@AWS-crafter AWS-crafter added the bug Something isn't working label Sep 26, 2023
@smlmbrt
Copy link
Member

smlmbrt commented Sep 28, 2023

@nebfield
Copy link
Member

This could also be related to the VCF input bug #180

We cache intermediate files (e.g. recoded genomes, summary stats, etc.) across runs on the same dataset to save space and CPU time. If a bugged workflow run gets cached then future runs of the pipeline could fail randomly.

It's worth waiting to see if this still happens for you when we release a patch sometime next week.

@smlmbrt smlmbrt closed this as completed Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants