Code Monkey home page Code Monkey logo

Comments (3)

etal avatar etal commented on August 13, 2024

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.

FriederikeHanssen avatar FriederikeHanssen commented on August 13, 2024

Awesome, thank you so much for the detailed answer πŸ™ πŸ˜ƒ

from cnvkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.