-
Notifications
You must be signed in to change notification settings - Fork 79
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
BRAKER on Conda Cloud #22
Comments
Hi,
we are not the official maintainers of BRAKER in Anaconda. At this point in
time, you'd have to contact the maintainer of BRAKER in Anaconda, or do
this, yourself. (I don't have an anaconda account...)
Best,
Katharina
…On Fri, Feb 15, 2019 at 4:12 PM LironShv ***@***.***> wrote:
Hi,
Would it be possible to provide the newest version of BRAKER on the
Anaconda cloud. Currently, BRAKER version 1.7 is available on the Anaconda
Cloud: [https://anaconda.org/bioconda/braker].
Many thanks,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AlgvJDKdo_8kXLbNd38CYpesIlSnA8fHks5vNs5dgaJpZM4a91-B>
.
|
Hi, Thanks for your quick reply, I will contact the maintainer. Its a pitty its not up to data and that you don't have any influence over the your BRAKER package on conda. Its an easy way to install especially for people new bioinformatics. Many Thanks and best wishes, L |
As I said, the conda recipe for BRAKER is not under our influence. However, I managed to set up a Perl environment that works for BRAKER and GeneMark with anaconda like this:
I compiled Augustus & Samtools outside of conda. BRAKER seems to run ok with that setting. |
That's really great, I will have a try. |
@KatharinaHoff , I needed a bioconda recipe for "braker2", so I created one, https://anaconda.org/bioconda/braker2. You can see the full recipe here, https://github.com/bioconda/bioconda-recipes/tree/b8e30dd6e2fd9c8d44fb5f56e44cc528e5f46859/recipes/braker2. All the dependencies are listed in "meta.yaml". This package contains all mandatory and optional dependencies for "braker2" with exception of "GeneMark" and "GenomeThreader". Due to license restrictions, a conda package can not be created for these two tools, but the user can manually download them and install them in the "braker2" environment. A note about this, as well as how to set AUGUSTUS_CONFIG_PATH, is written in "post-link.sh" which is printed after the package is installed. After installing the "braker2" package (conda create -n braker2-2.1.2 -c conda-forge -c bioconda -c defaults braker2=2.1.2) I ran few of the provided examples and they finished fine. Due to the many dependencies of "braker2" I would appreciate if you can test the package and let me know if you encounter any issues with it. |
Natasha, you are awesome. Thank you! I will test it as soon as I find the time. (Teaching season just started for us...) |
Hi @npavlovikj, Thanks for making the conda recipe. I have done a quick bit of testing with UTR prediction enabled + genome threader (RNAseq + closely related proteins). To get it work I had to modify the braker.pl script to look for bam2wig in the anaconda bin directory (for me this is /nbi/software/testing/anaconda3/5.2.0/x86_64/envs/braker2-2.1.2/bin/) rather than in auxprogs. I changed this line:
To:
Also, the recipe did not include a utrrnaseq binary that comes with the latest versions of augustus. I manually compiled this from the augustus github repo and copied to the anaconda bin dir and it is now working. It is currently running and I will report back. Tom. |
@tommathers , many thanks for the feedback, I really appreciate it! Regarding the "utrrnaseq" binary, looks like the Makefiles for "utrrnaseq" and "compileSpliceCands" were not copying these two binaries to the "bin" folder, and therefore they were not found in the environment. I opened a PR, Gaius-Augustus/Augustus#54, that addresses this issue. In the meantime, I will update the "augustus" conda recipe accordingly. Once the "augustus" recipe is updated, I will fix the "braker2" recipe based on your suggestions. This should be done in few days, but if you notice any other issues with the "braker2" recipe, please let me know. |
@tommathers , I actually had some time tonight, so I updated both "augustus" and "braker2" recipes in bioconda. Please update your "braker2" conda version (should be braker2=2.1.2=2), and let me know whether everything works for you now. |
@npavlovikj, After installing braker2 from bioconda using
How can I fix this? |
@gusevfe , you shouldn't be having this issue... I just tried installing "braker2" in a new environment and everything worked fine. This error happens when "helpMod.pm" is not in the "bin" directory of the environment where the other "perl" scripts are. Can you please check whether "helpMod.pm" is there and that you are not using "perl" from a different environment? If everything looks good to you, then I would suggest you to try and install "braker2" in a new environment with the proper channel order: conda create -n braker2 -c conda-forge -c bioconda -c defaults braker2. I hope this helps, and please let me know how it goes. |
@npavlovikj Sorry for a delayed response. I've just run |
@gusevfe , I am sorry, but I can not replicate your error - "braker2" works just fine for me. Please make sure that the used "perl" is in the same directory as "braker.pl" and "helpMod.pm", e.g.:
What OS are you using? The commands from above work for me on Linux and OSX. |
@npavlovikj , I am running ArchLinux. The
|
I had the same issue.
it is working now. you need to correct path according to your installation |
Does
|
@jolespin , |
@npavlovikj is correct. Some components of BRAKER require Python 3, specifically, that's getAnnoFastaJoingenes.py and make_hub.py. You don't need Python 3 for BRAKER if you use it with the option --skipGetAnnoFromFasta, and if you do not use the option --makehub |
Do you have any insight on what could be happening in this augustus issue? I don't think it's a memory issue b/c I've run it on a high memory server on a test data set from |
@npavlovikj I have finally created a new release at https://github.com/Gaius-Augustus/BRAKER/releases/tag/v2.1.4 . Notes on dependency changes:
|
@npavlovikj A new AUGUSTUS release that is fully compatible with the current BRAKER release appeared at https://github.com/Gaius-Augustus/Augustus/releases/tag/v3.3.3 . |
Gaius-Augustus/BRAKER#22 (comment) genomethreader is available in bioconda Add optional dependency DIAMOND
Merge PR #20265, commits were: * braker2 2.1.4 requires augustus >= 3.3.3 Gaius-Augustus/BRAKER#22 (comment) genomethreader is available in bioconda Add optional dependency DIAMOND
@npavlovikj A new BRAKER release is now available at https://github.com/Gaius-Augustus/BRAKER/releases/tag/v2.1.5. This release contains major changes. Most importantly for the bioconda recipe, BRAKER now heavily depends on ProtHint, available at https://github.com/gatech-genemark/ProtHint . |
Thanks @KatharinaHoff ! The BiocondaBot should pick up the new release soon, and I will check the dependencies when that happens. |
Hi @KatharinaHoff , The bioconda recipe has been updated to the newest release of BRAKER2. However, I was not able to add ProtHint as a dependency. The license of ProtHint doesn't allow redistribution, which is a necessity for creating conda packages. I opened an issue in ProtHint's repo regarding, gatech-genemark/ProtHint#6. In the meantime, ProtHint can be added in a similar way as GeneMarkS, once the environment is created. I updated the "braker2" recipe with a note mentioning the installation of ProtHint. Please give the newest "braker2" package a try, and let me know if there are any issues with it. Thank you, |
Dear @npavlovikj and @KatharinaHoff , But this comment is omitted on the main BRAKER2 site https://github.com/Gaius-Augustus/BRAKER Furthermore, the conda recipe ( https://bioconda.github.io/recipes/braker2/README.html ) mentions that Genemark and ProtHint must be installed manually, but the need for this patch isn't mentioned as far as I saw. Adding the hint to change the shebang in Genemark's scripts in both places might save future users a lot of time and worries. Cheers, Mathias |
Hello @npavlovikj, |
Hello @npavlovikj, get ProtHint 2.4.0 here: https://github.com/gatech-genemark/ProtHint/releases/tag/v2.4.0 Cheers, Mathias |
@alexlomsadze the conda recipe is something that I never managed to maintain. This is something where I could really use your help a lot! |
For braker3 we (with @rlibouba) have worked on/used a conda recipe lately, it's been updated this morning actually: bioconda/bioconda-recipes#44296 |
Do you think the new license of GeneMark-ETP allows for inclusion in conda? License-Creative-Commons-Attribution-NonCommercial-ShareAlike-4.0-International.txt |
That was my concern about this choice of license, the noncommercial makes it non free. Which means redistributing it as a conda package will be difficult (impossible, or a lot of legal discussion). Maybe if the author wrote an explicit paragraph in the license giving permission to package it as a conda package, it would make life easier. But I don't know how open Mark is open on this subject. Ping @bgruening in case you have anything to add/correct :) |
We tried to raise this topic, but I guess we failed. CC is imho not very useful for software. CC actually recommends using other licenses for software here: https://creativecommons.org/about/software/
The other point is the "non-commercial" aspect. The problem "downstream" is facing with those licenses is that Bioconda, BioContainers, Debian and others (including Galaxy) can not easily and not practically check if a user is commercial or not. Since we could (?) be liable for that, we prefer to not deploy this software and advertise alternatives. |
Hi,
Would it be possible to provide the newest version of BRAKER on the Anaconda cloud. Currently, BRAKER version 1.7 is available on the Anaconda Cloud: [https://anaconda.org/bioconda/braker].
Many thanks,
The text was updated successfully, but these errors were encountered: