diff --git a/src/nextflow.pbs b/src/nextflow.pbs
index 4aaff8e79e6f4833004be227f4cb082ddedf3050..e89d8599f10aeac03270e3b1b26d9a376edf7a15 100644
--- a/src/nextflow.pbs
+++ b/src/nextflow.pbs
@@ -32,7 +32,7 @@ DATA=${SCRATCH}/${PROJECT}/data
 NF_OPTIONS="-w \"${SCRATCH}/${PROJECT}/work/\" \
 -with-report \"${SCRATCH}/${PROJECT}/results/${PIPELINE}_report.html\" \
 -with-timeline \"${SCRATCH}/${PROJECT}/results/${PIPELINE}_timeline.html\" \
--with-dag \"${SCRATCH}/${PROJECT}/results/${PIPELINE}_dag.pdf\""
+-with-dag \"${SCRATCH}/${PROJECT}/results/${PIPELINE}_dag.html\""
 
 ${NEXTFLOW} ${NF} -c ${CONFIG} -profile ccin2p3 ${NF_OPTIONS} \
 --fasta "${DATA}/fasta" \