-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
I am getting the following error and I am not sure how to go around this. I used the following command to annotate the my vcf.
duphold -v macope2_sorted.vcf -b ../macOpe2.sorted.bam -f /data/okendojo/datashare/macOpeProject/macOpe2Assembly.fasta -t 24 -o mc.vcf but I cannot get the SVTYPE column information.
(samplot) [okendojo@cn0798 bcgFile]$ samplot vcf --vcf mc.vcf -d test -O png -b ../macOpe2.sorted.bam
Traceback (most recent call last):
File "/vf/users/okendojo/conda/envs/samplot/bin/samplot", line 10, in <module>
sys.exit(main())
File "/vf/users/okendojo/conda/envs/samplot/lib/python3.10/site-packages/samplot/__main__.py", line 31, in main
args.func(parser, args, extra_args)
File "/vf/users/okendojo/conda/envs/samplot/lib/python3.10/site-packages/samplot/samplot_vcf.py", line 1133, in vcf
commands, table_data = generate_commands(
File "/vf/users/okendojo/conda/envs/samplot/lib/python3.10/site-packages/samplot/samplot_vcf.py", line 949, in generate_commands
svtype = variant.info.get("SVTYPE", "SV")
File "pysam/libcbcf.pyx", line 2711, in pysam.libcbcf.VariantRecordInfo.get
ValueError: Invalid header
Metadata
Metadata
Assignees
Labels
No labels