%%% check whether we are running pdflatex
\newif\ifpdf
  \ifx\pdfoutput\undefined
  \pdffalse % we are not running pdflatex
\else
  \pdfoutput=1 % we are running pdflatex
  \pdfcompresslevel=9     % compression level for text and image;
  \pdftrue
\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% switch on/off page coloring
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newif\ifpagecol
%\pagecoltrue            % use page color
\pagecolfalse          % do not use page color

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% choose global options depending on whether
%%% we are running under pdflatex

\ifpdf
   \documentclass[pdftex]{beamer}
   %\documentclass[handout,pdftex]{beamer}
  \mode<presentation>
  %\usetheme{Boadilla}
%  \usepackage[pdftex]{graphicx}
%  \usepackage[pdftex]{geometry}
%  \geometry{headsep=3ex,hscale=.9}
%  \usepackage[pdftex]{color}
  \usepackage{xmpmulti}
\else
   \documentclass[dvips]{beamer}
  \mode<presentation>
%  \usepackage{graphicx}
%  \usepackage{geometry}
%  \usepackage{color}
  \usepackage{xmpmulti}
\fi

  \usetheme{Madrid}
  \useoutertheme{shadow}
  \usecolortheme{seahorse}
  \usefonttheme{default}
  % no navigation symbols
  \setbeamertemplate{navigation symbols}{}
  % CIBIV logo at lower right
  %\pgfdeclareimage[width=2cm]{logo}{cibiv-short}
  %\logo{\vspace{-3ex}\pgfuseimage{logo}}
  %\pgfdeclareimage[height=0.5cm]{logo}{cibiv-short}
  %\logo{\includegraphics[height=0.5cm]{logo.pdf}}

%%%\usepackage{comicsans}
%%%\renewcommand{\sfdefault}{comic}
%
%  Packages
%
%  \usepackage{helvet}
%  \usepackage{times}
%  \usepackage{palatino}
%  \usepackage{newcent}
%  \usepackage{bookman}
%  \usepackage{avant}

  \usepackage{rotating}
  \usepackage{pifont}
  \usepackage{amsmath}
  \usepackage{amssymb}
  \usepackage{alltt}

  \usepackage{hyperref}
  \hypersetup{pdftitle={Sequence 2 Baum Template},
              pdfsubject={Sequence 2 Baum Template},
              pdfauthor={Heiko A. Schmidt}
%              pdfpagemode={FullScreen}
  }
%  \usepackage{pause}
 
%  \usepackage{pause}
  \DeclareGraphicsRule{*}{mps}{*}{}
  \newcommand{\xxx}{\rule{2em}{2ex}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% \MyLogo{\pauselevel{highlight =1 :21}}


%
%  Definitions
%
  \newcommand{\rb}[1]{\raisebox{0.0ex}[0.0ex][0ex]{#1}}
%%%  \newcommand{\sheader}[1]{\foilhead[-.5in]{\textbf{#1}}}
%%%  \newcommand{\sheaderc}[1]{\foilhead{\textbf{#1}}}

  \newcommand{\rrr}[1]{\textcolor{red}{#1}}
  \newcommand{\bbb}[1]{\textcolor{blue}{#1}}
  \newcommand{\sss}[1]{\textcolor{black}{#1}}
  \newcommand{\GGG}[1]{\textcolor{green}{#1}}

\newcommand{\sheader}[1]{\frametitle{#1}}
%  \newcommand{\sheader}[1]{\foilhead{\large\textbf{\underline{#1}}}}
%  \newcommand{\sheaderc}[1]{\foilhead{\large\textbf{\underline{#1}}}}

  \setlength{\parindent}{0pt}
  \sloppy
  \pdfpageheight=\paperheight
  \pdfpagewidth=\paperwidth

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[Phylogenetics on Grids]{Reliability Assessment in Evolutionary Trees Using Grids}
%\title{\textbf{Pairwise Sequence Alignment}}
\author[Joachim Zottl and Heiko A. Schmidt]{Joachim Zottl\inst{1} and Heiko A. Schmidt\inst{2}}
\institute{\inst{1}Research Lab Computational Technologies and Applications\\
                   Faculty of Computer Science, University of Vienna
	\and
	\inst{2}Center for Integrative Bioinformatics Vienna (CIBIV)\\
                Max F. Perutz Laboratories (MFPL), Vienna, Austria}
\date{April 20, 2007}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
	\titlepage
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
   \sheader{{Introduction: Phylogenetic Reconstruction}}

\begin{center}
   \includegraphics<0>[clip=true,angle=0,width=.9\textwidth]{images/tree-recon0.pdf}%
   \includegraphics<1>[clip=true,angle=0,width=.9\textwidth]{images/tree-recon1.pdf}%
   \includegraphics<2>[clip=true,angle=0,width=.9\textwidth]{images/tree-recon2.pdf}%
   \includegraphics<3>[clip=true,angle=0,width=.9\textwidth]{images/tree-recon3.pdf}%
   \includegraphics<4>[clip=true,angle=0,width=.9\textwidth]{images/tree-recon4.pdf}%
   \includegraphics<5->[clip=true,angle=0,width=.9\textwidth]{images/tree-recon5.pdf}\pause%
\end{center}

\uncover<6->{\textbf{Problem:} Usually we get a tree without any measure of certainty for the reconstructed subtrees.} \uncover<7>{Common solution: Bootstrapping.}
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

