Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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?

  • #2
    Hello,

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

    Comment


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

      Comment


      • #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


        • #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

          • seqadmin
            Advancing Precision Medicine for Rare Diseases in Children
            by seqadmin




            Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
            12-16-2024, 07:57 AM
          • seqadmin
            Recent Advances in Sequencing Technologies
            by seqadmin



            Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

            Long-Read Sequencing
            Long-read sequencing has seen remarkable advancements,...
            12-02-2024, 01:49 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 12-17-2024, 10:28 AM
          0 responses
          33 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-13-2024, 08:24 AM
          0 responses
          48 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-12-2024, 07:41 AM
          0 responses
          34 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-11-2024, 07:45 AM
          0 responses
          46 views
          0 likes
          Last Post seqadmin  
          Working...
          X