Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • fastx_barcode_splitter

    I used fastx_barcode_splitter.pl to demultiplex the barcodes to generate separate fastq files. However the files still retain the barcodes (at the beginning of each sequence in my case) . I want to remove those before the alignment.
    First, is there an option in fastx_barcode_splitter.pl to remove the barcodes while splitting the file? if not, I tried using:
    fastx_trimmer -f 5 -l 50 -i input.fastq -o output.fastq
    it gives the following error:
    fastx_trimmer: Invalid quality score value (char '#' ord 35 quality value -29) on line 4

    I used python script python trimmer.py -f input.fastq -s 5 -e 50 > try.fastq
    but it trims every line (not just the sequence line) leading to wrong fastq format.

    please help.
    thanks

  • #2
    Hi biofreak,
    I have exactly the same problem. Did you find any solution to the problem?

    Comment


    • #3
      You need to offset the Q scores with the -Q33 option, so instead of

      fastx_trimmer -f 5 -l 50 -i input.fastq -o output.fastq

      try

      fastx_trimmer -Q33 -f 5 -l 50 -i input.fastq -o output.fastq

      I can't believe this isn't in their documentation, but it makes everything work!

      Comment


      • #4
        thanks jme,
        but I should be more specific (and probably read the post carefully ;-) )
        My problem is:
        I want demultiplex illumina reads according to a set of 64 barcodes. I have stripped off the adapters from 3'. Subsequently I actually used sabre to demultiplex, and it worked smoothly. However, I'm unsure, whether the script retains the barcode or removes it. After looking into the fastx_barcode_splitter.pl code, I must conclude that barcode seqs are retained.
        as to your answer: my problem was not the qual settings, thanks anyway.

        Comment


        • #5
          Sorry, my fault for skimming, just saw the error!

          Comment

          Latest Articles

          Collapse

          • 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
          • seqadmin
            Techniques and Challenges in Conservation Genomics
            by seqadmin



            The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

            Avian Conservation
            Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
            03-08-2024, 10:41 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:37 PM
          0 responses
          10 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 06:07 PM
          0 responses
          9 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-22-2024, 10:03 AM
          0 responses
          49 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-21-2024, 07:32 AM
          0 responses
          67 views
          0 likes
          Last Post seqadmin  
          Working...
          X