Description of the bug
When initializing refgenie, if the directory ~/.nextflow/nf-core doesn't exist, it fails and can't create the refgenie_genomes.config file.
Reported in nf-core/website#1508 and the Slack conversation https://nfcore.slack.com/archives/C022LLQSSG1/p1684438446985359
Solution: check if an nf-core directory exists in ~/.nextflow/ and crate it otherwise.
Command used and terminal output
No response
System information
No response