/* File: coverageview.h * Author: Gemma Barson, 2011-03-21 * Copyright (c) 2011 - 2012 Genome Research Ltd * --------------------------------------------------------------------------- * SeqTools is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 3 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * or see the on-line version at http://www.gnu.org/copyleft/gpl.txt * --------------------------------------------------------------------------- * This file is part of the SeqTools sequence analysis package, * written by * Gemma Barson (Sanger Institute, UK) * * based on original code by * Erik Sonnhammer (SBC, Sweden) * * and utilizing code taken from the AceDB and ZMap packages, written by * Richard Durbin (Sanger Institute, UK) * Jean Thierry-Mieg (CRBM du CNRS, France) * Ed Griffiths (Sanger Institute, UK) * Roy Storey (Sanger Institute, UK) * Malcolm Hinsley (Sanger Institute, UK) * * Description: This view shows a plot of the number of alignments at each * coordinate in the reference sequence. *---------------------------------------------------------------------------- */ #ifndef _coverage_view_h_included_ #define _coverage_view_h_included_ #include "blixemApp/blixem_.hpp" #include GtkWidget* createCoverageView(GtkWidget *blxWindow, BlxViewContext *bc); void coverageViewPrepareForPrinting(GtkWidget *coverageView); void updateCoverageDepth(GtkWidget *coverageView, BlxViewContext *bc); void coverageViewRedraw(GtkWidget *coverageView); void coverageViewRecalculate(GtkWidget *coverageView); void calculateCoverageViewBorders(GtkWidget *coverageView); void calculateCoverageViewHighlightBoxBorders(GtkWidget *coverageView); double coverageViewGetDepthPerCell(GtkWidget *coverageView); gboolean coverageViewSetDepthPerCell(GtkWidget *coverageView, const double depthPerCell); #endif /* _coverage_view_h_included_ */