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
            Understanding Genetic Influence on Infectious Disease
            by seqadmin




            During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

            Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
            09-09-2024, 10:59 AM
          • seqadmin
            Addressing Off-Target Effects in CRISPR Technologies
            by seqadmin






            The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
            08-27-2024, 04:44 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Today, 06:25 AM
          0 responses
          13 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 01:02 PM
          0 responses
          12 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-18-2024, 06:39 AM
          0 responses
          14 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-11-2024, 02:44 PM
          0 responses
          14 views
          0 likes
          Last Post seqadmin  
          Working...
          X