Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • erichpowell
    Member
    • Nov 2009
    • 10

    #1

    MAQ: Obtain quality & read depth info non-variant (referent) sites

    I am trying to compare the genotypes from sequence data (GA2) to those of an Illumina array chip.

    I used MAQ to align the sequence data, which made it very easy to obtain information about read depth and consensus quality for VARIANT sites via the cns.final.snp file.

    Unfortunately, if a SNP is not listed in this file (because it was either not covered, low quality, homozygous referent, etc.), I must use the cns2view command to obtain the same types of information about it. This is fine, but I would also like to pass these sites through the same set of quality filters as cns.final.snp.

    Thus, I tried to run my cns.view file through SNPFilter using the same parameters that were used to produce cns.final.snp. 2 problems resulted. First, the list of remaining sites was much lower than that of cns.final.snp (108,492 cns.final.view, 186,232 cns.final.snp). This seems strange since cns.view contains all the same information as cns.snp and more! Second, I realized that neither of the cns.final.* files are being filtered on concensus quality (column 5 in cns.snp), even though the parameter (-q) is set to 40.

    Can anyone provide insight to these problems?
    Can SNPFilter only be used with variant sites? If so, can someone suggest a way to replicate the filters so that I can apply them to other sites.
    What is up with the -q parameter? Why does it not seem to be doing anything?

    Thanks in advance for any assistance!
  • erichpowell
    Member
    • Nov 2009
    • 10

    #2
    SNPfilter explained!

    Alright, I dug through the perl script (maq.pl), and I think I've got it all figured out. Just in case anyone else runs into similar difficulties, I'll go ahead and discuss what I found.

    First, the list of remaining sites was much lower than that of cns.final.snp (108,492 cns.final.view, 186,232 cns.final.snp). This seems strange since cns.view contains all the same information as cns.snp and more!
    The reason that I had so many less results in the cns.final.view than in the cns.final.snp is because of the -N (max SNPS in window) and -W (size of window) parameters . Basically, since the cns.view file had a line for virtually every bp, it (often) appeared to SNPfilter that there was too many SNPS (bp's) in the window and it would discard them all. Of course, this is perfectly fine if we're actually dealing with SNPS, but since I was trying to filter non-variant sites, these parameters started to cause problems.

    I have yet to test this, but I believe this can be avoided by setting N>W. Note: default value for W is 10.
    Second, I realized that neither of the cns.final.* files are being filtered on concensus quality (column 5 in cns.snp), even though the parameter (-q) is set to 40.
    It seems that there are two ways to pass the consensus quality filter. (1) Have a consensus quality greater than the cut-off (2) Have a reference base different from the 2nd best call AND have the (consensus quality + log likelihood ratio of 2nd & 3rd best call) > the cut-off. In other words, (column5 + column11)>cut-off. I don't understand the purpose of this 2nd criteria, but that explains why so many low consensus quality sites were making it through.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2




      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
      Yesterday, 06:46 AM
    • 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

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    28 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-28-2026, 09:51 AM
    0 responses
    18 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 11:13 AM
    0 responses
    71 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    48 views
    0 reactions
    Last Post SEQadmin2  
    Working...