Skip to content
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

FILTER 'STRANDBIAS' is not defined in the header #276

Open
mazzalab opened this issue Sep 17, 2024 · 0 comments
Open

FILTER 'STRANDBIAS' is not defined in the header #276

mazzalab opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mazzalab
Copy link

Description of the bug

NFCORE_NANOSEQ:NANOSEQ:STRUCTURAL_VARIANT_CALLING:SNIFFLES_SORT_VCF fails to read a vcf produced by NFCORE_NANOSEQ:NANOSEQ:STRUCTURAL_VARIANT_CALLING:SNIFFLES because the vcf file misses a line in the header.

If, indeed, I edit the vcf file in the temporary directory
image

by adding a line like:
##FILTER=<ID=STRANDBIAS,Description="Strand bias">

it works

Command used and terminal output

ERROR ~ Error executing process > 'NFCORE_NANOSEQ:NANOSEQ:STRUCTURAL_VARIANT_CALLING:SNIFFLES_SORT_VCF (OGM27_R1)'

Caused by:
  Process `NFCORE_NANOSEQ:NANOSEQ:STRUCTURAL_VARIANT_CALLING:SNIFFLES_SORT_VCF (OGM27_R1)` terminated with an error exit status (255)


Command executed:

  bcftools \
      sort \
      --output OGM27_R1.vcf.gz \
       \
      OGM27_R1_sniffles.vcf

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_NANOSEQ:NANOSEQ:STRUCTURAL_VARIANT_CALLING:SNIFFLES_SORT_VCF":
      bcftools: $(bcftools --version 2>&1 | head -n1 | sed 's/^.*bcftools //; s/ .*$//')
  END_VERSIONS

Command exit status:
  255

Command output:
  (empty)

Command error:
  Writing to /tmp/bcftools.zGx6RZ
  [W::vcf_parse_filter] FILTER 'STRANDBIAS' is not defined in the header
  Error encountered while parsing the input at chr1:16619298
  Cleaning

Relevant files

No response

System information

No response

@mazzalab mazzalab added the bug Something isn't working label Sep 17, 2024
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