Skip to content
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

Manage targetscan dependencies within a single conda environment #16

Open
TBradley27 opened this issue Sep 13, 2020 · 0 comments
Open
Assignees
Labels
enhancement New feature or request installation Issues relating to FilTar installation and environment management

Comments

@TBradley27
Copy link
Owner

TBradley27 commented Sep 13, 2020

The main targetscan dependencies are rnaplfold (an aspect of the broader viennarna package), perl Statistics::Lite and the perl Bio::TreeIO package (which depends on Bio::Perl).

The major hindrance in overcoming this issue is that there is no current implementation of Bio::TreeIO on conda. Having an implementation of Bio::TreeIO on conda will allow us (in theory) to manage targetscan easily within the same conda environment.

Until we can do this, we have to awkwardly install a niche conda-forge distribution of perl in order to install cpanm, and through cpanm install Bio::TreeIO - which is cumbersome. This method also requires users to awkwardly implement a patch to one of the BioPerl dependencies using CPAN (which is really not ideal!).

An alternative to this approach would be to use the system perl owned by root in order to install perl dependencies in a user-defined library/path. However, snakemake uses perl as a dependency, so a conda-specific perl in the filtar conda environment is probably necessary. So this approach is simply not possible unless we forfeit the use of our general snakemake/filtar environment - which is not advisable.

From reading the bioconda documentation, it seems that the addition of packages to bioconda is done through an automated process using GitHub pull requests with checks by a CI application. Looking into building our own bioconda package would definitely be the next step in resolving this issue.

At the moment, there are no good options here.

@TBradley27 TBradley27 self-assigned this Sep 22, 2020
@TBradley27 TBradley27 pinned this issue Sep 22, 2020
@TBradley27 TBradley27 added enhancement New feature or request installation Issues relating to FilTar installation and environment management labels Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request installation Issues relating to FilTar installation and environment management
Projects
None yet
Development

No branches or pull requests

1 participant