8000 Sniffles version creating malformed VCF files · Issue #294 · nf-core/nanoseq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sniffles version creating malformed VCF files #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
callumjethomas opened this issue Mar 11, 2025 · 1 comment
Open

Sniffles version creating malformed VCF files #294

callumjethomas opened this issue Mar 11, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@callumjethomas
Copy link

Description of the bug

Sniffles seems to be creating malformed VCF files - this means that sort (SNIFFLES_SORT_VCF) fails with error code 255 and a number of warnings such as:

[W::vcf_parse] Contig 'NC_051849.1STRANDBIAS' is not defined in the header.

Apparently this is a known issue with Sniffles v.1.0.12 that has been resolved with a new version (v2.0.0.2). However nanoseq is currently loading Sniffles v1.0.12. Is it possible to update the Sniffles version to remove this bug?

Command used and terminal output

[W::vcf_parse] Contig 'NC_051849.1STRANDBIAS' is not defined in the header. (Quick workaround: index the file with tabix.)
  [W::vcf_parse_filter] FILTER 'SVMETHOD=Snifflesv1.0.12' is not defined in the header
  [W::vcf_parse_filter] FILTER 'CHR2=NC_051849.1' is not defined in the header
  [W::vcf_parse_filter] FILTER 'END=220562694' is not defined in the header
  [W::vcf_parse_filter] FILTER 'STD_quant_start=0.000000' is not defined in the header
  [W::vcf_parse_filter] FILTER 'STD_quant_stop=0.000000' is not defined in the header
  [W::vcf_parse_filter] FILTER 'Kurtosis_quant_start=3.024139' is not defined in the header
  [W::vcf_parse_filter] FILTER 'Kurtosis_quant_stop=0.817699' is not defined in the header
  [W::vcf_parse_filter] FILTER 'SVTYPE=INV' is not defined in the header
  [W::vcf_parse_filter] FILTER 'SUPTYPE=SR' is not defined in the header
  [W::vcf_parse_filter] FILTER 'SVLEN=219300221' is not defined in the header
  [W::vcf_parse_filter] FILTER 'STRANDS=--' is not defined in the header
  [W::vcf_parse_filter] FILTER 'STRANDS2=0,26,26,0' is not defined in the header
  [E::bcf_hdr_parse_line] Could not parse the header line: "##FILTER=<ID=STRANDS2=0,26,26,0,Description=\"Dummy\">"
  [E::vcf_parse_filter] Could not add dummy header for FILTER 'STRANDS2=0,26,26,0' at NC_051849.1STRANDBIAS:240
  Error encountered while parsing the input

Relevant files

Example of some of the malformed entries in the VCF file: malformed.vcf.zip

System information

Nextflow version: 24.10.5, build 5935 (04-03-2025 17:55 UTC)
nf-core/nanoseq version: 3.1.0
Profile: singularity
Hardware: HPC
Executor: slurm

@callumjethomas callumjethomas added the bug Something isn't working label Mar 11, 2025
@callumjethomas
Copy link
Author

Hopefully this will be fixed by #305?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant
0