Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • demultiplex FastQ files based on read names

    Hi everybody,

    my name is Fabian Roger and I am a PhD student in Ecology at the university of Gothenburg.

    I am at a stage where I need to submit sequences to ENA but I don't have the files in the right format. All I have are 6 FASTQ files (3 forward, 3 reverse) and a list of sequence names that assigns each read to it's corresponding sample (144 samples in total).

    In order to get the files into the right format I need to do two things:

    1) demultiplex the FASTQ files into separate samples (split in forward and reverse)

    2) check if there are any non-biological sequences remaining.

    I tried to do 1) with filterbyname.sh script from bbmap but I can't get it to work. Are there any solutions that are comparably fast that could do that?

    And would you have a good suggestion how to check 2)?

    Information about the reads:

    We sequenced environmental samples (freshwater) with the 341F-806R bacterial 16S primers and sequenced it with 2x250 bp on Illumina MISEQ platform.

    Any help would be greatly appreciated!

    I attach two small files from my data.
    Attached Files

  • #2
    You can use FastQC or similar to check for adapter sequence. What other non-biological sequence are you considering?

    For the second part, a short pick-your-favorite-language script should suffice.

    Comment


    • #3
      Just a note, filterbyname.sh did not work because the names in list.txt were not exact matches; they contain trailing whitespace. It works correctly once that is removed.

      Note that BBTools also contains a program called "demuxbyname" which can demultiplex reads into multiple files based on a list of prefixes or suffixes in the read names, but I'm not sure if that exactly addresses what you want to do. If the reads are barcoded by sample, it should work, in suffix mode.

      Comment


      • #4
        Hey again.

        Thanks to both for your replies! As Brian noted (and kindly told me by mail, too) the problem was the trailing tab. It works great now!

        For the non-biological sequences, I found out that there are both primers and barcodes still attached to them, so I will need to remove them.

        Thanks for your help and time!

        Comment


        • #5
          Use BBDuk.sh to remove adapters/extraneous stuff from BBMap, if you don't have a pre-determined pipeline already.

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