Hi I'm trying to learn to use version 5. When I ru...
# mag
n
Hi I'm trying to learn to use version 5. When I run this:
nextflow run nf-core/mag -r 5.0.0 -c htc_resourceLimits.config -profile test --outdir results
I get the error:
Copy code
ERROR ~ Validation of pipeline parameters failed!

 -- Check '.nextflow.log' file for details
The following invalid input values have been detected:

* --igenomes_base (s3://ngi-igenomes/igenomes/): could not validate file format of 's3://ngi-igenomes/igenomes/': The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: D9YV4PDW5R4YD41Z; S3 Extended Request ID: oGzUA+P13i7Fu4yUHTvY9khlRU2dqYXe1Nbs3lTS0Ay0hOEHQInPiugLXp16Cy8NDZvq3NpbDF0=; Proxy: null)

 -- Check script '/ihome/.nextflow/assets/nf-core/mag/subworkflows/nf-core/utils_nfschema_plugin/main.nf' at line: 39 or see '.nextflow.log' file for more details
but if I run the exact same command with
-r 4.0.0
, it works
j
I've not seen that for a while but it can affect different pipelines and not specifically mag, I think if you search across the nf-core slack you'll find reference to it...
n
I'll check around. Thank you FYI I just ran one of my metagenomic samples (not using the 'test' profile) and it failed for same reason. Therefore, it is not specific to the 'test' profile but rather v5.0.0.
🤔 1
n
it is working! THANK YOU
j
Interestling it looks like that thhe anonymous bit is only specified in the template for tests:
Copy code
https://github.com/nf-core/tools/blob/75e643ad2c62cdc8ecd39aa56c0c314efd4b13e4/nf_core/pipeline-template/tests/nextflow.config#L14