Hi what is the purpose of the files on this line a...
# references
n
Hi what is the purpose of the files on this line and all lines after that? https://github.com/nf-core/modules/blob/565c264868ccfe46a4c87a4ab3f812298c307597/subworkflows/nf-core/utils_references/schema_references.json#L42 (I'm trying to get a better understanding in order to update the JSON schema)
m
so currently these files are tar in sarek
but I think we can actually provide folders instead
n
Okay so these should be directories or tarzipped files? 😛 All of the following path values too?
m
oooh
shall we hope on a call so I can explain the logic?
sorry did not catch all the question
I was blinded by
ascat_alleles
n
Yeah good idea 😉
l
Ive been running and implementing ASCAT on some future pipelines as well so maybe I can add to this if something is unclear what these files are used for and what is the most convenient type (zip vs folder for instance)
🎉 1
l
So let me know if you have any questions/want to discuss about how it would actually be easiest to use ascat reference files in pipelines
m
@Luuk Harbers so my current implementation in references can auto-extract references
l
I haven't had the time to look into the exact implementation of nf-core/references yet. I guess this shows it? https://github.com/nf-core/references/blob/dev/subworkflows/local/yaml_to_channel/main.nf Where it downloads the associated files and puts it in a channel or am i simplifying too much?
If this is the implementation and output as illustrated in that subworkflow, that seems perfect to me
Copy code
emit:
ascat_alleles    // channel: [meta, *.ascat_alleles.txt]
Better than the current, downloading a
.zip
and having another module to unzip these files before being able to use it
m
so yaml_to_channel is just transforming the yaml genome sheet in a channel
l
Ah I see, neat, thanks a lot! Looking forward to 1.0.0 and some more info on how to use it on other pipelines! PS: Sorry for hijacking this thread :')
m
Hijacking discussions is my middle name
utils_references
is in nf-side/modules
n
Awesome! I'll give it a go after lunch!
m
THANKS