Commit 023a3ab5 authored by Hoogenboom, Jerry's avatar Hoogenboom, Jerry

Fix crash in BGHomRaw

parent 03bfeed9
......@@ -135,11 +135,11 @@ def compute_ratios(samples_in, outfile, allelefile, annotation_column, min_pct,
for i in range(len(data[marker, allele][sequence]["tag"])):
outfile.write("\t".join([
data[marker, allele][sequence]["tag"][i], marker, allele,
sequence] + [
sequence] + map(str, (
data[marker, allele][sequence]["forward"][i],
data[marker, allele][sequence]["reverse"][i],
data[marker, allele][sequence]["forward"][i] +
data[marker, allele][sequence]["reverse"][i]] + [
data[marker, allele][sequence]["reverse"][i])) + [
"%.3g" % x if abs(x) > 0.0000000001 else "0" for x in (
data[marker, allele][sequence]["fnoise"][i],
data[marker, allele][sequence]["rnoise"][i],
......@@ -185,4 +185,4 @@ def run(args):
args.min_pct, args.min_abs, args.min_samples,
args.min_sample_pct, args.sequence_format, args.library,
args.marker)
#run
#run
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment