I want to know how to use a local directory for wrapper in Snakemake rule.
I have read this Use Github URL for wrapper in Snakemake rule and try follows command
JavaScript
x
4
1
rule index:
2
wrapper:
3
"/public/home/bio/index"
4
But, I get a stderr with 'NoneType' object has no attribute 'name'
.
Any help is much appreciated. Thanks.
Advertisement
Answer
It is (slightly hidden) mentioned in the docs.
For an absolute path:
JavaScript
1
4
1
rule index:
2
wrapper:
3
"file://public/home/bio/index"
4
Or for a relative path:
JavaScript
1
4
1
rule index:
2
wrapper:
3
"file:public/home/bio/index"
4