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

Does this pipeline require root permission? #1

Closed
wangjianshou opened this issue Aug 30, 2019 · 5 comments
Closed

Does this pipeline require root permission? #1

wangjianshou opened this issue Aug 30, 2019 · 5 comments

Comments

@wangjianshou
Copy link

Does this pipeline require root permission?

@zifanzhu
Copy link
Owner

zifanzhu commented Sep 9, 2019

Hi wangjianshou,

Sorry for the late reply!

Root permission is platform dependent. Since MicroPro requires a few dependencies, the installation of some of them might need root permission on your machine (or not). I encourage you to try the installation yourself and see how it goes. Let me know if you have any more questions.

Best,
Zifan

@wangjianshou
Copy link
Author

Hi zifanzhu,
thank you for your reply firstly.
when running this pipeline, I get this error which generated by 'scripts/u_v_abund.R':

File '4_virfinder/4_4_vf_summary/wc_vf_filtered' does not exist

'scripts/u_v_abund.R' belongs to 'rule unknown_v_abund'.

I confirmed that this file called 'wc_vf_filtered' does not exist, but I cannot find which step can gengrate it, could you give me some help or advice? thank you in advance.
Best,
wanjianshou

@zifanzhu
Copy link
Owner

Hi wanjianshou,

This is a bug fixed in the latest MicroPro. You may replace your 'snake-binning-P' file with the new one and run the Snakemake command again (without deleting old results). Snakemake will skip what you've obtained and run what you didn't get. Let me know if this solves your problem.

Best,
Zifan

@wangjianshou
Copy link
Author

Hi,
thank you very much.
It is already running successfully. But there is a small bug in this script called "scripts/u_v_abund.R":

line 95: vp <- v_ctg / ctg

But both of v_ctg and ctg are instances of data.table class. So I think this line should be vp <- v_ctg[1,1] / ctg[1,1]

Thank you
wangjianshou

@zifanzhu
Copy link
Owner

Yes, you're right. I fix it now. Thanks a lot!

Zifan

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