Comments (3)
For WGS on the post-BQSR BAM where all reads in difficult/repetitive regions have been removed, you may need to run in "amplicon" mode with the accessible regions as your "targets" in order to force CNVkit to skip those regions. Otherwise, I think "wgs" mode ignores sequencing accessibility since that was originally intended to be a filter on off-target regions that were not considered in the capture design. Or, you can run it on the pre-BQSR BAM in "wgs"; the main difference is the default bin size.
For WES or panel, yes, you can run batch
with the capture targets BED as input and it will figure out appropriate bin sizes and sequencing accessibility. I recommend using the pre-BQSR BAM as input for these samples because CNVkit uses the copy number signal from off-target reads, and handles "difficult" genomic regions in its own way. If your pipeline has already filtered out all reads in the the off-target and difficult regions, then these post-BQSR BAMs would be better analyzed in amplicon
mode with the intersection of capture targets and accessible regions as the input -- i.e. all the locations where there are still reads remaining after the filter.
You don't strictly need to use --male-reference
(a.k.a. haploid X reference) to analyze male samples. The calls and exported VCF will work the same either way (assuming the option is used consistently throughout the pipeline); the main difference is that the plots will show haploid X as neutral copy number, e.g. scatter
will plot a single copy of X with a log2 value of 0.0 instead of -1.0. It's kind of a legacy feature.
from cnvkit.
Awesome, thank you so much for the detailed answer π π
from cnvkit.
Related Issues (20)
- `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
- "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 οΌ
- TypeError and AttributeError when running 'cnvkit.py target baits.bed --annotate refFlat.txt --split -o targets.bed'
- question about the segment threshold
- cnvkit for multiple wgs cohort
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.