MicrobeLab / DeepMicrobes

DeepMicrobes: taxonomic classification for metagenomics with deep learning
https://doi.org/10.1093/nargab/lqaa009
Apache License 2.0
81 stars 21 forks source link

Versioned release package for DeepMicrobes #20

Open jayramr opened 1 year ago

jayramr commented 1 year ago

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

MicrobeLab commented 1 year ago

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

jayramr commented 1 year ago

@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

MicrobeLab commented 1 year ago

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?

jayramr commented 1 year ago

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

jayramr commented 1 year ago

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

MicrobeLab commented 1 year ago

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

jayramr commented 1 year ago

Thanks @MicrobeLab let me check the same.

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

MicrobeLab commented 1 year ago

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

jayramr commented 1 year ago

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

MicrobeLab commented 1 year ago

I made this as a latest version

jayramr commented 1 year ago

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