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

Provided examples fail #26

Open
rickbeeloo opened this issue Jul 12, 2024 · 1 comment
Open

Provided examples fail #26

rickbeeloo opened this issue Jul 12, 2024 · 1 comment

Comments

@rickbeeloo
Copy link

rickbeeloo commented Jul 12, 2024

Hey!

We would love to use the tool but have quite some trouble getting it to work.

There were quite some versions that are not compatible (anymore) in the mamba install -c bioconda tksm. So I had to install it from source which may contribute to the issues below.

After installing, then following the example:

snakemake --configfile config-test.yaml -j32

KeyError in file .../tksm/Snakefile, line 21:
'models'
  File ".../tksm/Snakefile", line 21, in <module>

This seems to make sense as config-test.yaml does not have models like for example this yaml in the repo. I then thought I will just use the default config.yaml to at least see if it runs further:
snakemake --configfile config.yaml -j32
This brings another error:

NameError in file .../tksm/Snakefile, line 285:
name 'exprmnt' is not defined
  File ".../tksm/Snakefile", line 285, in <module>

Not sure why this happens, exprmnt seems defined in the wildcards but looking at the snakemake docs the strings should just use the wildcards directly instead of using the string formatting (but maybe your code does require this to be formatted later on?). To try, instead of f"..." with {{x}} I just used {x}. This got me further but then I get:

NameError in file .../tksm/Snakefile, line 633:
name 'ref_names' is not defined
  File ".../tksm/Snakefile", line 633, in <module>

Seems to be the same with the formatting. After changing that it does run:

Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 32
Rules claiming more threads will be scaled down.
Job stats:
job      count
-----  -------
all          1
total        1

Select jobs to execute...

[Fri Jul 12 09:55:43 2024]
localrule all:
    jobid: 0
    reason: Rules with neither input nor output files are always executed.
    resources: tmpdir=/tmp

[Fri Jul 12 09:55:43 2024]
Finished job 0.
1 of 1 steps (100%) done

but nothing seems to have happened, nor any errors.

I'm a bit clueless of how to get it to work properly?

@f0t1h
Copy link
Collaborator

f0t1h commented Aug 19, 2024

Sorry for the delayed answer. We've revised the method since we uploaded the example. We are working on a new version of example dataset.

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