xjtu-omics / SVision

Detecting genome structural variants with deep learning in single molecule sequencing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

tnnandi opened this issue · 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?

Please use pysam>=0.19.1.