Patricie Skaláková
03/31/2026, 6:10 AMfreebayes.filtered.vcfs, and they can’t be opened due to a parsing error:
[E::vcf_parse_format_fill5] Invalid character '.' in 'GQ' FORMAT field at chr1:10146
Error: VCF parse error.
However, the per-chromosome VCFs (before the merging step) are fine. So my guess is that the issue might be related to GATK4_MERGEVCFS.
Interestingly, VCFs from other tools like Mutect2 or Strelka work without issues.
Here is my run cmd:
nextflow run nf-core/sarek -r 4bd2948 \
-w /storage/temp \
-c custom.config \
-C my_nextflow.config \
--input samplesheet.csv \
--outdir results \
--genome GATK.GRCh38 \
--step variant_calling \
--only_paired_variant_calling \
--normalize_vcfs true \
--tools strelka,mutect2,freebayes,manta,vep \
-with-report \
-resume
Appreciate any ideas!Thomas Danhorn
03/31/2026, 8:56 PMGQ format field correctly, but it could be that in some cases it is .. Can you compare the filtered FreeBayes VCF with the original one at the position (chr1:10146) where the error occurs to see what GQ looks like?Patricie Skaláková
04/01/2026, 7:27 AMPatricie Skaláková
04/01/2026, 7:43 AMMatthias De Smet
04/01/2026, 11:03 AMPatricie Skaláková
04/01/2026, 1:52 PMMaxime Garcia
04/01/2026, 1:53 PMMaxime Garcia
04/01/2026, 1:54 PM--strict-vcf via ext.args in a custom config fileMaxime Garcia
04/01/2026, 1:55 PMMaxime Garcia
04/01/2026, 1:55 PMPatricie Skaláková
04/01/2026, 1:59 PMRike Hanssen
04/01/2026, 2:14 PMPatricie Skaláková
04/01/2026, 2:22 PMThomas Danhorn
04/03/2026, 1:19 AMsed or awk. But if you can get --strict-vcf to work (check the module config if you need to copy over any other parameters to the ext.args in your custom config), that should be much more elegant and potentially more compatible.
@Maxime Garcia, @Rike Hanssen, is there anything that speaks against making --strict-vcf the default? (I have no problem with GQ being a float, but then that should also be advertised in the header, otherwise it will break any tool that does common-sense checks.)Patricie Skaláková
04/09/2026, 12:33 PM