-
Notifications
You must be signed in to change notification settings - Fork 134
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
problem running in virtual machine #69
Comments
That's very interesting. I've run into issues when running Unicycler on a network mount (SPAdes error correction failed) and I you might have solved it with On a related note, I'm keen to try out alternative read error correction tools. This article is informative on the topic: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5563063/ If I find a better alternative, I might try to integrate it into Unicycler, at which point I'd stop using SPAdes read error correction and these issue would go away. Ryan |
Also, regarding getting Racon to compile on a Mac, I had to use GCC instead of the Clang compiler which comes with Xcode. There are probably multiple ways of doing it, but here's what I did:
|
Hi @rec3141 , I too am experiencing the same issue that you mentioned and I was wondering if you could help me resolve it. I've been able to locate the spades_func.py file, however I cannot locate where I should type "--tmp-dir /tmp" into the file. Could you (or possibly @rrwick ) show me where to enter that fix into the script? Best, |
@kapsakcj Hi Curtis, I've attached a patch, and the changes are shown below line 251 line 345 |
Wow, thank you for the fast response, I will test this out as soon as I can. One more question, will I need to move my data to the /tmp directory w/in my virtualbox (and subsequently alter my unicycler command) in order for this to work? Or can I leave the data in the vboxsf folders that they currently reside in? Thanks! |
This did in fact fix the error with SPAdes. Unicycler worked like a charm afterwards and generated an assembly. Thanks a lot! @rec3141 |
You can leave them where they are, this is just for where spades writes its
own tmp files
…On Jan 24, 2018 5:52 PM, "Curtis" ***@***.***> wrote:
Wow, thank you for the fast response, I will test this out as soon as I
can.
One more question, will I need to move my data to the /tmp directory w/in
my virtualbox (and subsequently alter my unicycler command) in order for
this to work? Or can I leave the data in the vboxsf folders that they
currently reside in?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDUI3FT-ixPnGcPGPTg2IoervziwXnYks5tN-xggaJpZM4QeTOx>
.
|
Thanks for the help @rec3141! |
Oops - I just closed the issue, but I think I'll leave it open as an enhancement request. I'll close it when I add some Unicycler options to make this easier. |
Okay, I've added a I've also added a note in the Unicycler FAQs. The change is currently just in the development branch, but it should make it into the next release. Thanks again! |
In case anyone still runs into this issue, I thought I'd mention that in the upcoming version of Unicycler (v0.5.0), I've removed the So instead of |
I'm running Unicycler in virtualbox (because I can't get racon to compile on macosx), and SPAdes doesn't like that I've mounted my working directory using vboxfs (something about a bug in mmap). The SPAdes folks suggested I use '--tmp-dir' and point it to a virtualbox-local site like /tmp, and that works.
To get Unicycler to work in the vbox, I hacked spades_func.py to include '--tmp-dir /tmp' in the 'command' for SPAdes and it worked. You might want to include something like this, or an option to pass-through arguments to SPAdes.
thanks!
The text was updated successfully, but these errors were encountered: