Caching question: We are taking a set of files thr...
# help
l
Caching question: We are taking a set of files through github using the igenomes config (and
getAttribute
) just like normally with fasta files etc. These files are on github lfs and so we specified them like this in the config (opposed to raw.githubusercontent.com )
Copy code
gnomad          = "https://github.com/IntGenomicsLab/test-datasets/raw/refs/heads/main/ClairSTO-pon/final_gnomad.vcf.gz"
            dbsnp           = "https://github.com/IntGenomicsLab/test-datasets/raw/refs/heads/main/ClairSTO-pon/final_dbsnp.vcf.gz"
            onekgenomes     = "https://github.com/IntGenomicsLab/test-datasets/raw/refs/heads/main/ClairSTO-pon/final_1kgenomes.vcf.gz"
            colors          = "https://github.com/IntGenomicsLab/test-datasets/raw/refs/heads/main/ClairSTO-pon/final_colors.vcf.gz"
This works perfectly and downloads them fine. However the caching doesn't work and I'm unsure why. It will always restage the files from github lfs and result in processed not caching properly on resume. I'll put a
nextflow.log
snippet with hashes in a reply here.
run2.log,run1.log
Is there another specific way to specify github lfs paths or am I looking in the wrong direction?
Anyone got experience with this? We also posted an issue here: https://github.com/nextflow-io/nextflow/issues/6466
t
This may be a question for the Nextflow Slack, where the Nextflow developers are more likely to see it. It would be interesting to know how exactly the hash for a file from a URL is calculated. I have no idea, but if it were to use the resolved IP address rather than the URL, it could be that the IP of the server changes due to load leveling, for example, or something along those lines, so GitHub LSF might be to "blame", although I would not necessarily call that a bug.