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
                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 on Modified Bases...
                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
              39 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 10:19 PM
              0 responses
              41 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 09:21 AM
              0 responses
              35 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