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
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            Yesterday, 07:01 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

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