Random Post: Genetics of Human Longevity
RSS 2.0
  • Home
  • About
  • Aligners
  • Genomes
  • VarScan
  •  

    Crossbow: NGS Informatics in the Cloud

    November 23rd, 2009

    Just online at Genome Biology is a new paper from the Steven Salzberg lab (UMD) on searching for SNPs with cloud computing.  Using $85 of computing time rented from Amazon’s EC2, Langmead et al processed an entire human genome – 3.3 billion reads totaling 38x coverage – in three hours.

    logo_aws

    The “Cloud” Can Be Nebulous

    Cloud computing is a term bandied about often these days.  What it boils down to is this:  places with huge banks of computers (Providers, i.e. Amazon) rent out processing time to people who need it (Users).  The “cloud” refers to a software layer between providers and users that acts like a virtual operating system – it loads any software needed by the user, and also provides an access point for running highly parallelized tasks on the cluster. Next-gen sequencing data is well suited to this kind of processing, since a large NGS dataset can usually be broken into smaller subsets (i.e. Illumina lanes) and processed at the same time on different computers, without affecting the results.

    Map, Sort, Reduce

    Crossbow – the cloud computing software featured in this publication – cleverly breaks down the analysis into a series of map, sort, and reduce steps.  It takes a large sequencing dataset, breaks the reads into subsets, and maps them to the human genome using Bowtie (map).  Then, it divides the 3.2 gigabase human genome into 1,600 non-overlapping 2-megabase partitions and assigns every mapped read to a bin (sort).  The SNP caller, in this case SOAPsnp, is applied to each of these smaller bins rather than to the entire genome (reduce).

    The Need for Parallelization

    The CHB dataset is ~3.3 billion reads, with an average read length of 35 bp.  Even with Bowtie’s multi-threading and incredible speed, this massive dataset would take months to process on a single computer.  However, the authors divided the input reads into smaller subsets and aligned them in parallel, then processed the 2-Mbp genome “bins” in parallel as well.  Throw all of these parallel tasks at Amazon’s Elastic Compute Cloud (EC2), and it eats them up.  The high-performance EC2 cluster (40 nodes, each with 8 CPUs and 7 GB of RAM) finished all of the tasks in about 3 hours.

    Digging into the Numbers

    There are a couple of inconsistencies in the numbers that need to be ironed out.  For example, the BGI study reported 36X coverage from 3.3 billion reads (2.02 billion single-end, 658 million paired-end), whereas Langmead et al downloaded 2.7 billion reads from the “YanHuang Site” and noted that it represented 38X coverage.  Where did that extra 2X come from?  Langmead et al do cite the Nature paper by Wang et al, and I believe it’s the same dataset.

    At first I was concerned that the Salzberg group had only downloaded the mapped reads and run them, which would have been a biased test of alignment performance.  However, I don’t believe this is the case.  Instead, I believe they meant to say that they’d downloaded 2.02 billion single-end reads, and they’d also downloaded 657 million read pairs (1.314 billion paired-end reads).  This would yield the correct total of 3.3 billion reads.  I realize this is nitpicky.

    More of a concern and hopefully less nitpicky are the SNP calling numbers.  Langmead et al reported over 21% more SNPs (3.73 million) than BGI did (3.07 million) on the same dataset, and attributed the difference to less stringent filtering.  Yet both groups used the same SNP caller, so is it possible that the Bowtie alignment, not the SNP filters, were responsible for what we presume are false positives?  This is an important question that Heng Li and others are already considering.

    Whole-genome Sequencing Analysis for the Masses

    I like the Salzberg group because they’re all about the small lab, about putting NGS processing capabilities into the hands of people without substantial computing resources.  Bowtie made it possible to map a lane of Illumina/Solexa data in a few hours, using only a laptop with 4 GB of RAM.  Now, Crossbow offers anyone with $85 in their budget to run entire WGS datasets on borrowed (or rented) CPU time.  There’s no need to purchase, maintain, or continuously upgrade expensive computing hardware.  Even the storage space can be rented (i.e. from Amazon S3, which the authors used).  It is literally now possible for someone to analyze an entire human genome while sitting on their laptop at the local coffee house.

    References
    Ben Langmead, Michael C. Schatz, Jimmy Lin, Mihai Pop and Steven L. Salzberg (2009). Searching for SNPs with cloud computing Genome Biology, 10 (R134) : doi:10.1186/gb-2009-10-11-r134

    AddThis Social Bookmark Button

    Major Setback in Fight Against Breast Cancer

    November 17th, 2009

    On the front page of this morning’s USA Today, the headline reads “Report: Mammograms may not be needed until age 50.“  The story covers the recent findings of the U.S. Preventive Services Task Force (USPSTF), published this month in Annals of Internal Medicine.  In it, the “independent panel of experts” makes some rather startling recommendations.  I’ll list three here with the preliminary note that I disagree with each of them. The USPSTF concluded that:

    • Women under the age of 50 should not undergo routine screening (mammograms).  Exceptions are women with a family history of breast cancer or known risk-elevating mutations.
    • Women aged 50-74 should undergo mammograms every two years, rather than every year.
    • Clinicians should not teach women to perform breast self-exams.

    I’m just shocked at these recommendations. I’d like to give them my own sarcastic headlines, starting with…

    Saving A Few Lives: Inconvenient

    To justify the first of them, that women under 50 shouldn’t get mammograms, they conclude “For biennial screening mammography in women aged 40 to 49 years, there is moderate certainty that the net benefit is small.”  In other words, they’re somewhat certain that only a few lives will be saved.  “The harms resulting from screening for breast cancer include psychological harms, unnecessary imaging tests and biopsies in women without cancer, and inconvenience due to false-positive screening results,” they wrote.  It seems that a little anxiety and inconvenience outweigh the 1 out of every 1,904 women who will die each year because of this guideline (their numbers).

    Give Cancer Another Year

    The second recommendation, that women aged 50-74 should have mammograms every 2 years instead of every year, has a similarly ridiculous justification.  “A decision analysis performed for the USPSTF projected that biennial screening produced 70% to 99% of the benefit of annual screening, with a significant reduction in the number of mammograms required and therefore a decreased risk for harms.”  So, a computer model that the authors themselves didn’t even perform told them that screening every 2 years was at least 70% as effective as screening every year. I’m not an oncologist, but I do know one thing that’s universally agreed-upon by cancer clinicians: early detection is the best protection.  This recommendation might save some women the “harms” of anxiety and inconvenience.  It might prevent the “harm” of insurance companies paying for more mammograms.  It will also give cancer one more year to appear and do its work, 1 more year to grow and metastasize to other parts of the body.

    Why Should We Teach Anything?

    The third recommendation that I list seems the most inane of all.  Apparently, clinicians should not teach women to perform breast exams because “Adequate evidence suggests that teaching BSE does not reduce breast cancer mortality.”  Great idea, guys, let’s tell the clinicians to go ahead and withold information that might save a woman’s life.  Why?  Because the woman who finds a lump during her self-exam is just going to die anyway.  Never mind that encouraging women to self-exam, and teaching them how to do so correctly, is one of the most important exercises in breast cancer awareness, an intangible thing that probably encourages numerous women to take care of their bodies and live healthier lives.

    If You Ever Want to Screw Something Up, Just Form A Task Force

    As you might guess, I’m very upset by this report, by the fact that the press is picking it up, and the detrimental effect it will almost certainly have in our war against breast cancer.  This is not science, it’s pseudoscience.  The general recommendation of this so-called task force: let’s do less screening, because it might save some anxiety, money, and inconvenience.  Seriously?  Now might be a good time for a congressman to form another task force – one that would look for connections between the USPSTF and the insurance industry.  Because now, you know what’s going to happen?  Insurance companies are going to balk at paying for annual mammograms, refuse to cover tests for women under 50.  And if a woman tell them she wants the test, because she has a family history of breast cancer, you know they’ll take that new, private information and use it to raise her rates or drop her coverage altogether.

    Maybe I’m overreacting.  But personally, for my friends and family, I would recommend mammograms annually for any woman over the age of 35.  Because I’m happy to comfort said women in case they get anxious.  I’m happy to talk to them, in the event that they’re stressed.  I’m not too worried about the inconvenience of what might be unnecessary testing.  Why?  Because it just might save their life.

    References

    U.S. Preventive Services Task Force (2009). Screening for Breast Cancer: U.S. Preventive Services Task Force Recommendation Statement Annals of Internal medicine, 151 (10), 716-726

    AddThis Social Bookmark Button

    Short Read Aligners and Variant Detection

    November 6th, 2009

    In recent weeks I’ve had conversations with many people in the NGS community who are attempting to call variants, accurately,  in Illumina/Solexa data.  Part of it stems from VarScan, my SNP and indel caller for next-gen sequencing data that works with Bowtie, Novoalign, cross_match, and other aligners.

    Another part of it stems from my involvement in 1,000 Genomes Pilot 3, for which several participants have applied their own variant detection pipelines to the same dataset.  Last month, Goncalo Abecasis, with input from David Craig, Heng Li, Gerton Lunter, and Fiona Hyland, proposed an exercise comparing several read mappers on real and simulated ABI SOLiD and Illumina/Solexa data.  The initial list of aligners – Maq, BWA, Stampy, BFAST, BioScope, and KARMA – demonstrated just how rapidly the field has grown since my aligner comparison last year at AGBT.  I’d looked at Maq and BFAST, and knew about (but hadn’t tried) BWA, but the others on the list (Stampy, BioScope, and KARMA) were ones I’d never heard of.

    I proposed adding three aligners to the list: Bowtie and Novoalign for Illumina data, and SHRiMP for SOLiD data.  My suggestions were politely declined by Richard Durbin (WTSI), who said “In our hands Bowtie doesn’t seem accurate enough for variant calling.  It is a great tool for fast assignment of reads for some other purposes.  Novoalign is accurate and good, but perhaps a little slow. SHRiMP is also I think very slow.”

    Personally, I think that Bowtie works very well for variant calling, I know of several groups who are using it for that exact purpose. And while Novoalign *is* a bit slow, in my experience it’s just as fast as Maq, one of the two aligners out of Durbin’s lab that were already on the list.  Of course, Maq remains the most widely used tool for Illumina data (for now), and that’s an important consideration.  Most NGS analysts know and love Maq as much as I do.

    Balancing Speed and Sensitivity

    However, these assessments bring into focus the key issue surrounding short read alignment for variant detection – finding the balance between speed and sensitivity.  Bowtie and Novoalign exemplify this well.  Bowtie is ultrafast – the fastest short read aligner I’ve used – and maps an entire lane (~15m reads) in just 1-2 hours.  Yet in my experience, it places slightly fewer reads than BWA/Maq.  And it performs only ungapped alignments, so indels won’t be detected.  In contrast, Novoalign typically maps more reads than Maq and BWA, seems very accurate, and remains one of the few aligners to allow gaps in fragment-end reads.  In general, my comparisons demonstrated that Novoalign speed is comparable to Maq on typical datasets.  However, longer reads and lower-quality data can make Novoalign very slow indeed.  The ultimate short read aligner, in my opinion, would have Bowtie-like speed, Novoalign-like sensitivity, and the widespread community support that Maq enjoys.

    Ask the Guru: Heng Li

    Heng Li, who led development of both Maq and BWA, told me that he’s not worried about sensitivity. “Most aligners nowadays are sensitive enough,” Heng wrote to me in an e-mail this week.  “For detecting variations, specificity is of more importanceNonetheless, how much wrong alignments may contribute to wrong SNPs is an open question. As long as alignment errors are random, more wrong alignments may not necessarily lead to worse SNP calls.“  Clearly, he has already given some thought to these issues.  If we’re lucky, Heng Li may begin to address these open questions in his new post at the Broad Institute.

    Underlying Causes of False Positives

    Read mis-alignment would not be a serious problem if it occurred randomly across the genome.  The trouble is that wrong alignments don’t seem to be random, at least in my experience.  In projects like TCGA Ovarian, we see numerous false positives (particularly in tumors) that seem to arise from read mis-alignment.  These typically manifest as clusters of variants, often present in each of a subset of reads whose true alignment is probably a paralogous region of the genome.  It’s also possible that they’re caused by an indel, which (as Kiran Garimella of the Broad Institute recently showed) sometimes manifest as clusters of substitutions at several positions near one another.  We can aggressively filter these by looking for clusters of predicted SNPs, but even better would be to remove the mis-alignments before variant calling even begins.

    Read Mis-Alignment and Paired-End Sequencing

    Here at WashU, we have a growing concern that the alignment scores for short reads are continually over-estimated.  Often our manual reviewers find that reads supporting false-positives have mate pairs that align to a different chromosome altogether.  In the absence of translocation events, when this occurs, one of the two reads is incorrectly placed, and any variant it supports is probably not real.  Personally, I’d rather remove both reads in such situations, and rely on correctly mapped read pairs for detection of small variants.

    The pervasive spread of paired-end sequencing is beginning to reveal just how often short aligners can get it wrong.  The corollary here is that taking read pair information into account during alignment is of critical importance, and those hopeful short read aligners that don’t do it yet (crossmatch, for example) are destined for inferiority.

    High-Throughput Sequencing: Speed Matters

    Yet what I’m learning from discussions with others in the community – particularly the growing surge of users making the leap from Maq to BWA – is that speed matters.  With Illumina machines cranking out 20 gigabases in a single run, and projects like the 1,000 Genomes generating terabytes of sequence over the course of months, we can’t afford to be using the slower aligners, no matter their sensitivity.  At worst, we might apply a two-stage approach to alignment that rapidly maps reads that precisely match the reference, and passes only the variant reads to a more sensitive aligner for mapping.

    Of course, as a colleague of mine recently joked, by the time we write the perfect aligner, Pac Bio will have come along and sequenced the entire genome, kilobases at a time.

    AddThis Social Bookmark Button