Skip to content

Instantly share code, notes, and snippets.

@wikiselev
Created October 19, 2012 15:57
Show Gist options
  • Save wikiselev/3919008 to your computer and use it in GitHub Desktop.
Save wikiselev/3919008 to your computer and use it in GitHub Desktop.
Tex script to combine snapshot created by IGV genomic browser
\documentclass[landscape,letterpaper]{article}
\renewcommand{\rmdefault}{phv} % Arial
\setlength{\oddsidemargin}{-0.9in}
\setlength{\textwidth}{10.7in}
\setlength{\textheight}{7in}
\setlength{\topmargin}{-1.0in}
\setlength{\headsep}{0.25in}
\setlength{\parskip}{1.2ex}
\setlength{\parindent}{0mm}
\usepackage{graphicx}
\usepackage{hyperref}
\hypersetup{colorlinks=true}
\usepackage[dvipsnames]{xcolor}
\begin{document}
{\bf gene1_full_name}
\url{gene1_url}
gene1_location
Color abbreviations: {\bf {\color{green} A}, {\color{blue} C}, {\color{red} T}, {\color{Orange} G}}
\begin{figure}[!ht]
\begin{center}
\includegraphics[scale = X]{snapshots/gene1.png} % change X to a value between 0 and 1 to fit a snapshot to the file page size
\end{center}
\end{figure}
\cleardoublepage
{\bf gene2_full_name}
\url{gene2_url}
gene2_location
Color abbreviations: {\bf {\color{green} A}, {\color{blue} C}, {\color{red} T}, {\color{Orange} G}}
\begin{figure}[!ht]
\begin{center}
\includegraphics[scale = X]{snapshots/gene2.png} % change X to a value between 0 and 1 to fit a snapshot to the file page size
\end{center}
\end{figure}
% all other snapshots
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment