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

AnnotSV: raise ValueError( ValueError: Each variant is assumed to only have one single line of 'full' annotation #262

Open
cdbope opened this issue Oct 17, 2024 · 1 comment

Comments

@cdbope
Copy link

cdbope commented Oct 17, 2024

Any advice on how to handle this error when trying to generate vcf output using AnnotSV.
`python3 /AnnotSV/share/python3/variantconvert//src/variantconvert convert -i /data/annotated_variants.tsv -o /data/annotated_variants.vcf -c /AnnotSV/share/python3/variantconvert//src/variantconvert/configs/GRCh38/annotsv3_from_vcf.combined.local.json

2024-10-17 12:15:43 [INFO] running variantconvert 2.0.1
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/AnnotSV/share/python3/variantconvert//src/variantconvert/main.py", line 242, in
main()
File "/AnnotSV/share/python3/variantconvert//src/variantconvert/main.py", line 222, in main
main_convert(args)
File "/AnnotSV/share/python3/variantconvert//src/variantconvert/main.py", line 77, in main_convert
converter.convert(args.inputFile, args.outputFile)
File "/AnnotSV/share/python3/variantconvert/src/variantconvert/converters/vcf_from_annotsv.py", line 402, in convert
info_input_dic = self._build_info_dic()
File "/AnnotSV/share/python3/variantconvert/src/variantconvert/converters/vcf_from_annotsv.py", line 205, in _build_info_dic
merged_annots = merge_full_and_split(self.config, self.sample_list, df_variant)
File "/AnnotSV/share/python3/variantconvert/src/variantconvert/converters/vcf_from_annotsv_tools.py", line 95, in merge_full_and_split
raise ValueError(
ValueError: Each variant is assumed to only have one single line of 'full' annotation
Command: singularity exec annotsv_images.sif AnnotSV -SVinputFile filtered_output.vcf -annotationsDir /annotations/ -vcf 1 -outputFile annotated_variants.tsv

@lgmgeo
Copy link
Owner

lgmgeo commented Dec 5, 2024

ValueError: Each variant is assumed to only have one single line of 'full' annotation

It looks like you have the same SV described on 2 lines in your input file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants