Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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).

  • #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

    • seqadmin
      Advancing Precision Medicine for Rare Diseases in Children
      by seqadmin




      Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
      12-16-2024, 07:57 AM
    • seqadmin
      Recent Advances in Sequencing Technologies
      by seqadmin



      Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

      Long-Read Sequencing
      Long-read sequencing has seen remarkable advancements,...
      12-02-2024, 01:49 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 12-17-2024, 10:28 AM
    0 responses
    23 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 12-13-2024, 08:24 AM
    0 responses
    42 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 12-12-2024, 07:41 AM
    0 responses
    28 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 12-11-2024, 07:45 AM
    0 responses
    42 views
    0 likes
    Last Post seqadmin  
    Working...
    X