-
Notifications
You must be signed in to change notification settings - Fork 36
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
KeyError: 'GL000008.2' #121
Comments
Hello, @aojielian The input reference should be concordant with the reference genome which the input bam is aligned to. The error may caused by the chromosome GL000008.2 doesn't exist in the input reference. Best, |
I have similar issue, and here is the error But I used the same reference as the one used for read alignments. I also found that cutesv actually processed the reads aligned to contig
Looking forward to your reply! Thanks! |
Hello, @jiadong324 Thanks for bringing this to me! We fixed this error and updated the codes in GitHub. You can git clone the newest codes and reinstall cuteSV via Best, |
i got this error using following command:
cuteSV --retain_work_dir --max_cluster_bias_INS 100 --diff_ratio_merging_INS 0.3 --max_cluster_bias_DEL 100 --diff_ratio_merging_DEL 0.3 /data_exp/ONT/GrandOmics/GrandOmics_BAM/aln_fastq_DBM19A4448_1.sorted.bam /data/a1lian/RNA_seq_database/GRCh37.primary_assembly.genome.fa /data_exp/ONT/GrandOmics/cuteSV_VCFs/aln_fastq_DBM19A4448_1.vcf /data_exp/ONT/GrandOmics/tmp_dir
error like:
2023-05-23 14:48:26,714 [INFO] Finished chr6-chrY:TRA/BND.
2023-05-23 14:48:26,715 [INFO] Finished chr7-chr8:TRA/BND.
2023-05-23 14:48:26,715 [INFO] Finished chrX-chrY:TRA/BND.
2023-05-23 14:48:26,729 [INFO] Writing to your output file.
2023-05-23 14:48:26,831 [INFO] Loading reference genome...
Traceback (most recent call last):
File "/home/a1lian/anaconda3/envs/cutesv/bin/cuteSV", line 877, in
run(sys.argv[1:])
File "/home/a1lian/anaconda3/envs/cutesv/bin/cuteSV", line 873, in run
main_ctrl(args, argv)
File "/home/a1lian/anaconda3/envs/cutesv/bin/cuteSV", line 851, in main_ctrl
generate_output(args, semi_result, contigINFO, argv, ref_g)
File "/home/a1lian/anaconda3/envs/cutesv/lib/python3.9/site-packages/cuteSV/cuteSV_genotype.py", line 285, in generate_output
REF = str(ref_g[i[0]].seq[int(i[2])]),
KeyError: 'GL000008.2'
The text was updated successfully, but these errors were encountered: