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

I'm not being able to use TransDecoder because of URI::Escape module, but it's already installed #174

Open
vini8cs opened this issue Apr 28, 2023 · 6 comments

Comments

@vini8cs
Copy link

vini8cs commented Apr 28, 2023

I'm trying to use TransDecoder, but I'm getting this error:

TransDecoder.LongOrfs -h
Can't locate URI/Escape.pm in @inc (you may need to install the URI::Escape module) (@inc contains: /opt/anaconda3/opt/transdecoder/PerlLib /opt/anaconda3/lib/site_perl/5.34.0/x86_64-linux-thread-multi /opt/anaconda3/lib/site_perl/5.34.0 /opt/anaconda3/lib/5.34.0/x86_64-linux-thread-multi /opt/anaconda3/lib/5.34.0 .) at /opt/anaconda3/opt/transdecoder/PerlLib/Gene_obj.pm line 15. BEGIN failed--compilation aborted at /opt/anaconda3/opt/transdecoder/PerlLib/Gene_obj.pm line 15. Compilation failed in require at /opt/anaconda3/bin/TransDecoder.LongOrfs line 64. BEGIN failed--compilation aborted at /opt/anaconda3/bin/TransDecoder.LongOrfs line 64.

But URI::Escape is already installed!

sudo cpanm install URI::Escape
install is up to date. (0.01) URI::Escape is up to date. (5.17)

It would be expected to work perfectly after installing the dependencies, but unfortunately, it is not working as expected. I even tried to reboot the server, but it didn't make any difference.

@brianjohnhaas
Copy link
Contributor

brianjohnhaas commented Apr 28, 2023 via email

@vini8cs
Copy link
Author

vini8cs commented Apr 28, 2023

I tried to install TransDecoder from source using the 'make' command as instructed: 'The latest release of TransDecoder can be found here. Run 'make' in the base installation directory.' However, I encountered an error within the TransDecoder-TransDecoder-v5.7.0 directory:

Nothing to build. Run 'make test' to run example executions on each of the sample data sets provided.

So, I had to use bioconda, but the version is to old. I tried to specify the version to 5.7.0, which is said to be available in bioconda channel.

conda search transdecoder
`

Name Version Build Channel

transdecoder 2.1.0 0 bioconda
transdecoder 2.1.0 1 bioconda
transdecoder 2.1.0 2 bioconda
transdecoder 2.1.0 3 bioconda
transdecoder 2.1.0 4 bioconda
transdecoder 2.1.0 5 bioconda
transdecoder 3.0.1 0 bioconda
transdecoder 3.0.1 1 bioconda
transdecoder 3.0.1 2 bioconda
transdecoder 3.0.1 pl5.22.0_0 bioconda
transdecoder 5.0.2 pl5.22.0_0 bioconda
transdecoder 5.1.0 pl5.22.0_0 bioconda
transdecoder 5.2.0 pl5.22.0_0 bioconda
transdecoder 5.3.0 0 bioconda
transdecoder 5.5.0 0 bioconda
transdecoder 5.5.0 pl5262hdfd78af_4 bioconda
transdecoder 5.5.0 pl526_1 bioconda
transdecoder 5.5.0 pl526_2 bioconda
transdecoder 5.5.0 pl526_3 bioconda
transdecoder 5.5.0 pl5321hdfd78af_5 bioconda
transdecoder 5.7.0 pl5321hdfd78af_0 bioconda
`

However, when I tried do download it, the bioconda/linux-64::transdecoder-2.1.0-0 is being downloaded :

conda install -c bioconda transdecoder=5.7.0

Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

Package Plan

environment location: /opt/anaconda3

added / updated specs:
- transdecoder

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
libgcc-7.2.0               |       h69d50b8_2         304 KB  conda-forge
------------------------------------------------------------
                                       Total:         304 KB

The following NEW packages will be INSTALLED:

libgcc conda-forge/linux-64::libgcc-7.2.0-h69d50b8_2
transdecoder bioconda/linux-64::transdecoder-2.1.0-0

Proceed ([y]/n)? y

Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

@brianjohnhaas
Copy link
Contributor

brianjohnhaas commented Apr 28, 2023 via email

@vini8cs
Copy link
Author

vini8cs commented Apr 28, 2023

Hi, Brian! I've done that, but for some reason when I use 'make' within the TransDecoder-v5.7.0 directory, I'm getting this:

Nothing to build. Run 'make test' to run example executions on each of the sample data sets provided.

And in the instructions is written:

'The latest release of TransDecoder can be found here [https://github.com/TransDecoder/TransDecoder/releases/tag/TransDecoder-v5.7.0]. Run 'make' in the base installation directory.'

@brianjohnhaas
Copy link
Contributor

brianjohnhaas commented Apr 28, 2023 via email

@vini8cs
Copy link
Author

vini8cs commented Apr 28, 2023

Oh, great! Thank you very much, Brian!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants