New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eggnog-mapper: init at 1.0.3 #58905
eggnog-mapper: init at 1.0.3 #58905
Conversation
How are these accessed by As for making them "optional" - you can make the arguments to the toplevel function "optional" by giving them a "default" of At some point you'll have to make a decision though over which of them you'll want to be depended on by the "default" package that gets built by hydra. |
Thanks for the feedback. For the moment, I think it's better to make both of them dependencies for the user's convenience. I added |
Builds for me and binaries appear to trivially "work" on non-nixos linux x86_64. I slightly wonder whether it would be "nicer" to reformat the names of the installed executables to something cleaner like |
Even if those are nicer, the current names are mentioned in the eggnog-mapper docs, so it would be confusing for the user. |
108de9f
to
31fe74f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpicks. Overall looks good.
a9d50da
to
77f7ff8
Compare
Thanks. Rebased to master, squashed & re-pushed. |
This is becoming widely used in bioinformatics. The packaging was inspired by bioconda's packaging at https://github.com/bioconda/bioconda-recipes/tree/master/recipes/eggnog-mapper (namely, the patching of
setup.py
, see also eggnogdb/eggnog-mapper#125)Using this package requires one of hmmer or diamond to be present (both of which are in nixpkgs). You do not need both of them, but I am not sure if there is a way to specify optional dependencies in nix.
Things done
Tested using sandboxing (nix.useSandbox on NixOS, or option
sandbox
innix.conf
on non-NixOS)Built on platform(s)
Tested execution of all binary files (usually in
./result/bin/
)This package contains Python scripts not binaries; but, yes, I am currently using this package in my work and it works (to the best of my understanding).