Hello there,:wave::skin-tone-3: I want to contribu...
# modules
f
Hello there,๐Ÿ‘‹๐Ÿผ I want to contribute a new module which is doing deconvolution on 3D fluorescence microscopy data. I already started following along the nf-core guidelines, created an issue and so on. Now I wanted to work on the TODOs created by nf-core module create. However, the tool I am using to do the deconvolution is not available by conda. So how would I handle this in the module repo? Could not find anything in this regard. Furthermore, currently I host the docker image on a 'private' container registry. Therefore I wanted to ask, whether it would somehow be possible that I give you the dockerfile and you could host it on quay.io? And that brings me to my next question in this regard: In the directive container, there is a condition regarding singularity. Is this necessary if there is only this one dockerfile? Sorry for spaming you with all these question, but I am new to this and want to do it right, so that it is less trouble for everyone. Thank you so much in advance!!!๐Ÿงก
n
Hi Felix, is there really no way this tool can be added to conda? ๐Ÿ˜›
f
I don't now. I did not create this tool, so I can't tell. I am also not experienced enough to give a good estimate whether this is possible or not...
n
Can you post a link to the tool? I can take a look if it's possible ๐Ÿ˜›
f
Sure๐Ÿ˜€ Here it is: https://github.com/elgw/deconwolf
n
It doesn't look too hard to install this, so it should be pretty easy to add to conda ๐Ÿ™‚
There are some tutorials @James Fellows Yates wrote on how to add conda packages (but I forgot where they are ๐Ÿ˜)
j
They are on the official bioconda website now!
๐Ÿคฏ 3
n
Oh wow yeah I completely forgot!!!
thanks!
f
Wow okay thanks. that looks like a lot.
Maybe quickly to my docker related question: Would it be possible that nf-core is hosting my docker image on quay.io?
n
The guidelines require tools to be in
conda
. This is a really rigid requirement and exceptions are only made for tools that really don't fit into
conda
(which is not the case here). So sorry about this, but this will improve the module a lot and will lower the maintenance burden in the future
f
Okay, then I will see how this will go.๐Ÿ˜…
But still... What about my question about nf-core hosting docker images on quay.io? Would this be possible?
Are there some guidelines I can/should follow along?
n
Only if the tool cannot be part of
conda
๐Ÿ˜›
Are there some guidelines I can/should follow along?
For what exactly? ๐Ÿ˜›
f
But what if I want to also provide the accompaning docker image if the people want to run the module with docker or apptainer?
n
Ah okay I see what you mean ๐Ÿ˜› All
bioconda
packages are automatically converted to Docker and Singularity containers, which we use in all nf-core modules
f
Ah๐Ÿ˜… so when I now write my module, what would I then write in the container directive? biocontainers/mytool?
n
Yes you can take a look at other modules to see how they are implemented ๐Ÿ˜›
๐Ÿ‘๐Ÿผ 1
f
Thanks!
๐ŸŽ‰ 1
n
This might seem daunting but it can be a very nice experience to actually create a conda package and write a module from scratch ๐Ÿ˜›
f
Indeed. ๐Ÿ˜… I hope everything will workout in the end as it should...
n
You got it!! Feel free to ask advice in #bioconda if you were to have problems ๐Ÿ™‚
๐Ÿ‘๐Ÿผ 1