TypeError that can't be solved

Issue #41 new
Former user created an issue

Hi Sir,

Thank you for a nice program, ROSE.

I have a problem when running ROSE and can't figure out what I should to to solve it.

I have BAM files that contain single-end reads. BAM files are sorted and indexed. I made corresponding GFF files which seem to be consistent with the requirements as in the ROSE manual. However, I have the following error that I don't know how to solve and I tried a lot:

Traceback (most recent call last): File "ROSE_bamToGFF.py", line 247, in <module> main() File "ROSE_bamToGFF.py", line 238, in main newGFF = mapBamToGFF(bamFile,gffFile,options.sense,int(options.extension),options.floor,options.rpm,options.matrix) File "ROSE_bamToGFF.py", line 40, in mapBamToGFF MMR= round(float(bam.getTotalReads('mapped'))/1000000,4) TypeError: float() argument must be a string or a number

I get this error even the example data you provided. Can you please help me to find what is the real problem here? I have a deadline in two days, so would really appreciate your prompt response.

Thank you in advance.

Bakhti.

Comments (1)

  1. Bharati Mehani

    Hi Bhakti,

    I am just curious to ask, did you manage to get your problem solved, as I am also facing the same problem with my samples.

    Any sort of help or hint will be highly helpful.

    Thanks

  2. Log in to comment