DeepMicrobes icon indicating copy to clipboard operation
DeepMicrobes copied to clipboard

Versioned release package for DeepMicrobes

Open jayramr opened this issue 3 years ago • 11 comments

I'm working to make DeepMicrobes available on Bioconda.

Please refer. -> https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release

I need your help creating a versioned release to use for the Bioconda recipe. Once DeepMicrobes is added to Bioconda, it'll also be made available as a Docker container from Biocontainers, and as a Singularity image from the Galaxy Project. The Bioconda bot will also recognize future releases and automatically update the recipe.

Please let me know

Thanks Jay

jayramr avatar Jul 14 '22 08:07 jayramr

Hi, I have created a release. Thank you for your effort on making DeepMicrobes available on Bioconda.

MicrobeLab avatar Jul 14 '22 09:07 MicrobeLab

@MicrobeLab thanks for making this as a release. Please advise does this installation only supports via conda create env? Also how can i test once this is successfully installed or not. Because i need to define in the bioconda package recipe about the testing conditions, then only it will succeed perfectly. Please advise

jayramr avatar Jul 15 '22 06:07 jayramr

Creating a conda env is not mandatory as long as the dependencies listed in the install.yml have been provided. DeepMicrobes is not a software that needs to be compiled. It just consists of basic python scripts. Perhaps it can be regarded as a signal of success installation that the main script "DeepMicrobes.py" can be called like a linux command without errors?

MicrobeLab avatar Jul 15 '22 09:07 MicrobeLab

cool thanks let me try that away :) Thanks for your help.

jayramr avatar Jul 15 '22 17:07 jayramr

Dear @MicrobeLab

I'm facing some issue with building this package in bioconda. As per the community recommendation, could you convert the same into a python package?

Here is the PR for https://github.com/bioconda/bioconda-recipes/pull/35862

The issue is that this (deepmicrobes) isn't written like a python package. It's just a set of scripts and you need to execute it from within the source so the models directory is in the import path. Can you ask the authors to restructure this a bit into a normal package so something like pip install will work with it? They basically just need a setup.py.

Please advise

jayramr avatar Sep 15 '22 13:09 jayramr

Hi, I created a setup.py. But I am new to building a python package. Not sure if the code works. Thanks.

MicrobeLab avatar Sep 17 '22 11:09 MicrobeLab

Thanks @MicrobeLab let me check the same.

In addition could you please release this change as a new version package

jayramr avatar Sep 17 '22 16:09 jayramr

I've released this change (v1.0.1). Thanks :)

MicrobeLab avatar Sep 19 '22 04:09 MicrobeLab

Thank you, but still v1.0.1 shows as "Pre-release". Could you make this as a latest version

jayramr avatar Sep 19 '22 05:09 jayramr

I made this as a latest version

MicrobeLab avatar Sep 19 '22 06:09 MicrobeLab

Thanks, let me test this release and update you if i have any issues

jayramr avatar Sep 19 '22 08:09 jayramr