Closed messersc closed 7 years ago
Yes, trust the code, not the docstring. You can see in the commit logs (e.g. 2db7b595) that this changed, but I didn't update the docstring in the caller. Weighting the segments correctly after slicing turned out to be tricky, so I settled on median to generate the final comparison metrics and generate Figure 6 for the paper.
If you run make
in each of the subdirectories, and then in compare/
, you should eventually get an equivalent of Figure 6 for your currently installed version of CNVkit.
Hi @etal,
Congratulations on publishing CNVkit, well-earned!
I have a question regarding the little script
pair_segments.py
.Because the docstring
is at odds with the code in the called function, because it actually returns the median?
I guess this script also generated the data for Figure 6 in the publication, correct? http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1004873#pcbi-1004873-g006 Or have there been any modifications? From the text it's not quite clear to me.
I would appreciate if you would clear this up.