adVNTR icon indicating copy to clipboard operation
adVNTR copied to clipboard

Genotype Error

Open BrendaLee1 opened this issue 3 years ago • 5 comments

Hi! The following error always occur when I run genotype command on pacbio bam file: Traceback (most recent call last): File "/soft/Anaconda/anaconda3/bin/advntr", line 11, in sys.exit(main()) File "/soft/Anaconda/anaconda3/lib/python3.6/site-packages/advntr/main.py", line 134, in main genotype(args, genotype_parser) File "/soft/Anaconda/anaconda3/lib/python3.6/site-packages/advntr/advntr_commands.py", line 114, in genotype genome_analyzier.find_repeat_counts_from_pacbio_alignment_file(input_file) File "/soft/Anaconda/anaconda3/lib/python3.6/site-packages/advntr/genome_analyzer.py", line 214, in find_repeat_counts_from_pacbio_alignment_file self.print_genotype(vid, copy_numbers) File "/soft/Anaconda/anaconda3/lib/python3.6/site-packages/advntr/genome_analyzer.py", line 31, in print_genotype self.print_genotype_in_vcf(vntr_id, genotype_result) File "/soft/Anaconda/anaconda3/lib/python3.6/site-packages/advntr/genome_analyzer.py", line 101, in print_genotype_in_vcf if genotype_result.copy_numbers is None: AttributeError: 'tuple' object has no attribute 'copy_numbers'

command: advntr genotype --alignment_file NA12878.bam --models hg19_selected_VNTRs_Pacbio.db --working_directory new_log --outfile advntr_new --outfmt vcf --pacbio

BrendaLee1 avatar Feb 21 '21 09:02 BrendaLee1