Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • How to split fastq into small fastq based on barcode?

    Dear All,
    I have a big fastq file which include 34 samples. I want to split it into 34 small fastq files based on barcode sequences.
    I tried to do it with the script "split_libraries_fastq" in Qiime. However, a barcode read fastq file should be used in this script. I don't know how to get this barcode read fastq file, so I can't use this script to solve the problem.
    Is there any other method to solve the problem? Thank you!

    Peter

  • #2
    FastX-toolkit?

    Comment


    • #3
      Is this MiSeq or HiSeq data?
      Are you sure, the index was sequenced? If you do not specify it in the sample sheet, no index is sequenced. Then there is no way to determine the samples and split the fastq afterwards.
      Open the fastq with an appropriate text viewer and see if barcode information is present in the header of each read.

      Comment


      • #4
        Two things you need to clarify. Is the barcode "inline" (part of the sequence read) or was it sequenced separately (as in Illumina multiplexing)?

        As Vinz said above if you are not sure then you can "cat" or "zcat" the sequence file (pipe through "more") and then post a few sequences here so someone can help.

        Comment


        • #5
          Originally posted by GenoMax View Post
          As Vinz said above if you are not sure then you can "cat" or "zcat" the sequence file (pipe through "more") and then post a few sequences here so someone can help.
          Oh, man, use 'less' or 'zless' (press 'q' to return to command line). Way better than 'cat' piped through 'more'.

          Comment


          • #6
            try perl.
            you can store barcode list in a hash.

            Comment


            • #7
              Dear All,
              Thank you for your replies! I have solve the problem with the FASTX-ToolKit software. Besides, I also found the way to get a barcode.fastq with the script split_libraries_fastq.py (http://qiime.org/tutorials/extractin...astq_data.html).

              Peter

              Comment

              Latest Articles

              Collapse

              • 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
              • 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 04-11-2024, 12:08 PM
              0 responses
              17 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 10:19 PM
              0 responses
              22 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 09:21 AM
              0 responses
              16 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-04-2024, 09:00 AM
              0 responses
              46 views
              0 likes
              Last Post seqadmin  
              Working...
              X