// Reformat this data to create INFO and genotype
// TODO be more clever about this
for out_row, abs_row in zip(out_dframe.itertuples(index=False),
abs_dframe.itertuples(index=False)):
if (out_row.ncopies == abs_row.expect or
// Survive files from buggy v0.7.1 (/ኑ)
not str(out_row.probes).isdigit()):
After Change
Convert copy number segments to VCF records.
out_dframe = segments.data.loc[:, ["chromosome", "end", "log2", "probes"]]
if "cn" in segments:
out_dframe["ncopies"] = segments["cn"]
abs_expect = call.absolute_expect(segments, ploidy, is_sample_female)
else:
abs_dframe = call.absolute_dataframe(segments, ploidy, 1.0,