Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Him26
    Member
    • Aug 2011
    • 20

    RseQC geneBody_coverage.py error

    Hi, I am trying to run geneBody_coverage.py and I get the following error.
    I assume the BinnedBitSet has something to do with transcript legnth so I removed ones that are longer than 500Kb.
    But I still get the error.
    Can anyone tell me why I am getting the error?
    Thank you.

    Load BAM file ... Done
    Load BAM file ... /opt/gridengine/default/spool/r-slave-1-3/job_scripts/580306: line 9:
    python /rseqc/latest/build/scripts-2.7/geneBody_coverage.py --input-f
    --out-prefix $3
    Get intron regions from /cancer/reference/current/transcriptome/gen.v12.filter
    Traceback (most recent call last):
    File "/rseqc/latest/build/scripts-2.7/inner_distance.py", line 87, in <module
    main()
    File "/rseqc/latest/build/scripts-2.7/inner_distance.py", line 79, in main
    obj.mRNA_inner_distance(outfile=options.output_prefix,low_bound=options.lower_bound_
    s.upper_bound_size,step=options.step_size,refbed=options.ref_gene,sample_size=options.sa
    tions.map_qual)
    File "/python/python2.7/lib/python2.7/site-packages/RSeQC-2.3.9-py2.7-linux-x
    AM.py", line 3380, in mRNA_inner_distance
    exon_bitsets = binned_bitsets_from_list(ref_exons)
    File "/python/python2.7/lib/python2.7/site-packages/bx_python-0.7.1-py2.7-lin
    set_builders.py", line 143, in binned_bitsets_from_list
    last_bitset.set_range( start, end - start )
    File "bitset.pyx", line 212, in bx.bitset.BinnedBitSet.set_range (lib/bx/bitset.c:3155
    File "bitset.pyx", line 185, in bx.bitset.bb_check_range_count (lib/bx/bitset.c:2669)
    IndexError: End (536985336) is larger than the size of this BinnedBitSet (536870912).
  • liguow
    Member
    • Apr 2009
    • 12

    #2
    There must be very big number(s) in your BED file. If you are working on human/mouse genome, you must have made some mistakes during the preparation of this BED file. However, if you are working on other species which indeed has chromosomes larger than 536870912, please stop using this script.

    As you can see from the error message below, bx-python package applied this limitation.

    Originally posted by Him26 View Post
    Hi, I am trying to run geneBody_coverage.py and I get the following error.
    I assume the BinnedBitSet has something to do with transcript legnth so I removed ones that are longer than 500Kb.
    But I still get the error.
    Can anyone tell me why I am getting the error?
    Thank you.

    Load BAM file ... Done
    Load BAM file ... /opt/gridengine/default/spool/r-slave-1-3/job_scripts/580306: line 9:
    python /rseqc/latest/build/scripts-2.7/geneBody_coverage.py --input-f
    --out-prefix $3
    Get intron regions from /cancer/reference/current/transcriptome/gen.v12.filter
    Traceback (most recent call last):
    File "/rseqc/latest/build/scripts-2.7/inner_distance.py", line 87, in <module
    main()
    File "/rseqc/latest/build/scripts-2.7/inner_distance.py", line 79, in main
    obj.mRNA_inner_distance(outfile=options.output_prefix,low_bound=options.lower_bound_
    s.upper_bound_size,step=options.step_size,refbed=options.ref_gene,sample_size=options.sa
    tions.map_qual)
    File "/python/python2.7/lib/python2.7/site-packages/RSeQC-2.3.9-py2.7-linux-x
    AM.py", line 3380, in mRNA_inner_distance
    exon_bitsets = binned_bitsets_from_list(ref_exons)
    File "/python/python2.7/lib/python2.7/site-packages/bx_python-0.7.1-py2.7-lin
    set_builders.py", line 143, in binned_bitsets_from_list
    last_bitset.set_range( start, end - start )
    File "bitset.pyx", line 212, in bx.bitset.BinnedBitSet.set_range (lib/bx/bitset.c:3155
    File "bitset.pyx", line 185, in bx.bitset.bb_check_range_count (lib/bx/bitset.c:2669)
    IndexError: End (536985336) is larger than the size of this BinnedBitSet (536870912).

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
      by SEQadmin2



      Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
      ...
      07-09-2026, 11:10 AM
    • SEQadmin2
      Cancer Drug Resistance: The Lingering Barrier to Rising Survival
      by SEQadmin2



      Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

      There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
      07-08-2026, 05:17 AM
    • GATTACAT
      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by GATTACAT
      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
      07-01-2026, 11:43 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Today, 10:26 AM
    0 responses
    10 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-09-2026, 10:04 AM
    0 responses
    24 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-08-2026, 10:08 AM
    0 responses
    16 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-07-2026, 11:05 AM
    0 responses
    33 views
    0 reactions
    Last Post SEQadmin2  
    Working...