zavolanlab / bindz-rbp

RBP module for bindz, a bioinformatics tool to detect regulators' binding sites on RNA sequences.
https://github.com/zavolanlab/bindz-rbp
Apache License 2.0
6 stars 1 forks source link

Integration test script path fix #19

Closed AngryMaciek closed 4 years ago

AngryMaciek commented 4 years ago

Description

We cannot hard-code paths within the Snakefile like: python ../../../workflow/scripts/combine-motevo-results.py
I have fixed the problem with encoding the pipeline path into the config.yml file for snakemake (the user would have to provide it). Having this field we may encode in the Snakefile a relative path to the script from the cwd being the repository root directory.

The issue required some minor changes in the integration tests bash scripts - from now on snakemake is being executed from the repository root directory as well.

Type of change

Checklist:

AngryMaciek commented 4 years ago

All checks passed, this was a minor modification, I merge the branch now.
@krish8484 , take a look, just FYI.

krish8484 commented 4 years ago

Okay, thanks @AngryMaciek !