For the case-control sample, it is right to store all the samples in specific folder and run 'batch' according to the manual on the homepage.
However, I can not afford to have a sufficient HDD usage, so first I use 'access' function as a ref genome and calculate coverage by using only normal samples.
It looks and works well but is it alright without autobin step? Thank you in advance.
1) cnvkit.py access hg38.fa -o access.hg38.bed
2-1) cnvkit.py coverage -p 4 GroupA_Normal.bam access.hg38.bed -o GroupA_Normal.targetcoverage.cnn
2-2) cnvkit.py coverage -p 4 GroupB_Normal.bam access.hg38.bed -o GroupB_Normal.targetcoverage.cnn
2-3 and 2-4) Calculate coverage of tumor samples using 'access.hg38.bed'
3) cnvkit.py reference Group*Normal.targetcoverage.cnn -f hg38.fa -o pooled-normal_reference.cnn
4) cnvkit.py fix GroupA_Tumor.targetcoverage.cnn pooled-normal_reference.cnn -o GroupA_Tumor.cnr cnvkit.py
5) cnvkit.py segment -m hmm GroupA_Tumor.cnr -o GroupA_Tumor.cns
'Likewise GroupB_tumor'