Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LizBent
    Member
    • Jan 2012
    • 31

    #1

    Concatenating paired end reads when there are missing reads

    Hi all,

    I am looking for a tool that can take Illumina fastq paired end reads (already trimmed and quality filtered, so that not all the read1 sequences are paired with read2 sequences, and vice versa), and concatenate them (by taking the reverse complement of read 2 and attaching it to the end of read1). These reads do not overlap. I'm concatenating them so that when I do database searches (e.g. BLAST), I have more information to use to determine what organism my amplicons came from (this is metagenomics work).

    Does anyone have such a tool they would be willing to share? I have zero programming experience and our bioinformatician left months ago.

    I've looked at ill2fastq.pl, but it seems to be designed for working with only pairs of reads, and can't handle unpaired reads.
    Last edited by LizBent; 10-05-2012, 05:27 AM. Reason: incomplete
  • JackieBadger
    Senior Member
    • Mar 2009
    • 385

    #2
    So what you need to do is:
    1. Interlace your fastq files, grouping your paired ends by seq ID...i.e. cluster coordinates for read /1 and /2
    2.De-interlace the paired reads
    3. stitch together these two sequences.

    This can easily be done on a local instance of Galaxy (I dont think the web portal has interlacer tool installed).

    However, seeing as your paired ends come from opposite ends of sequence I don't see how stitching them together will help you in a BLAST search. You are creating an artificial sequence, and Genbank sequences are individual "real" fragments.
    If I were you I wouldn't concatenate the PEs. Use FASTX sequence collapser in Galaxy and batch BLAST your unique reads individually.

    Comment

    • LizBent
      Member
      • Jan 2012
      • 31

      #3
      Hi Jackie- actually, if you BLAST the two ends of a sequence (with or without an artificial gap in the middle), you get better matches than if you BLAST just one end at a time. It is possible you'd get a nonsense window where the two ends meet, but the best overall matches would be for the longer ends that match real sequences, so those are the hits that will come out on top.

      As for the solution you describe, I was rather hoping to find a script that would allow me to keep track of unpaired read1 and read2 sequences so I can use them as well.

      Comment

      • jbrwn
        Member
        • Mar 2011
        • 37

        #4
        do you know how to use the command line at all? post the first read name from each fastq and i'll try to help you out. my solution will require python.

        Comment

        • JackieBadger
          Senior Member
          • Mar 2009
          • 385

          #5
          The solution I posted tracks unpaired reads.
          otherwise check out here http://sfg.stanford.edu/quality.html
          Their PECombiner.sh has a bug in it...they may have updated this on the site?
          If they have not ask the authors to send you the working script.

          Comment

          • jbrwn
            Member
            • Mar 2011
            • 37

            #6
            uses a good amount of memory since it's storing one fq in a dict, but seems to work:

            join paired-end or print unique single-end reads. GitHub Gist: instantly share code, notes, and snippets.


            edit: you didn't say anything about preserving the quals, so this prints a fasta.
            Last edited by jbrwn; 10-09-2012, 02:28 PM.

            Comment

            • LizBent
              Member
              • Jan 2012
              • 31

              #7
              Thanks so much, I will try it

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM
              • SEQadmin2
                New Genomics Technologies Take Aim at Long-Standing Limits
                by SEQadmin2


                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                ...
                09-28-2026, 10:25 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              23 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-13-2026, 09:56 AM
              0 responses
              24 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-09-2026, 11:14 AM
              0 responses
              28 views
              0 reactions
              Last Post SEQadmin2  
              Working...