vpc-ccg / pamir

Discovery and Genotyping of Novel Sequence Insertions in Many Sequenced Individuals
BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

relative paths are broken #47

Closed Krannich479 closed 4 years ago

Krannich479 commented 4 years ago

I think this line is missing a little detail:

https://github.com/vpc-ccg/pamir/blob/9bf2c24217b6f43590e45335f36c62a41f52aab1/Snakefile#L1426

should contain:

return config["path"] + "/" + config["raw-data"] + "/" + config["input"][wildcards.sample][0]

An additional "/" shouldn't have any negative effect (at least in UNIX). But if you leave it out then it will break the relative path if the path parameter within config.yaml doesn't end with and "/" (like in your README example).