Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srikant_verma
    Junior Member
    • Sep 2014
    • 8

    #1

    TopHat v2.0.13 generates SAM files with few alignment records having empty QUAL field

    Hi all,

    I have obsereved that a couple of alignment records as generated by TopHat has empty QUAL field (11th column) in SAM file.
    This results the following error while converting this SAM file to BAM using samtools 1.0 (view):
    [W::sam_read] parse error at line 83974818
    [main_samview] truncated file.

    It would be great if you let me know what could be the reason for the empty QUAL field.

    Thanks,
    Srikant
  • blancha
    Senior Member
    • May 2013
    • 367

    #2
    First, I would start by offering my standard advice that you should upgrade to the latest version of the programs before reporting any potential bug.

    Second, your post is confusing. TopHat directly outputs BAM files. How come you are using samtools view to convert a SAM file supposedly outputted by TopHat to a BAM file?

    Comment

    • srikant_verma
      Junior Member
      • Sep 2014
      • 8

      #3
      Thanks blancha for your suggestion.

      According to the release related information available at https://ccb.jhu.edu/software/tophat/index.shtml, the problem mentioned above was solved/tried to solve in release TopHat 2.0.1 maintenance release 5/17/2012 and TopHat 2.0.7 release 1/23/2013. So I thought there could be other reason for the observation which I do not know.
      Regarding your second query, there is the option '--no-convert-bam' in tophat which generates <output_dir>/accepted_hit.sam. I use this SAM file for some other purpose (using custom perl script). Anyway, the SAM file then can be converted to BAM using samtools view, and that can be used in down-stream analysis.

      Again, thanks for your suggestion. I will use latest tophat and post the result.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:52 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-13-2026, 09:56 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-09-2026, 11:14 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Working...