Skip to content

Commit

Permalink
pixi
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell R. Vollger committed Nov 23, 2024
1 parent 38f8516 commit 8e1d0a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@ pixi install
pixi run snakemake ...
```

And if you want to run this Snakemake from another directory you can do so with:

```bash
pixi run --manifest-path /path/to/snakemake/pixi.toml snakemake ...
```

where you update `/path/to/snakemake/pixi.toml` to the path of the `pixi.toml` you cloned.

And in place of `...` use all the normal Snakemake arguments for your workflow.
3 changes: 2 additions & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ test = { cmd = [
"snakemake",
# once established you can add more arguments with your test data here
] }
snakemake = "snakemake"
snakemake = { cmd = "cd $INIT_CWD && snakemake -s $PIXI_PROJECT_ROOT/workflow/Snakefile" }


[dependencies]
conda = "*"
Expand Down

0 comments on commit 8e1d0a7

Please sign in to comment.