BioinformaticsToolsmith / Identity

Other
32 stars 3 forks source link

bioconda recipe for meshclust3 #17

Open yanhui09 opened 10 months ago

yanhui09 commented 10 months ago

Hi,

Thanks for the great tool. I would like to include meshclust3 in my workflow. I wonder if it's possible to build a bioconda recipe for it.

I tried to make one but it couldn't identify CXX compiler. Do you have any suggestions? bash.sh meta.yaml

-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:5 (project):
  The CMAKE_CXX_COMPILER:

    g++-7

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
yanhui09 commented 10 months ago

I think I got some clue. v2.0 has some bugs in CMakeLIsts.txt which has fixed requirements for g++-7, but I mixed this version with the one on the master branch. https://github.com/BioinformaticsToolsmith/Identity/blob/e8a8f96821480eb1c66028e57eed7d1babea282f/CMakeLists.txt#L3

Given git_url is not stable (https://bioconda.github.io/contributor/guidelines.html#stable-url), I need a new tag for the one on the main branch; meshclust v3 was not included in v2.0 yet. Sorry for the multiple mentions. @hani-girgis Or maybe @benjamin-james

yanhui09 commented 10 months ago

As a walkaround solution, I built a container image to conveniently control my workflow. Given the limited access, I distribute the image under my public repository (https://hub.docker.com/r/yanhui09/identity). If it violates some of your rules, please let me know.