Menu

#76 RTF Saving PE reads as single FQ

New
MOCAT
RTF (1)
Medium
Defect
2018-01-08
2018-01-05
No

Hello,

I have PE data (files named "lane1.1.fq" and "lane1.2.fq") and have set "MOCAT_paired_end" to "yes" in the config file and after running "MOCAT.pl -sf samples -rtf" the "reads.processed" outpuf folder has all of the reads in the "lane1.single.fq.gz" file and the paired files are empty. (The sample name is in the "samples" file.) This becomes a problem later when I run the assembly step because it finds no reads in the PE files and gives an error, with the assembly log file for this sample saying:

"
Begin Program SOAPaligner/soap2
Thu Jan 4 21:06:36 2018
...
Load Index Table ...
Load Index Table OK
Begin Alignment ...
File Error: unrecognized file
ERROR & EXIT: Insert sizes could not be calculated. Most likely the number of processed reads is too low.
There were not enough reads mapping to the mapping db to estimate the distance between two paired reads.
To solve this, calculate insert sizes differently. at ...../MOCATAssembly_aux.pl line 146.
"

Thank you for your assistance,
Peter Bazeley

Related

Tickets: #76

Discussion

  • MOCAT

    MOCAT - 2018-01-05

    It's possible the headers in your fast files aren't of standard header
    format. Look at the Wikipedia page for the fast format and ensure the reads
    are named correctly to one of the formats.

    On Fri, Jan 5, 2018 at 18:01 Peter Bazeley theoark@users.sf.net wrote:


    ** [tickets:#76] RTF Saving PE reads as single FQ**

    Status: New
    Labels: RTF
    Created: Fri Jan 05, 2018 05:01 PM UTC by Peter Bazeley
    Last Updated: Fri Jan 05, 2018 05:01 PM UTC
    Owner: MOCAT

    Hello,

    I have PE data (files named "lane1.1.fq" and "lane1.2.fq") and have set
    "MOCAT_paired_end" to "yes" in the config file and after running "MOCAT.pl
    -sf samples -rtf" the "reads.processed" outpuf folder has all of the reads
    in the "lane1.single.fq.gz" file and the paired files are empty. (The
    sample name is in the "samples" file.) This becomes a problem later when I
    run the assembly step because it finds no reads in the PE files and gives
    an error, with the assembly log file for this sample saying:

    "
    Begin Program SOAPaligner/soap2
    Thu Jan 4 21:06:36 2018
    ...
    Load Index Table ...
    Load Index Table OK
    Begin Alignment ...
    File Error: unrecognized file
    ERROR & EXIT: Insert sizes could not be calculated. Most likely the number
    of processed reads is too low.
    There were not enough reads mapping to the mapping db to estimate the
    distance between two paired reads.
    To solve this, calculate insert sizes differently. at
    ...../MOCATAssembly_aux.pl line 146.
    "

    Thank you for your assistance,
    Peter Bazeley


    Sent from sourceforge.net because you indicated interest in <
    https://sourceforge.net/p/mocat/tickets/76/>

    To unsubscribe from further messages, please visit <
    https://sourceforge.net/auth/subscriptions/>

    --
    Sent from my iPhone - apologies for any iCorrect mistakes.

     

    Related

    Tickets: #76

  • Peter Bazeley

    Peter Bazeley - 2018-01-05

    My headers (1 from each PE file) looks like this:

    @K00136:435:HGL7GBBXX:4:1104:16985:30433 1:N:0
    @K00136:435:HGL7GBBXX:4:1104:16985:30433 2:N:0

    This looks similar to the wikipedia page for Casava 1.8:

    "
    With Casava 1.8 the format of the '@' line has changed:
    @EAS139:136:FC706VJ:2:2104:15343:197393 1:Y:18:ATCACG
    "
    except no index sequence at the end. Should I add a dummy sequence at the end?

    Thanks for your help,
    Peter

     
  • Peter Bazeley

    Peter Bazeley - 2018-01-05

    Or should I convert to this format:

    @HWUSI-EAS100R:6:73:941:1973#0/1

     
    • MOCAT

      MOCAT - 2018-01-05

      I'd to the latter with /1 and /2.

      On Fri, Jan 5, 2018 at 22:56 Peter Bazeley theoark@users.sf.net wrote:

      Or should I convert to this format:

      @HWUSI-EAS100R:6:73:941:1973#0/1


      ** [tickets:#76] RTF Saving PE reads as single FQ**

      Status: New
      Labels: RTF
      Created: Fri Jan 05, 2018 05:01 PM UTC by Peter Bazeley
      Last Updated: Fri Jan 05, 2018 09:50 PM UTC
      Owner: MOCAT

      Hello,

      I have PE data (files named "lane1.1.fq" and "lane1.2.fq") and have set
      "MOCAT_paired_end" to "yes" in the config file and after running "MOCAT.pl
      -sf samples -rtf" the "reads.processed" outpuf folder has all of the reads
      in the "lane1.single.fq.gz" file and the paired files are empty. (The
      sample name is in the "samples" file.) This becomes a problem later when I
      run the assembly step because it finds no reads in the PE files and gives
      an error, with the assembly log file for this sample saying:

      "
      Begin Program SOAPaligner/soap2
      Thu Jan 4 21:06:36 2018
      ...
      Load Index Table ...
      Load Index Table OK
      Begin Alignment ...
      File Error: unrecognized file
      ERROR & EXIT: Insert sizes could not be calculated. Most likely the number
      of processed reads is too low.
      There were not enough reads mapping to the mapping db to estimate the
      distance between two paired reads.
      To solve this, calculate insert sizes differently. at
      ...../MOCATAssembly_aux.pl line 146.
      "

      Thank you for your assistance,
      Peter Bazeley


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/mocat/tickets/76/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

      --
      Sent from my iPhone - apologies for any iCorrect mistakes.

       

      Related

      Tickets: #76

  • Peter Bazeley

    Peter Bazeley - 2018-01-08

    Thanks, this solved the issue. Appreciate your help.

     

Log in to post a comment.