CloneSet282


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.972compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11071
Bio/PopGen/GenePop/EasyController.py
2882
Bio/PopGen/GenePop/EasyController.py
Clone Instance
1
Line Count
10
Source Line
71
Source File
Bio/PopGen/GenePop/EasyController.py

    def get_heterozygosity_info(self,pop_pos,locus_name):  
        """Returns the heterozygosity info for a certain locus on a population.

           Returns (Expected homozygotes, observed homozygotes,
                    Expected heterozygotes, observed heterozygotes)
        """ 
        geno_freqs = self._controller.calc_allele_genotype_freqs(self._fname) 
        pop_iter,loc_iter =  geno_freqs 
        pops = list(pop_iter) 
        return pops[pop_pos][1][locus_name][1] 


Clone Instance
2
Line Count
8
Source Line
82
Source File
Bio/PopGen/GenePop/EasyController.py

    def get_genotype_count(self,pop_pos,locus_name):  
        """Returns the genotype counts for a certain population and locus

        """ 
        geno_freqs = self._controller.calc_allele_genotype_freqs(self._fname) 
        pop_iter,loc_iter =  geno_freqs 
        pop_iter = list(pop_iter) 
        return pop_iter[pop_pos][1][locus_name][0] 


Clone AbstractionParameter Count: 4Parameter Bindings

def [[#variable2e553ce0]](self,pop_pos,locus_name):
   [[#variable2e552480]]
  geno_freqs = self._controller.calc_allele_genotype_freqs(self._fname) 
  pop_iter,loc_iter = geno_freqs 
   [[#variable2e552a80]]= list(pop_iter) 
  return [[#variable2e552a80]][pop_pos][1][locus_name][ [[#variable2e553180]]] 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2e553ce0]]
get_genotype_count 
12[[#2e553ce0]]
get_heterozygosity_info 
21[[#2e552480]]
"""Returns the genotype counts for a certain population and locus

        """ 
22[[#2e552480]]
"""Returns the heterozygosity info for a certain locus on a population.

           Returns (Expected homozygotes, observed homozygotes,
                    Expected heterozygotes, observed heterozygotes)
        """ 
31[[#2e552a80]]
pop_iter 
32[[#2e552a80]]
pops 
41[[#2e553180]]
0 
42[[#2e553180]]
1