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

Missing file in iGenomes #1515

Closed
ekushele opened this issue May 8, 2024 · 9 comments
Closed

Missing file in iGenomes #1515

ekushele opened this issue May 8, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@ekushele
Copy link

ekushele commented May 8, 2024

Description of the bug

Hi,

I'm trying to run sarek, and I'm getting the following error:


ERROR ~ Error executing process > 'NFCORE_SAREK:SAREK:CRAM_SAMPLEQC:BAM_NGSCHECKMATE:BCFTOOLS_MPILEUP (1)'

Caused by:
  Not Found (Service: Amazon S3; Status Code: 404; Error Code: 404 Not Found; Request ID: DWAFHYDZD0HB3HXB; S3 Extended Request ID: 9UnG6G4ZvIrq/mijFQxFBq5uJUwvZXWga5ogNegCaF2yXEQ4UgMlcuMwhj8udwpksh2uh3JsTg0=; Proxy: null)


 -- Check '.nextflow.log' file for details
-[nf-core/sarek] Sent summary e-mail to mazaltov@hadassah.org.il (mail)-
-[nf-core/sarek] Pipeline completed with errors-
WARN: Killing running tasks (2)

Command used and terminal output

$ nextflow run -resume -params-file OV3_params.yaml  -profile singularity nf-core/sarek

where params file is: 

input: OV3_sample_sheet.csv
outdir: output
step: variant_calling
wes: true
tools: 'mutect2,vep'
genome: GATK.GRCh37
save_reference: true
download_cache: true


### Relevant files

_No response_

### System information

nextflow version:  23.04.4
nf-core/sarek: 3.4.1
@ekushele ekushele added the bug Something isn't working label May 8, 2024
@logust79
Copy link

logust79 commented May 8, 2024

I'm hitting the same error in mpileup.

@maxulysse
Copy link
Member

That sounds like some credentials issue with AWS,
Can you try to unset your AWS credentials prior running the analysis and it should be fine.
Otherwise, adding this to a custom.config file, and supplying it with -c custom.config should do the trick:

aws {
    client {
        anonymous = true
    }
}

@logust79
Copy link

logust79 commented May 8, 2024 via email

@logust79
Copy link

logust79 commented May 8, 2024

I just finished a run on 'GRCh38' and it went through without this issue.

@ekushele
Copy link
Author

ekushele commented May 9, 2024

@maxulysse thank you, but it didn't work..
Do you have another solution?

@pontus
Copy link

pontus commented May 10, 2024

Most likely cause for this seems some AWS credentials being picked up somehow, can you confirm that there is no .aws directory in your $HOME directory (if there is, can you try moving that aside)?

Similarly, can you confirm that you don't set any AWS-related environment variables, i.e. env | grep AWS doesn't return any lines?

If you do this in a setup involving multiple nodes you'd need to make sure it's true on the node where the actual nextflow processes are being run.

If you are running in AWS there could be some extra steps needed, but we can wait with those for now, but please let us know if that's the case.

@logust79
Copy link

I ran it with and without AWS credentials, running into the same issue whatsoever. env | grep AWS confirmed nothing is set. I think some S3 files specific to GRCh37 are out of reach.

@maxulysse
Copy link
Member

Can you try again?

@logust79
Copy link

Can you try again?

Tried and worked without aws credentials for GRCh37. Thanks for fixing the S3 file access :)

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

4 participants