Snakemake DAG not working because of literal dot being encountered

Create issue
Issue #1195 new
Anand created an issue

I am trying to use the snakemake --dag or snakemake --rulegraph piped to dot but I end up getting errors because I assume graphviz is not able to handle the literal dot '.'

Command - snakemake --forceall --rulegraph | dot -Tpdf > dag.pdf

I am using snakemake 5.4.5 in a conda environment in linux.

I end up getting errors that keep saying "syntax ambiguity - badly delimited number" and I believe it is more of a graphviz issue than snakemake.

I happened to see something similar listed here - https://github.com/influxdata/kapacitor/issues/1068

Error messages:

Warning: syntax ambiguity - badly delimited number '.11.' in line 1 of splits into two tokens Warning: syntax ambiguity - badly delimited number '.11.' in line 3 of splits into two tokens Warning: syntax ambiguity - badly delimited number '0.13.' in line 4 of splits into two tokens Warning: syntax ambiguity - badly delimited number '3.5.' in line 6 of splits into two tokens Building DAG of jobs...

I posted this question on stackoverflow with the #snakemake tag - one of the users suggested I post the issue here

Has anybody else in the snakemake community experienced something like this and come up with a workaround?

Thanks in advance.

Comments (0)

  1. Log in to comment