Thank you!!!!!!!!!!!!!!!!!
Anyone have recommendations for making a chart like this for sequence capture?
Picard CollectGcBiasMetrics only works for whole genome analysis.
Picard hsMetrics tends do do funny things with window sizes.
I've had some success with a bedtools & custom scripting but can't reproduce other people's material. I'm close, but I don't know if they are right or if I am right.
Also, anyone got any favorite illumina read simulators that creates reads given a bed file and produces a known gc bias? I'm trying to make control data.

2 answers
Alfred calculates the reference GC, target region GC and sample GC content. Here is an example, just select "DNA-Seq, Exome" from the reference data set collection and then jump to "GC Content". Command should be:
alfred qc -b targets.bed -r genome.fa -o out.stats.tsv.gz -j out.stats.json.gz exome.bam
If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one if they work.

Yeah I'm working on it. I had no idea if the software actually worked when I said thank you. I just finished processing a data-set and it worked.
May be the function letterFrequency in package Biostrings is a good choice for GC content calculating.
gs_seq <- BSgenome::getSeq(Hsapiens, gr) letterFrequency(gs_seq, "GC", as.prob=TRUE)
Log in to answer this question.