#=======================================================================
# Author: Donovan Parks
#
# Abstract base class specifying interface of a two sample confidence interval method.
#
# Copyright 2011 Donovan Parks
#
# This file is part of STAMP.
#
# STAMP 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.
#
# STAMP 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 STAMP.  If not, see <http://www.gnu.org/licenses/>.
#=======================================================================

class AbstractSampleConfIntervMethod:
  '''
  Abstract base class specifying interface of a two sample confidence interval method.
  '''
  def __init__(self, preferences):
    self.preferences = preferences # dictionary indicating user-defined preferences
    self.name = 'Unnamed'
    self.plotLabel = 'No plot label defined'
    self.bRatio = False       # indicate if effect size statistic is a ratio (imples skewed distribution)
    
  
  def run(self, seq1, seq2, totalSeq1, totalSeq2, coverage):
    '''
    Must return the lower and upper values of the confidence interval along with the effect size.
    '''
    pass
