Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Fernas
    Member
    • Apr 2013
    • 74

    Problem in Using Tophat with Cutadapt output

    I have fastq reads represented in SOLiD format (Reads are stored in two files, one in fasta format for reads, and another one contains qualities). here is an example for one read (I combined the read and its quality from the two files):
    >SRR179591.7 2_59_264_F3
    T.23.2121.101131333000102.1.0022.0223.0001.0.313002
    >SRR179591.7 2_59_264_F3
    0 29 27 0 30 33 31 22 0 31 4 30 8 12 30 7 31 18 15 30 24 30 19 18 0 21 0 22 5 26 18 0 5 20 28 10 0 12 4 25 21 0 11 0 8 17 29 11 8 22


    I used Cutadapt to trim the reads and remove adapters. As an output for Cutadapt, it always produce one fastq file (instead of two files) and it represents the qualities in phred qualties instead of fastq-int. The Cutadapt output for the above read is:
    @SRR179591.7 2_59_264_F3
    T.23.2121.101131333000102.1.0022.0223.0001.0.313002
    +
    !><!?B@7!@%?)-?(@30?9?43!6!7&;3!&5=+!-%:6!,!)2>,)7



    Now, when I use tophat to map this file, it complains by saying (are you sure that you have qualities stored in fastq-int?) which means that tophat expect the qualities to be represented in the original SOLiD format (not as Cutadapt converted them). Here is the exact error message from tophat:
    Error running bowtie:
    Too few quality values for read: 11T0=
    are you sure this is a FASTQ-int file?
    terminate called after throwing an instance of 'int'



    So, my question: what is the best solution for this problem
    1) Shall I convert the quality values in the cutadapt output from phred to fastq-int? Does anyone has a script for this?

    2) Is there any specific parameter in tophat that I can use to tell tophat that the input is SOLiD data but the qualities are not in fastq-int but in phred?
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    I don't know if this will solve your problem, but seeing as nobody else has a better idea, you might try trimming the initial "T" from the bases. It is not a genomic base and does not have a quality score, which is why there is a mismatch between the number of bases and qualities.

    I do have programs to convert fastq to fasta+qual, but they don't work for Solid anymore. Generally, I recommend avoiding Solid colorspace data if at all possible.

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Pathogen Surveillance with Advanced Genomic Tools
      by seqadmin




      The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
      Yesterday, 11:48 AM
    • 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-20-2025, 05:03 AM
    0 responses
    26 views
    0 reactions
    Last Post seqadmin  
    Started by seqadmin, 03-19-2025, 07:27 AM
    0 responses
    33 views
    0 reactions
    Last Post seqadmin  
    Started by seqadmin, 03-18-2025, 12:50 PM
    0 responses
    25 views
    0 reactions
    Last Post seqadmin  
    Started by seqadmin, 03-03-2025, 01:15 PM
    0 responses
    190 views
    0 reactions
    Last Post seqadmin  
    Working...