PMBio / deeprvat

Other
31 stars 2 forks source link

directory() missing in absplice_download.snakefile in the annotation pipeline #62

Closed Jonas-B-Frank closed 5 months ago

Jonas-B-Frank commented 5 months ago

executing the annotation pipeline after the introduction of #54 I get an error during the execution of the absplice_download.snakefile

ImproperOutputException in rule download_rocksdb in line 123 of /PATH/pipelines/resources/absplice_download.snakefile: Outputs of incorrect type (directories when expecting files or vice versa). Output directories must be flagged with directory(). for rule download_rocksdb:

Modifying the output of rule download_rocksdb to: spliceai_rocksdb = directory(Path(absplice_download_dir) / directory(config_download['spliceai_rocksdb'][genome])) solved the issue for me.

Marcel-Mueck commented 5 months ago

Hello Jonas, thank you a lot for pointing this out, I will change the output of the download_rocksdb rule based on your suggestion. Changes will be pushed to master soon.