DoaneAS / rseqc

Automatically exported from code.google.com/p/rseqc
0 stars 0 forks source link

bam_stat.py error #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

I executed bam_stat.py. but got some error.
I don't know how to solve this error.
please check my error

my command is "bam_stat.py -i genome.bam"  at RSeQC-2.3.9 directory

error is
=========================================================================
Load BAM file ... Traceback (most recent call last):
  File "scripts/bam_stat.py", line 63, in <module>
    main()
  File "scripts/bam_stat.py", line 59, in main
    obj.stat(q_cut = options.map_qual)
  File "/usr/local/lib/python2.7/site-packages/RSeQC-2.3.9-py2.7-linux-x86_64.egg/qcmodule/SAM.py", line 2392, in stat
    R_read2_ref = self.samfile.getrname(aligned_read.rnext)
AttributeError: 'csamtools.AlignedRead' object has no attribute 'rnext'

Original issue reported on code.google.com by xxcherry...@gmail.com on 26 Jun 2014 at 8:28