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

epic-effective cannot find jellyfish #50

Open
IanCodes opened this issue Mar 15, 2017 · 3 comments
Open

epic-effective cannot find jellyfish #50

IanCodes opened this issue Mar 15, 2017 · 3 comments

Comments

@IanCodes
Copy link

Hi,

I have installed epic and jellyfish in a virtualenv:
virtualenv venv.epic_0.1.25
. /path/venv.epic_0.1.25/bin/activate
pip install bioepic
pip install jellyfish

When I try to run epic-effective as:
epic-effective --read-length=76 --nb-cpu=12 oviAri3_BASE.fa

I get the following error:
Temporary directory: /tmp/86174.1.C6320-512-haswell.q (File: effective_genome_size, Log level: INFO, Time: Tue, 14 Mar 2017 16:40:11 )
File analyzed: oviAri3_BASE.fa (File: effective_genome_size, Log level: INFO, Time: Tue, 14 Mar 2017 16:40:11 )
Genome length: 2587507083 (File: effective_genome_size, Log level: INFO, Time: Tue, 14 Mar 2017 16:40:11 )
/bin/sh: jellyfish: command not found
/bin/sh: jellyfish: command not found
Traceback (most recent call last):
File "/mnt/fls01-home01/user/virtualenvs/venv.epic_0.1.25/bin/epic-effective", line 38, in
effective_genome_size(fasta, read_length, nb_cpu, tmpdir)
File "/mnt/fls01-home01/user/virtualenvs/venv.epic_0.1.25/lib/python2.7/site-packages/epic/scripts/effective_genome_size.py", line 56, in effective_genome_size
shell=True)
File "/opt/gridware/depots/4baff5c5/el7/pkg/apps/python/2.7.8/gcc-4.8.5/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'jellyfish stats /tmp/86174.1.C6320-512-haswell.q/oviAri3_BASE.fa.jf' returned non-zero exit status 127
rm: cannot remove ‘/tmp/86174.1.C6320-512-haswell.q/oviAri3_BASE.fa.jf’: No such file or directory

Thanks.

@endrebak
Copy link
Member

Thanks for reporting this :)

Is jellyfish on your path? Try running jellyfish in your shell and see what happens.

@IanCodes
Copy link
Author

The epic virtualenv is active, but when I type 'jellyfish' I get:
-bash: jellyfish: command not found

But it has been installed by pip: 'pip list' shows:
jellyfish (0.5.6)

@endrebak
Copy link
Member

endrebak commented Mar 15, 2017

Ah, jellyfish in pip is something else. You need to get it from Bioconda or here

http://www.genome.umd.edu/jellyfish.html

Please do not close this thread. I'll use it as a reminder to update the docs when I get more time :)

Again, thanks for reporting. Totally sensible question/misunderstanding.

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