I am trying to set all my references manually, but...
# tmp-rnafusion-references
r
I am trying to set all my references manually, but I keep running into this error:
Failed to create publish directory: s3://nf-core-awsmegatests/rnafusion/references/GRCh38/gencode_v36/gencode
Why does it try to write to the nf-core bucket, if I use another gencode version?
ok found it, https://github.com/nf-core/rnafusion/blob/310403a22297d700124a94967d0de1bd11772705/conf/modules.config#L63 + https://github.com/nf-core/rnafusion/blob/310403a22297d700124a94967d0de1bd11772705/nextflow.config#L29 so looks like you cannot combine existing reference genomes plus your own at the moment to some extend without moving everything to a bucket you can write/ hardcode all files
n
You can change you
--genomes_base
parameter to another location 😛
r
right, but then I can't use some of the ones from genomes.config that I don't want to overwrite
n
you can if you download them and put them in the new location (which is what you are expected to do in this case 😛)
r
hmm i am quite confused by the references in this pipeline.
n
Yeah it's no ideal, but it's better than it was before
So basically we have cached references on megatests s3 bucket which are fetched by the pipeline by default. We state in the docs that user are expected to download these references and point to the downloaded location with
--genomes_base
. Setting
--genomes_base
to an empty folder will start reference building in the pipeline because it cannot find the missing references
The reference building will be moved to #references in the future which will simplify this a lot 😛
r
ok, how come you diverted from other pipelines that publish newly build references into the results folder?
n
Because the reference building in this pipeline breaks a lot and we didn't want people to use it too much
This was the most elegant solution for this case IMO