def __init__(self, chr=None, chromosome=None, chromosomeSize=None, start=None, stop=None, overlapStart=None, overlapStop=None, **keywords): PassingData.__init__(self, chr=chr, chromosome=chromosome, chromosomeSize=chromosomeSize, \ start=start, stop=stop, overlapStart=overlapStart, overlapStop=overlapStop, **keywords) if not hasattr(self, 'file'): self.file = None if not hasattr(self, 'jobLs'): self.jobLs = [] if self.chr is None and self.chromosome: self.chr = self.chromosome elif self.chr and self.chromosome is None: self.chromosome = self.chr if self.overlapStart is None: self.overlapStart = self.start if self.overlapStop is None: self.overlapStop = self.stop self.subIntervalLs = [] self.subIntervalLs.append((self.overlapStart, self.overlapStop))
def __init__(self, **keywords): self.isPhased = None self.ploidy = None self.locusIDList = [] self.haplotypeList = [] self.locusPositionList = [] PassingData.__init__(self, **keywords)