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
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM
    • seqadmin
      Strategies for Sequencing Challenging Samples
      by seqadmin


      Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
      03-22-2024, 06:39 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    17 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    21 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    16 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-04-2024, 09:00 AM
    0 responses
    46 views
    0 likes
    Last Post seqadmin  
    Working...
    X