Giter Site home page Giter Site logo

conda package for flair about flair HOT 7 CLOSED

brookslabucsc avatar brookslabucsc commented on August 11, 2024
conda package for flair

from flair.

Comments (7)

mmiladi avatar mmiladi commented on August 11, 2024 2

So now FLAIR is available on bioconda!
The users should be able to conda install flair, then pip install kerneltree. And start using it out of the box.
Please feel free to make PR to bioconda in case of upgrades or missing dependencies.

from flair.

belgravia avatar belgravia commented on August 11, 2024

Hi,

This is a great idea! I've never made a conda package before so I will try making one. It should definitely help more users with installation :)

-Alison

from flair.

belgravia avatar belgravia commented on August 11, 2024

Well I wrote a conda environment! It works on my macos and on centos, so hopefully it will work for other people too. It's in misc/flair_conda_env.yaml. There's a link to the installation instructions in the readme.
-Alison

from flair.

mmiladi avatar mmiladi commented on August 11, 2024

Wonderful! Thanks Alison. This now makes it also easier to create a bioconda recipe for flair itself. Would you like to have this option, i.e. having something like conda install flair?
I can try setting it up.

from flair.

belgravia avatar belgravia commented on August 11, 2024

Hmm... you are welcome to try it, or coach me if you know how to do it. I want to do this but I also don't know enough about how to make one. Would I have to substantially rewrite or restructure flair? It's currently a bunch of separate python scripts bound together by the flair.py wrapper.

-Alison

from flair.

mmiladi avatar mmiladi commented on August 11, 2024

Conda recipes are fairly straightforward. I have now added a PR to the bioconda : bioconda/bioconda-recipes#17245

A missing part is the kerneltree dependency. Since it's not available in conda and seems to be deprecated (?). However the ncls is available. But I don't think it would be compatible.

The other (minor) issue is that the main .py file needed to be executable, so I added a patch, Then the flair in conda would need to be invoked directly as flair.py (without python)

Also it might be useful if you could add a license file to the repo for the future releases.

--Milad

from flair.

Jeltje avatar Jeltje commented on August 11, 2024

We have updated bioconda flair with the latest release and will continue to do so.
Thanks for getting us started @mmiladi !

from flair.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.