Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phleroy
    Junior Member
    • Jan 2019
    • 4

    #1

    PacBio consensus quality

    Hello

    I have sequenced a BAC clone with PacBio RSII
    To make the assembly I used Facon through pbbioconda and for polishing I used quiver

    To have an estimation of the consensus quality I re map the original bam reads file against the consensus

    How to estimate a mean quality value, in other world a consensus Phred score for the base calls of the consensus ... :-)

    Thank you in advance
    Philippe
    Last edited by phleroy; 01-25-2019, 01:07 AM.
  • SNPsaurus
    Registered Vendor
    • May 2013
    • 525

    #2
    We polish with arrow and just list one of the outputs as fastq "-o sample_consensus.fastq" and it generates a fastq file with a consensus for each contig and the quality score. You might check if quiver has the same option, or switch to arrow (here's a blog about doing so https://dazzlerblog.wordpress.com/tag/arrow/ ).
    Providing nextRAD genotyping and PacBio sequencing services. http://snpsaurus.com

    Comment

    • phleroy
      Junior Member
      • Jan 2019
      • 4

      #3
      Thank you very much for this suggestion
      We do have the possibility to obtain a fastq file with quiver with the option -o out.fastq as you have mentionned for arrow

      The question, is then, how you recover the mean QV for the consensus?

      into the fastq file we can see :
      @000000F|quiver
      ATCATTGTTACTACTAGAGGAAGAATCTTTCTTG ...
      +
      "RQQPQQQRQQQQQSRRQSTSSQRQRSSSRRRQQRSRRRQRSRQ ...

      I guess the quality value for each consensus nucleotide is the second line ? but how to calculate it ?

      Thank you again for any help
      Philippe

      Comment

      • Magdoll
        Member
        • Aug 2011
        • 31

        #4
        You can convert the Phred QV scores to probabilities then sum over the probabilities over the entire sequence to get the expected number of errors.

        You can use this Python script to calculate expected acc from a FASTQ files (though this is in a repo meant for PacBio transcriptome data, this script is generic):
        Miscellaneous collection of Python and R scripts for processing Iso-Seq data - Magdoll/cDNA_Cupcake

        Comment

        • phleroy
          Junior Member
          • Jan 2019
          • 4

          #5
          Thank you so much, I will try this option as soon as possible and tell you :-)

          Comment

          • phleroy
            Junior Member
            • Jan 2019
            • 4

            #6
            I tried the python script (calc_expected_accuracy_from_fastq.py) on our fastq consensus sequence which was obtained with quiver and obtained as expected the "expected_accurancy" which was : expected_accuracy=0.997

            In a previous analysis I used two smrtlink python scripts to estimate the mean_QV
            - summarize_coverage.py to obtain a alignment summary gff file
            - polished_assembly.py to obtain the csv file which gives the a mean_qv of 48.65

            I have the feeling that the two values estimate different metrics ? I am not a specialist of this area and I am curious to have any remarks or suggestion

            Nevertheless, these two values : mean_qv and expected_accuracy should give an estimation of the quality of the consensus assembly. I just need to understand precisely what interpretation to have for each value

            Thank you in advance
            Philippe

            Comment

            • rhall
              Senior Member
              • Aug 2012
              • 324

              #7
              If you assemble a set of reads, then use them to polish the assembly, there is no way to measure any truly meaningful consensus quality without an orthogonal datatype, or knowledge of ground truth. The expected accuracy from the fastq that results from polishing is highly dependent on the consensus algorithm and may not be a true indication of the quality of the consensus.

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