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

error: unable to run rampler! #81

Open
mictadlo opened this issue Jul 15, 2018 · 4 comments
Open

error: unable to run rampler! #81

mictadlo opened this issue Jul 15, 2018 · 4 comments
Labels

Comments

@mictadlo
Copy link

mictadlo commented Jul 15, 2018

Hi,
I am using Racon v1.3.0. I install it from bioconda. Unfortunately, I got this error:

> racon_wrapper -t 8 ctg_pb.fasta output.gfa1.sam backbone_raw.fasta --split 100000000 > output.racon1.fasta
[RaconWrapper::run] preparing data with rampler
[RaconWrapper::run] error: unable to run rampler!

What did I miss?

Thank you in advance.

Michal

@rvaser
Copy link
Collaborator

rvaser commented Jul 15, 2018

Hi Michal,
the wrapper problem is probably in the path of rampler when using bioconda (and possibly racon). I'll have to fix this but for the moment you can compile racon locally from github and the wrapper should work.

Best regards,
Robert

@rvaser rvaser added the bug label Jul 15, 2018
@icedevil2001
Copy link

icedevil2001 commented Sep 26, 2018

I had the same issue. I modified the racon_wrapper with:

9 CONDA_ENV =  os.environ['CONDA_PREFIX']
 10 #*******************************************************************************
 11
 12 class RaconWrapper:
 13
 14     __racon = '{}/bin/racon'.format(CONDA_ENV)
 15     __rampler = '{}/bin/rampler'.format(CONDA_ENV)
 16

Hope that helps.
Best,
Priyesh

@nhartwic
Copy link

nhartwic commented Apr 14, 2022

This still seems to be an issue with bioconda racon, are there any plans for fixing it? Is there a reason it can't be fixed? I don't see why we can't search for rampler at execution time using shutil rather than trying to populate at seemingly compiliation or installation time? I'm not really sure exactly when its getting set.

I'd be happy to submit a pull request for this if it helps.

@nhartwic
Copy link

I went ahead and wrote a quick PR. Again, if there is some good reason this isn't already being done, let me know and deny the PR. Honestly, if it were up to me, we would always be looking for rampler in path and doing so would simplify the code a bit, but thats up to you.

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

No branches or pull requests

4 participants