Comments (2)
The copy numbers are relative to the specified ploidy (default 2) -- they are still log2 ratios with the same interpretation as the segmentation output (.cns). This is so that you can plot the .absoluteCN.cns file with the scatter
/heatmap
/diagram
commands the same way you would with the original .cns file. The call
command just rounds the segment means to what they would be if the true copy number were an integer.
To get the absolute integers in a human-readable form, try:
cnvkit.py export bed sampleName.absoluteCN.cns --show-neutral
The thresholds work like this (see cnvlib.call.absolute_threshold ):
if log2 <= -4.3: CN=0
if log2 <= -1: CN=1
if log2 <= 0: CN=2
if log2 <= 0.6: CN=3
...
So the germline thresholds, rounding to the nearest log2(integer), could be calculated like:
> log2( (0:4 + .5 ) / 2)
[1] -2.0000000 -0.4150375 0.3219281 0.8073549 1.1699250
Sorry for the confusion. I'll update the docs.
from cnvkit.
Thank you very much! It is clear now.
Javier
from cnvkit.
Related Issues (20)
- What are the specific steps to run for cnvkit.py batch -m wgs?
- How to normalise different sequencing coverage samples in CNVKit?
- For paired-WGS, is it necessary step of markduplicates by PICARD? HOT 1
- `import-rna` not compatible with pandas 2 HOT 1
- Can the results of CNVKIT be applied to clinical clinical?
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte` HOT 1
- negative number in cn column of *call.cns
- Installation from VCS via pip fails during pomegranate installation
- the false negative of segment HOT 2
- Question: Clarification on building a reference HOT 3
- "Genemetrics" combination algorithm seems to include an additional antitarget bin
- Calculating non-integer copy number variations
- A question about purity assumption in the Docs
- Docker image of cnvkit does not contain additional scripts HOT 3
- We could not set the gender of the sample correctly in reference.py HOT 2
- Why adding a pseudocount of flat reference to the aggregated reference?
- sex inference and X chromosome copy number
- CNVkit for RNA-seq: log2 in *.cnr file is all zero
- Error Installing CNVKit via Miniconda HOT 1
- Can I use cnvkit software to evaluate the copy number of genes ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnvkit.