Unconfigured Ad

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

    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

                  • GATTACAT
                    Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                    by GATTACAT
                    Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                    07-01-2026, 11:43 AM
                  • SEQadmin2
                    Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                    by SEQadmin2


                    I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                    Here are nine questions we think about, in roughly the order they matter, before...
                    06-18-2026, 07:11 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 07-02-2026, 11:08 AM
                  0 responses
                  9 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 06-30-2026, 05:37 AM
                  0 responses
                  13 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 06-26-2026, 11:10 AM
                  0 responses
                  20 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 06-17-2026, 06:09 AM
                  0 responses
                  54 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...