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

Starting up MAGpy #47

Open
naturepoker opened this issue May 4, 2022 · 6 comments
Open

Starting up MAGpy #47

naturepoker opened this issue May 4, 2022 · 6 comments

Comments

@naturepoker
Copy link

I'm sure this is an issue with me having never used snakemake before, but here goes:

I followed the steps on the github readme (test and building diamond database all worked perfectly), and am now trying to start the actual MAGpy process using the command:

snakemake -rp -s MAGpy --use-conda MAGpy --cores 8

My MAGs are in the mags directory in the cloned github repo.

The process fails with below message:

Building DAG of jobs... MissingRuleException: No rule to produce MAGpy (if you use input functions make sure that they don't raise unexpected exceptions).

Could you point me in the right direction?
Thank you!

@gaworj
Copy link

gaworj commented Oct 21, 2022

Hi,
I have encountered exactly the same problem and don't know how to solve it.

Bests,
Jan

@PeterCx
Copy link

PeterCx commented Nov 24, 2022

I am having the exact same issue also. Did anyone find a workaround for this? Many thanks

Kind regards,

P

@mw55309
Copy link
Member

mw55309 commented Nov 28, 2022

Hi

Sorry for the delay

I think the command should be

snakemake -rp -s MAGpy --use-conda --cores 8

Mick

@PeterCx
Copy link

PeterCx commented Nov 28, 2022

Hi Mick,

By running this command does MAGpy do everything. i.e run CheckM for quality control, build the phylogenetic tree etc etc all in one command? Many thanks

Kind regards,

P

@mw55309
Copy link
Member

mw55309 commented Nov 28, 2022

Yes, that should run everything - if you have the databases installed first (see README)

@PeterCx
Copy link

PeterCx commented Dec 2, 2022

This is working perfect. Thanks very much

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

4 participants