Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • lorendarith
    • Jun 2026

    FASTQ MP to PE orientation

    If we want to get from the MP orientation to the PE orientation (by ourselves), is it correct to do the complement of the actual sequence line while the quality (orientation) remains the same? I just want to be sure...

    <---- ----> orientation
    @ID 1:N:0
    CAGCTC
    +
    ??A??B
    @ID 2:N:0:
    AGGACA
    +
    ????AB

    ----> <---- orientation
    @ID 1:N:0
    GTCGAG
    +
    ??A??B
    @ID 2:N:0:
    TCCTGT
    +
    ????AB

    Thanks!
    Last edited by Guest; 01-29-2013, 08:49 AM. Reason: just complement, not reverse complement
  • lorendarith

    #2
    ...or do the reads have to be turned "physically":

    MP
    3' <--- 5' 5' ---> 3'
    just reverse ORDER (no complement) of nucleotides and quality scores?
    5' ---> 3' 3' <--- 5'

    :/

    Comment

    • kmcarr
      Senior Member
      • May 2008
      • 1181

      #3
      Originally posted by lorendarith View Post
      If we want to get from the MP orientation to the PE orientation (by ourselves), is it correct to do a reverse complement of the actual sequence line while the quality (orientation) remains the same? I just want to be sure...

      <---- ----> orientation
      @ID 1:N:0
      CAGCTC
      +
      ??A??B
      @ID 2:N:0:
      AGGACA
      +
      ????AB

      ----> <---- orientation
      @ID 1:N:0
      GTCGAG
      +
      ??A??B
      @ID 2:N:0:
      TCCTGT
      +
      ????AB

      Thanks!
      In your text you say "reverse complement" but the example you showed only complemented the sequence, you did not reverse it. And yes, if your reverse the sequence, then you need to reverse the quality as well to ensure that the quality scores remain associated with their original base.

      Done correctly it is:


      <---- ----> orientation
      @ID 1:N:0
      CAGCTC
      +
      ??A??B
      @ID 2:N:0:
      AGGACA
      +
      ????AB

      ----> <---- orientation
      @ID 1:N:0
      GAGCTG
      +
      B??A??
      @ID 2:N:0:
      TGTCCT
      +
      BA????

      Comment

      • lorendarith

        #4
        Originally posted by kmcarr View Post
        In your text you say "reverse complement" but the example you showed only complemented the sequence, you did not reverse it. And yes, if your reverse the sequence, then you need to reverse the quality as well to ensure that the quality scores remain associated with their original base.
        Yes I made a mistake. As in the example I was just referring just to the complement.

        So we have to do a reverse complement to get the reads back in the 5'->3' orientation in the file by reversing the order, but the actual "biological" orientation (MP to PE) changes by converting the read to the complementary strand, right?

        Sorry I'm just confused...
        Last edited by Guest; 01-29-2013, 10:25 AM.

        Comment

        • kmcarr
          Senior Member
          • May 2008
          • 1181

          #5
          Originally posted by lorendarith View Post
          Yes I made a mistake. As in the example I was just referring just to the complement.

          So we have to do a reverse complement to get the reads back in the 5'->3' orientation in the file by reversing the order, but the actual "biological" orientation (MP to PE) changes by converting the read to the complementary strand, right?

          Sorry I'm just confused...
          Well you've managed to confuse me now too.

          Let's try another approach. Why do you want to manipulate the read data?

          Comment

          • lorendarith

            #6
            Originally posted by kmcarr View Post
            Well you've managed to confuse me now too.

            Let's try another approach. Why do you want to manipulate the read data?
            I just want to turn the outward facing MP reads to inward facing reads as with normal PE data so that I could map them, as some mappers do not have the option for specifying the inward/outward orientation.
            :/

            Comment

            Latest Articles

            Collapse

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 06-09-2026, 11:58 AM
            0 responses
            30 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-05-2026, 10:09 AM
            0 responses
            37 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-04-2026, 08:59 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-02-2026, 12:03 PM
            0 responses
            64 views
            0 reactions
            Last Post SEQadmin2  
            Working...