Unconfigured Ad

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

    #1

    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

    • kinpict.com
      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by kinpict.com
      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
      Today, 06:37 PM
    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2





      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    27 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-03-2026, 11:54 AM
    2 responses
    56 views
    0 reactions
    Last Post kinpict.com  
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    175 views
    0 reactions
    Last Post SEQadmin2  
    Working...