Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DNAjunk
    Member
    • Jun 2009
    • 62

    #1

    position of errors in solid read

    Does anybody know how to determine the positions of errors (in alignments, after mapping reads to a reference) in solid color space reads ?

    I couldn't figure out the "position_error tool" mentioned in the BioScope manual...

    Many thanks for help!
  • drio
    Senior Member
    • Oct 2008
    • 323

    #2
    I use the dqc tool in the dna package (sourceforge). Pass your bam, the ref genome and it will dump the mismatches across the read length of the reads. Then you can plot the
    results with plot_dqc_postalignqc.R (I use gnuplot).
    -drd

    Comment

    • DNAjunk
      Member
      • Jun 2009
      • 62

      #3
      Thanks for your response.

      Is it right that the dqc tool requires bfast?
      I had a quick look at the code in the package and it seems that it needs the bfast libariries which I don't have and didn't use so far.

      Or, is there an independant version of dqc?

      I refer to

      Comment

      • nilshomer
        Nils Homer
        • Nov 2008
        • 1283

        #4
        Originally posted by DNAjunk View Post
        Thanks for your response.

        Is it right that the dqc tool requires bfast?
        I had a quick look at the code in the package and it seems that it needs the bfast libariries which I don't have and didn't use so far.

        Or, is there an independant version of dqc?

        I refer to
        http://dnaa.git.sourceforge.net/git/...148da9;hb=HEAD
        It does require BFAST to read in the reference etc.

        Comment

        • KevinLam
          Senior Member
          • Nov 2009
          • 204

          #5
          Oh interesting!
          I wasn't aware of a 3rd party tool that looks at position errors.

          is the output like this ? i.e. same as bioscope?
          Code:
          # Generated by: CountSamPositionErrors(7_F3.csfasta.ma.bam)
          # Version: Bioscope version: bioscope-v1.2-rBS120SRN_47044_20100429153132  
          # Date: 07/15/2010 10:45 AM
          #? Sampling period = 1
          #? Total read positions = 617183400
          #? Missing color calls = 56487
          ##position_[refCall][readCall]	nErrors	nReadOccurrences	Error frequency
          1_AC	9643	3521908	0.0027
          1_AG	9838	3966595	0.0025
          1_AT	5180	2258191	0.0023
          1_CA	79142	2556366	0.0310
          1_CG	15241	3966595	0.0038
          1_CT	11537	2258191	0.0051
          1_GA	107425	2556366	0.0420
          1_GC	56802	3521908	0.0161
          1_GT	14756	2258191	0.0065
          1_TA	54086	2556366	0.0212
          1_TC	27256	3521908	0.0077
          1_TG	22387	3966595	0.0056
          2_01	12029	2902352	0.0041
          http://kevin-gattaca.blogspot.com/

          Comment

          • drio
            Senior Member
            • Oct 2008
            • 323

            #6
            Yes,

            -drd

            Comment

            • DNAjunk
              Member
              • Jun 2009
              • 62

              #7
              KevinLam:
              How can one generate the file you have posted previously?
              I am using BioScope command line vs 1.2

              # Generated by: CountSamPositionErrors(7_F3.csfasta.ma.bam)
              # Version: Bioscope version: bioscope-v1.2-rBS120SRN_47044_20100429153132
              # Date: 07/15/2010 10:45 AM
              #? Sampling period = 1
              #? Total read positions = 617183400
              #? Missing color calls = 56487
              ##position_[refCall][readCall] nErrors nReadOccurrences Error frequency
              1_AC 9643 3521908 0.0027
              1_AG 9838 3966595 0.0025

              Comment

              • westerman
                Rick Westerman
                • Jun 2008
                • 1104

                #8
                Originally posted by DNAjunk View Post
                KevinLam:
                How can one generate the file you have posted previously?
                I am using BioScope command line vs 1.2
                The file gets generated if you run the 'posErrors.ini' part of the pipeline.

                Comment

                • KevinLam
                  Senior Member
                  • Nov 2009
                  • 204

                  #9
                  Originally posted by DNAjunk View Post
                  KevinLam:
                  How can one generate the file you have posted previously?
                  I am using BioScope command line vs 1.2
                  in the GUI, you need to enable it in the advanced settings on the left.


                  in the examples/demo it looks like this

                  Code:
                  ####################################
                  ####################################
                  ##
                  ##  global parameters
                  ##
                  import ../globals/global.ini
                  primer.set = F3,R3
                  reference=${reference.dir}/DH10B_WithDup_FinalEdit_validated.fasta
                  
                  
                  ##********************************************
                  ##	position errors pipeline
                  ##********************************************
                  # Parameter specifies whether to run or not position errors pipeline. [1: to run, 0:to not run]
                  position.errors.run = 1
                  
                  # Location of BAM file from pairing plugin
                  pairing.bam.dir=${output.dir}/pairing/
                  
                  # Name of the BAM file for which position errors are to be calculated. If this key is missing a wild card search will be used. 
                  # If there is more than one .gff3 file in the input directory a position errors file will be generated for each one. (Optional)
                  position.errors.input.bam.file = ${output.dir}/pairing/R3-F3-Paired.bam
                  
                  # Position error output directory
                  position.errors.output.dir=${output.dir}/position-errors
                  
                  # Position error output file name
                  #position.errors.output.file=positionErrors.txt
                  http://kevin-gattaca.blogspot.com/

                  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
                  22 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-22-2026, 10:48 AM
                  0 responses
                  19 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  36 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...