SVision icon indicating copy to clipboard operation
SVision copied to clipboard

AttributeError: 'pysam.libcalignmentfile.AlignmentFile' object has no attribute 'get_index_statistics'

Open tnnandi opened this issue 2 years ago • 1 comments

Hi,

I'm using the following version of pysam and getting the error: ref_info = aln_file.get_index_statistics(), AttributeError: 'pysam.libcalignmentfile.AlignmentFile' object has no attribute 'get_index_statistics' when I execute ./SVision -o svision_out/ -b ./supports/HG00733.svision.demo.bam -m ../inputs/svision-cnn-model.ckpt -g ../inputs/hg38.no_alt.fa -n HG00733 -s 5 --graph --qname

pysam 0.11.2.2 py36_1 bioconda

Is there a specific version requirement for pysam?

tnnandi avatar Jul 23 '23 21:07 tnnandi

Please use pysam>=0.19.1.

jiadong324 avatar Aug 03 '23 07:08 jiadong324