Mercurial > repos > davidvanzessen > mutation_analysis
comparison gene_identification.py @ 93:53fb2948726e draft
Uploaded
author | davidvanzessen |
---|---|
date | Tue, 07 Jun 2016 04:45:50 -0400 |
parents | b869a126e2c4 |
children |
comparison
equal
deleted
inserted
replaced
92:b869a126e2c4 | 93:53fb2948726e |
---|---|
158 chunksInCA = len(compiledregex["ca"]) | 158 chunksInCA = len(compiledregex["ca"]) |
159 chunksInCG = len(compiledregex["cg"]) | 159 chunksInCG = len(compiledregex["cg"]) |
160 chunksInCM = len(compiledregex["cm"]) | 160 chunksInCM = len(compiledregex["cm"]) |
161 requiredChunkPercentage = 0.7 | 161 requiredChunkPercentage = 0.7 |
162 varsInCA = float(len(ca1.keys()) * 2) | 162 varsInCA = float(len(ca1.keys()) * 2) |
163 varsInCG = float(len(cg1.keys()) * 2) - 2 # -1 because the sliding window doesn't hit the first nt twice | 163 varsInCG = float(len(cg1.keys()) * 2) - 2 # -2 because the sliding window doesn't hit the first and last nt twice |
164 varsInCM = 0 | 164 varsInCM = 0 |
165 | 165 |
166 | 166 |
167 | 167 |
168 first = True | 168 first = True |