Header Leaderboard Ad

Collapse

fastx_barcode_splitter

Collapse

Announcement

Collapse

SEQanswers June Challenge Has Begun!

The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!

For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 06-01-2023, 08:56 PM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 06-01-2023, 07:33 AM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-31-2023, 07:50 AM
          0 responses
          4 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-26-2023, 09:22 AM
          0 responses
          10 views
          0 likes
          Last Post seqadmin  
          Working...
          X