Skip to content
Snippets Groups Projects
Commit fed78720 authored by mariabernard's avatar mariabernard
Browse files

Snakemake 1000RNASeq ASE : add script dir in PATH

parent cc119ef2
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@ import pandas as pd
##########################################################
### system options
# Recover software memory and cpus resources
# Recover software memory and cpus resources
with open(config["resources"]) as yml:
......@@ -46,6 +45,9 @@ for rule in rule_resources:
# add bin directory in PATH
if "bin_dir" in config:
os.environ['PATH'] = config["bin_dir"] + os.pathsep + os.environ['PATH']
# add script dir to PATH
SCRIPT_DIR= os.path.abspath(os.path.join(workflow.basedir, "script"))
os.environ['PATH'] = SCRIPT_DIR + os.pathsep + os.environ['PATH']
##########################################################
### workflows options
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment