Giter VIP home page Giter VIP logo

Comments (6)

ftabaro avatar ftabaro commented on June 23, 2024

If you are not using the provided wrapper script you will need to run Snakemake with --configfile because no default is provided inside the Snakefile.

In fact, my wrapper run_snakemake.sh should throw an error if not run as run_snakemake.sh path/to/config.yaml.

from methylsnake.

JihedC avatar JihedC commented on June 23, 2024

So I can't make a dry run ?

from methylsnake.

ftabaro avatar ftabaro commented on June 23, 2024

You can make a dry run but you need to add the path to the config file:

snakemake -n -p --configfile path/to/config.yaml

from methylsnake.

JihedC avatar JihedC commented on June 23, 2024

Thanks! It worked :)
I have got this error message now.

WildcardError in line 221 of /exports/humgen/jihed/rrbs_zbtb24/MethylSnake/MethylSnake-1.1.1/Snakefile:
Wildcards in params cannot be determined from output files. Note that you have to use a function to deactivate automatic wildcard expansion in params strings, e.g., `lambda wildcards: '{test}'`. Also see https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#non-file-parameters-for-rules:
'diff'

Do I need to define a contrast in the config file?

from methylsnake.

ftabaro avatar ftabaro commented on June 23, 2024

I pushed a fix, please, update your repositoty. Thanks for pointing out!

from methylsnake.

JihedC avatar JihedC commented on June 23, 2024

Thanks the pipeline is now running. Note that I used the release 1.1.1 on a slurm computer.
I changed the Snakefile directly to make it work.

Thanks a lot! I hope to not have to bother you again! I learned a lot about Snakemake just by reading your pipeline!

from methylsnake.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.