@Etal: there is indeed a problem with the automatic gender detection when using reference command.
My sample is from a male. Command I use is:
cnvkit.py reference \
*coverage.cnn \
--fasta ref.fasta \
-y \
-o normal_ref.cnn
For the targetcoverage.cnn, gender is wrong:
Relative log2 coverage of X=-1.32, Y=-13.4 (maleness=0.501 x 1.45 = 0.728) --> assuming female
For the antitargetcoverage.cnn, gender is correct:
Relative log2 coverage of X=-1, Y=-1.26 (maleness=0.632 x 2.85 = 1.8) --> assuming male
Since I have only 1 normal sample, I cannot discard it from the reference pool. Is there a way to edit the script to bypass automatic gender detection?