-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi there,
I ran the newest vamos on my cohort and trying to merge the vcf files. I am running into issues with the combine_vcf.py script. I had to make a change to the script to initialize the sample variable and now am getting issues with the readOneVCF function:
python3 combine_vcf.py -i vamos_calls.csv -o vamos_merged_output.vcf
2023-12-11 10:45:34 - INFO - Parsing Input Arguements...
2023-12-11 10:45:34 - INFO - Required Argument - inVCFs: vamos_calls.csv
2023-12-11 10:45:34 - INFO - Required Argument - outVCF: vamos_merged_output.vcf
2023-12-11 10:45:34 - INFO - Parsing Input Arguements Completed
Traceback (most recent call last):
File "/mnt/scratch/ilaria/VNTR/vamos_sherlock/ADRC_vamos/combine_vcf.py", line 197, in <module>
samplesAll, header, vcfDict = readAllVCF(inVCFs)
^^^^^^^^^^^^^^^^^^
File "/mnt/scratch/ilaria/VNTR/vamos_sherlock/ADRC_vamos/combine_vcf.py", line 160, in readAllVCF
readOneVCF(vcfs[0],vcfDict)
File "/mnt/scratch/ilaria/VNTR/vamos_sherlock/ADRC_vamos/combine_vcf.py", line 90, in readOneVCF
coor, constant, altannoH1, altannoH2 = readOneVCFLine(line,vcfDict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/scratch/ilaria/VNTR/vamos_sherlock/ADRC_vamos/combine_vcf.py", line 61, in readOneVCFLine
chr,pos,id,ref,alt,qual,filter,info,_,_ = line.strip().split('\t')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 10, got 3)
Thank you for any insights you can provide!
Metadata
Metadata
Assignees
Labels
No labels