Unconfigured Ad

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

    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

              • mylaser
                Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by mylaser
                Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                This guide explains everything you need to know about...
                Yesterday, 01:13 AM
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • SEQadmin2
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                07-08-2026, 05:17 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              21 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              13 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-07-2026, 11:05 AM
              0 responses
              31 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-02-2026, 11:08 AM
              0 responses
              31 views
              0 reactions
              Last Post SEQadmin2  
              Working...