Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Bamutils count question

    hi,

    I am a newbie in using command-line tools for NGS. Just tried to use the bamutils from NGSUtils in processing the bam file from the core. I tried to calculate the RPKM and reads by using the following command:

    ./bamutils count gtf hg19_genes.gtf Tophat.bam

    It runs for a few minutes and returns the following message:
    Reading GTF file...
    GTF file missing isoform annotation! Each transcript will be treated separately.
    Done! (0:28)
    1.6% - 0:12 [> ] ETA: 11:33 | FUCA1Traceback (most recent call last):
    File "/root/ngsutils/bam_utils/bam_count.py", line 222, in <module>
    modelobj.count(bamfile, stranded, coverage, uniq_only, rpkm, norm, multiple, whitelist, blacklist)
    File "/root/ngsutils/bam_utils/count/count.py", line 52, in count
    count, reads = _fetch_reads(bam, chrom, strand if stranded else None, starts, ends, multiple, False, whitelist, blacklist, uniq_only)
    TypeError: 'int' object is not iterable

    So how can I fix it? THX!

  • #2
    Sorry for the late reply...

    Try to update your code that you are using (git pull, if you used git). This bug ended up catching me too, and I wrote the thing... it should be fixed in the repository.

    Comment

    Latest Articles

    Collapse

    • seqadmin
      New Genomics Tools and Methods Shared at AGBT 2025
      by seqadmin


      This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

      The Headliner
      The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
      03-03-2025, 01:39 PM
    • seqadmin
      Investigating the Gut Microbiome Through Diet and Spatial Biology
      by seqadmin




      The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
      02-24-2025, 06:31 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 03-03-2025, 01:15 PM
    0 responses
    177 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 02-28-2025, 12:58 PM
    0 responses
    267 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 02-24-2025, 02:48 PM
    0 responses
    652 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 02-21-2025, 02:46 PM
    0 responses
    267 views
    0 likes
    Last Post seqadmin  
    Working...
    X