Giter Site home page Giter Site logo

Comments (16)

pratas avatar pratas commented on August 18, 2024

Hi,
what happens if you run:
trimmomatic -version

from tracespipe.

leesaudan2 avatar leesaudan2 commented on August 18, 2024
$ trimmomatic -version
bash: trimmomatic: command not found

from tracespipe.

pratas avatar pratas commented on August 18, 2024

It seems that trimmomatic is not installed.
Lets find out why. Please, run this:

conda install -c bioconda trimmomatic --yes

(it will try to install trimmomatic)

from tracespipe.

leesaudan2 avatar leesaudan2 commented on August 18, 2024

Then, how come:

$ conda list | grep trim
trimmomatic               0.39                 hdfd78af_2    bioconda
$ conda run trimmomatic -version
0.39

???

from tracespipe.

leesaudan2 avatar leesaudan2 commented on August 18, 2024

And more:

$ conda install -c bioconda trimmomatic --yes
Collecting package metadata (current_repodata.json): done
Solving environment: done

# All requested packages already installed.

$ conda run trimmomatic -version
0.39

Not installed???

from tracespipe.

leesaudan2 avatar leesaudan2 commented on August 18, 2024

After

conda install -c bioconda trimmomatic --yes

I still get the same error message when running

./TRACESPipe.sh --install

☚ī¸

from tracespipe.

pratas avatar pratas commented on August 18, 2024

Sorry, it is installed, but it seems that you don't have full access to the machine.
Your conda seems to be installed through a virtual interpreter.
Which operating systems are you using? Is it a virtual one?

from tracespipe.

pratas avatar pratas commented on August 18, 2024

This is a conda issue not from TRACESPipe.
Once fixed, after running

./TRACESPipe.sh --install

if you run

trimmomatic -version

you have to get the same output, which is

0.39

TRACESPipe assumes that the binaries for each tool (under conda) are directly accessible.

from tracespipe.

leesaudan2 avatar leesaudan2 commented on August 18, 2024

No. I'm not using any virtual interpreter.

I installed conda by following these instructions. This is on Linux (Debian bullseye/sid) on a real machine (x86_64).

from tracespipe.

leesaudan2 avatar leesaudan2 commented on August 18, 2024

What do you mean by "full access"? Root privilege? It can't be installed as a normal user?

from tracespipe.

pratas avatar pratas commented on August 18, 2024

It can. I've tried in a new machine and it works fine.
Not sure why it doesn't on yours...

from tracespipe.

pratas avatar pratas commented on August 18, 2024

Can you generate a virtual linux (ubuntu) and test again?

from tracespipe.

pratas avatar pratas commented on August 18, 2024

Maybe the OS runs through the interpreter and does not add the binaries directly

from tracespipe.

pratas avatar pratas commented on August 18, 2024

For example if I do

locate trimmomatic

I get

/home/(user)/miniconda3/share/trimmomatic

or

home/(user)/miniconda3/bin/trimmomatic

from tracespipe.

pratas avatar pratas commented on August 18, 2024

Please check you .bashrc

a see if there is something like:

__conda_setup="$(CONDA_REPORT_ERRORS=false '/home/(user)/miniconda3/bin/conda' shell.bash hook 2> /dev/null)" if [ $? -eq 0 ]; then \eval "$__conda_setup" else if [ -f "/home/(user)/miniconda3/etc/profile.d/conda.sh" ]; then . "/home/(user)/miniconda3/etc/profile.d/conda.sh" CONDA_CHANGEPS1=false conda activate base else \export PATH="/home/(user)/miniconda3/bin:$PATH" fi fi unset __conda_setup

from tracespipe.

leesaudan2 avatar leesaudan2 commented on August 18, 2024

Yes, my .bashrc contains something similar. However, it only adds ".../miniconda3/condabin" to my $PATH. It doesn't add ".../miniconda3/bin" to my $PATH.

Adding ".../miniconda3/bin" manually to $PATH makes it work. I'm still puzzled why those lines added to .bashrc by conda init do not add that to $PATH. It should be a conda problem, then.

Thanks.

from tracespipe.

Related Issues (2)

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.