Aug 22, 2013

Changes in software can change results

I gave a talk this week at the NGx conference in Providence RI.  Thanks to MaryAnn Brown for inviting me and Chris Dwan for chairing the session.  I am trying to share the slides from my talk as a "Google Slides" document at this URL:

https://docs.google.com/presentation/d/1UKrs2Cz8KJEXALooCbvfHKEo3IaT2fZ9-uI4nWUg_VA/edit?usp=sharing

Let me know if the file is accessible and how it looks. I have lots of ppt files from my bioinformatics course lectures, and  I want to know if this is a good way to share them.

The conference session was about analysis pipelines for sequencing data, so I decided to look at the changes that we have made in RNA-seq software over the past couple of years. We started out using the software provided by Illumina (ELAND alignment and CASAVA gene expression counting), then added edgeR for normalization and differential expression. In the past year or so we have been using the Tophat/Cufflinks/Cuffdiff package for a lot of projects. Recently we have been testing out the STAR aligner.

 I just wanted to see how much difference would show up in the final results (lists of differentially expressed genes) if we re-analyzed the same data set with each different package. This turns out to be quite difficult. Just between STAR and Cufflinks, different novel isoforms are created for each gene in each sample. Even when "merged," the lists of differentially expressed genes was very difficult to compare in a quantitative way. However, it is possible to focus on a set of "known genes" using a reference GTF file and not calling any new transcripts, and this allows for direct comparison between STAR and Tophat both at the level of reads per gene (FPKM) and at the level of p-values for differentially expressed genes. Overall, the expression levels are very highly correlated, and the p-values correlate at about 0.95.

Comparisons with the Illumina software kit are even more difficult. I learned that BAM is not actually a standard file format. Each alignment software has its own style of BAM file, and some are not compatible with each other. The official specification of the BAM format includes many "optional" fields and tags, and Cufflinks requires an "XS" tag for reads that are split by an intron, while ELAND/CASVA does not write this tag when aligning reads to its splice-junction database.  The best I could do was compare final gene lists ranked by p-value when analyzed by CASAVA/edgeR vs Tophat/Cuffdiff (all computed on the same FASTQ data files).  I got a 62% overlap between the top 1000 differentially regulated genes - which is kind of terrible. This suggests that a lot of the biological conclusions made in past RNA-seq experiments would be substantially different if we just changed the analysis software used on the exact same sequence data. Ouch!





May 13, 2013

Individual chapters of the Next Generation DNA Sequencing book are now on sale as downloads from the Cold Spring Harbor Press website:

http://cshlpress.org/ngs/

I am really quite enthusiastic about this. Very few (if any) other books sell individual chapters as downloads. Hopefully some people will be willing to spring for $7 for an interesting or relevant chapter and then decide they want to get the whole  book.

Mar 8, 2013

Genotyping on MiSeq with overlapping paired-end reads

Our Illumina MiSeq can now do 2 X 250 bp paired-end reads. We are going to use an amplicon method for a simple genotyping assay to identify very rare mutations at a single SNP site. The idea is to amplify a short fragment (less than 300-400 bp) so the F and Rev reads overlap by 50 or 100 bp, not just by a few bp, as we have done in some other assays (such as 16S metagenomics), and put our target SNP in the center of the overlap region. In this way, the SNP will be located in a high quality region of both reads, and we can get the maximum accuracy in the genotype call.

One problem with using the MiSeq for amplicon assays is that it is very sensitive to the base-pair composition at each cycle. Illumina tech support insists that a spike-in of 50% Phix DNA is necessary for any amplicon assay. (Our Genomics lab tried it with 40% added Phix and got poor results.)  However, with the latest upgrades, the MiSeq is now producing 15 Million reads per run, so with the 50% Phix spike-in, it still produces over 7 M usable (high-quality) reads.


In the past, we have not used Illumina to test for rare mutations (ultra-deep sequencing) because the overall error rate is in the 0.3-0.5 range. Even if we restrict results to bases >Q30 at our target, we can't find mutations with a certainty below the error frequency of about 1 per thousand - since that would be the expected rate of false positives. With overlapping high quality reads, we can recalculate a new Q-score based on both reads (assuming that they both agree on a variant call). I am still thinking about the proper math for this (a joint probability of error), but it is something similar to the sum of the two Q-scores (product of the two error frequencies).  This would allow us to find mutations in the one per ten thousand  (or even hundred thousand) range with a low false positive rate.  The PANDA-seq program uses similar math to calculate Q-scores for overlapping regions, so we are going to use that for the first pass on this data.

Feb 25, 2013

Martin Blaser speaks about the early-life Microbiome

I like working at NYU. Interacting with very smart people has its own benefits. Even if their smarts don't directly rub off, at least I can learn something from listening to their ideas. Martin Blaser is a remarkably accomplished scientist (Past President of the Infectious Disease Society, member of the Institute of Medicine of the National Academy of Sciences, chair of the NIH Advisory Board for Clinical Research, and author of about 500 publications) with wide ranging interests in infectious disease. He has made substantial contributions to the study of Helicobacter pylori and its role in human diseases including ulcer and gastric cancer, as well as esophageal cancer, Crohn's disease and inflammatory bowel disease. Dr. Blaser has been an important contributor to the Human Microbiome Project. He has been recently profiles in the New York Times and the New Yorker magazine. Today he gave the Dean's Lecture at NYU Medical Center, where he discussed recent research in his lab on the effects of antibiotics on the microbiome of mice and the implications for human infants and children. 

Low levels of antibiotics are commonly used to supplement the feed of livestock animals, causing them to grow faster, more efficiently convert food to body mass, and to have higher levels of body fat. In a mouse system, the Blaser Lab has shown that steady low levels of antibiotics from birth to 28 weeks of age produce substantial changes in the microbe composition of the gut, as well as an increase in body fat.  The antibiotic altered microbiome, when combined with a high fat diet, has a synergistic effect on body fat (higher than either treatment alone). A similar effect is observed when several short pulses of antibiotic are administered at doses similar to what is used to treat infections in human children. The altered microbiome in antibiotic treated mice was also associated with immune suppression in the gut (lower levels of T-cells, lower levels of immune system molecules such as interleukins). 

Connecting back to human epidemiology, Americans have become much more obese in the past 50 years. In 1962, about 14% of Americans were obese, but by 2010, 42% of Americans have become obese. Blaser's point is that diet and exercise have not changed dramatically in the past generation (we ate almost as badly and were almost as lazy back in the 60's and 70's), but antibiotic use has changed dramatically.  Typical children now receive 10-20 courses of antibiotic treatments. Coincidentally, the prevalence of H. pylori in the gut has decreased  from over 50% down to just 5% of Americans.  The immune system changes that were observed in the antibiotic treated mice may correlate with the huge increases that are now observed in human asthma, celiac disease inflammatory bowel disease, type 1 diabetes, and other forms of allergy and autoimmune disorders.  Of course correlation does not prove causation, but the work of Blaser and others is beginning to identify  mechanisms that connect changes in the microbiome to these disorders. In mice, infection with H. .pylori has been shown to protect from respiratory allergic reactions.

Thanks to modern medicine, Americans now live longer, are much less likely to die of routine infections, and are taller, but we are much more obese, have more cardiac disease, and more autoimmune disease.  So, can we create a different equilibrium with our microbiome that retains the life saving anti-infection benefits of modern antibiotics, but restores the metabolic and immune balance from an earlier era?

Feb 17, 2013

Australian NGS Tutorial

These Galaxy-based NGS tutorials from the Australian "Super Science"  Genomics Virtual Lab are really excellent:

https://genome.edu.au/wiki/Galaxy_Tutorials

Very clear explanations, nice screen shots, and a hands-on demonstration for students to see for themselves why biological replicates are necessary to find differential expression with RNA-seq.