parameters: (self, genomeSegmentIterator)
docstring: Given a genome segment iterator, filter the genome segments to remove any chromosomes which are
          absent from callRegions bed file, if such a file has been specified, otherwise just pass the
          iterator through.
docstring_summary: Given a genome segment iterator, filter the genome segments to remove any chromosomes which are
          absent from callRegions bed file, if such a file has been specified, otherwise just pass the
          iterator through.
docstring_tokens: Given a genome segment iterator filter the genome segments to remove any chromosomes which are absent from callRegions bed file if such a file has been specified otherwise just pass the iterator through .
function: def filterUncalledChromosomeSegments(self, genomeSegmentIterator):
          """
          Given a genome segment iterator, filter the genome segments to remove any chromosomes which are
          absent from callRegions bed file, if such a file has been specified, otherwise just pass the
          iterator through.
          """
  
          isCallRegionBed = (self.params.callRegionsBed is not None)
  
          for gseg in genomeSegmentIterator :
              if isCallRegionBed :
                  if gseg.chromLabel in self.params.chromIsSkipped : continue
  
              yield gseg
function_tokens: def filterUncalledChromosomeSegments ( self , genomeSegmentIterator ) : isCallRegionBed = ( self . params . callRegionsBed is not None ) for gseg in genomeSegmentIterator : if isCallRegionBed : if gseg . chromLabel in self . params . chromIsSkipped : continue yield gseg