Skip to content
Snippets Groups Projects
Commit 7aac8740 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix delly when no variants found

parent 1ed9bf29
No related branches found
No related tags found
Loading
......@@ -106,7 +106,8 @@ def runDelly(args):
completed = run(delly_filter_str, shell=True)
else:
command = "bcftools convert -O b -o {output}.bcf {template};\n".format(output=output, template=template)
command = "bcftools convert -O b -o {output}.bcf {template};\n".format(output=os.path.splitext(output)[0],
template=template)
completed = run(command, shell=True)
os.chdir(oldir)
......
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