Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lorenzo.C
    Junior Member
    • Jan 2018
    • 6

    #1

    isolate reads from a paired-ended fastq files

    hi folks,
    I have pair ended fastq files (let's call them 01_R1 and 01_R2). I need to make a new pair of fastq files that contains just the reads that fulfill this requirement: the reads of R2 should be within a certain range (let's say no more than 100bp far) from the respective read in R1.
    any suggestion on how to approach this?
  • bluesmartini
    Junior Member
    • Jun 2014
    • 4

    #2
    Hello,

    I would say that most of the aligners have this option. Which aligner do you want to use?

    Comment

    • lorenzo.C
      Junior Member
      • Jan 2018
      • 6

      #3
      BOWTIE2 would be great! thanks for the help!

      Comment

      • bluesmartini
        Junior Member
        • Jun 2014
        • 4

        #4
        with Bowtie2, the (very extensive) documentation mentions the following options :

        --al-conc <path>
        Write paired-end reads that align concordantly at least once to file(s) at <path>. These reads correspond to the SAM records with the FLAGS 0x4 bit unset and either the 0x40 or 0x80 bit set (depending on whether it’s mate #1 or #2). .1 and .2 strings are added to the filename to distinguish which file contains mate #1 and mate #2


        So as output you will have 2 fastq files that contain the reads that align concordantly to your options.

        For the range between pairs, take a look at --maxins option.

        hope it will help

        aubin

        Comment

        • lorenzo.C
          Junior Member
          • Jan 2018
          • 6

          #5
          thanks for the help good sir, if I understand correctly --al-conc <path> will produce a new couple of fastq that fulfil the --maxins option. the maxins command will take just reads that are spaced to a maximum number of base pairs in between. the problem I have is that the second read should have the opposite orientation of the first read to be selected by maxins (if I understand correctly), is there a way to not have this option selected? in other words I need to isolate reads that are within a certain range of the other direction, no matter the orientation (both should be considered valid).

          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-22-2026, 11:13 AM
          0 responses
          47 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          46 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          46 views
          0 reactions
          Last Post SEQadmin2  
          Working...