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

svtk bioconda 0.0.20190615-6 version raises VariantHeader error #787

Open
kubranarci opened this issue Mar 12, 2025 · 0 comments
Open

svtk bioconda 0.0.20190615-6 version raises VariantHeader error #787

kubranarci opened this issue Mar 12, 2025 · 0 comments

Comments

@kubranarci
Copy link

Hello,

I am using svtk standardize on a manta file, latest bioconda version (0.0.20190615-6 ) creates the below error while, 0.0.20190615-2 (used docker to run) does not. Can someone help me with this? I cannot define 0.0.20190615-2 exactly in the conda environment since it translate '-' to ;.' somehow.

    > Command error:
    >   [E::bcf_hdr_parse_sample_line] Could not parse the "#CHROM.." line, either FORMAT is missing or spaces are present instead of tabs:
    >   	#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT
    >   
    >   Traceback (most recent call last):
    >     File "pysam/libcbcf.pyx", line 4355, in pysam.libcbcf.VariantFile.open
    >     File "pysam/libcbcf.pyx", line 2210, in pysam.libcbcf.makeVariantHeader
    >   ValueError: cannot create VariantHeader
    >   
    >   During handling of the above exception, another exception occurred:
    >   
    >   Traceback (most recent call last):
    >     File "/home/runner/work/modules/modules/.nf-test/tests/a3decb8bca1847d7fd2e1c1149baba73/work/conda/env-853c99f0b63deee5-9f3c4f680ecea241ac469cb873016a98/bin/svtk", line 67, in <module>
    >       main()
    >     File "/home/runner/work/modules/modules/.nf-test/tests/a3decb8bca1847d7fd2e1c1149baba73/work/conda/env-853c99f0b63deee5-9f3c4f680ecea241ac469cb873016a98/bin/svtk", line 64, in main
    >       getattr(cli, command)(sys.argv[2:])
    >     File "/home/runner/work/modules/modules/.nf-test/tests/a3decb8bca1847d7fd2e1c1149baba73/work/conda/env-853c99f0b63deee5-9f3c4f680ecea241ac469cb873016a98/lib/python3.12/site-packages/svtk/cli/standardize_vcf.py", line 67, in main
    >       template = VariantFile(template)
    >                  ^^^^^^^^^^^^^^^^^^^^^
    >     File "pysam/libcbcf.pyx", line 4117, in pysam.libcbcf.VariantFile.__init__
    >     File "pysam/libcbcf.pyx", line 4357, in pysam.libcbcf.VariantFile.open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant