HighlanderLab / tree_seq_pipeline

Pipeline to infer tree sequences with different datasets
MIT License
3 stars 7 forks source link

Change all paths to absolute #52

Closed janaobsteter closed 9 months ago

janaobsteter commented 9 months ago

Have a workdir variable and use that instead of "../...."

janaobsteter commented 9 months ago
  1. Add a workdir variable to Snakefile that reads the workdir from the config file
  2. In all the rules, search for a path ../{Project}/ and change it to {workdir}/

Be careful to keep the commas and the brackets as they are

hannesbecher commented 9 months ago

Solved with PR #67
The yaml key is o_dir, variable inside Snakelike file is oDir.