Question: How are the log2 values in CNVkit .cnr files calculated?
2
gravatar for Jordan
7 months ago by
Jordan1.2k
Pittsburgh
Jordan1.2k wrote:

Hi,

I'm relatively new to CNV analysis. I ran cnvkit on WGS samples (4 tumor/normals) and the normals were pooled.

I don't quite understand how the log2 values in .cnr files for CNVkit are calculated.

Here is a result from one of my sample:

normal.cnn:

chr1 11129 12259 DDX11L1 28.2027 4.81772

tumor.cnn:

chr1 11129 12259 DDX11L1 373.432 8.54083

tumor.cnr:

chr1 11129 12259 DDX11L1 373.432 -0.23305 0.805129

As can be seen from .cnn files, the tumor has higher depth, but in .cnr file it has negative log ratio. I looked at other normal samples in the same region and they almost have similar depth and log values in their .cnn file.

So, why is it the log ratio .cnr file for this bin negative?

Thanks for the help!

wgs cnv .cnr cnvkit • 470 views
ADD COMMENTlink modified 10 weeks ago by Kevin Blighe67k • written 7 months ago by Jordan1.2k

check this reference: https://cnvkit.readthedocs.io/en/stable/fileformats.html#bin-level-log2-ratios-cnr

ADD REPLYlink written 7 months ago by Arup Ghosh2.7k

I read that part of the manual, but I’m still not clear about it. If I’m understanding that document correctly, weights are used for log2 ratio calculation?

ADD REPLYlink written 7 months ago by Jordan1.2k

the doc is very unclear, the fix command used the reference, which used the normal and tumor sample data, and cnr just uses the cnn file from tumor and the reference, it filter some region, but the calculation is very unclear

ADD REPLYlink written 4 months ago by linouhao0
0
gravatar for Kevin Blighe
10 weeks ago by
Kevin Blighe67k
Republic of Ireland
Kevin Blighe67k wrote:

Standard log2 ratio is reported as log2; 'weighted' ratio is reported as weight

Kevin

ADD COMMENTlink written 10 weeks ago by Kevin Blighe67k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1104 users visited in the last hour