about using cn.MOPS in detecting CNV in WES of germline-tumor samples
0
0
Entering edit mode
6.8 years ago
Bogdan ★ 1.4k

Dear all,

Please may I ask for an advice regarding the use of cn.MOPS BioC package (http://bioconductor.org/packages/release/bioc/html/cn.mops.html) on WES data containing TUMOR-GERMLINE paired samples. I wrote the following piece of R code (below) -- please would you let me know if it looks fine, or if it needs any modifications.

segments <- read.table("hg38_refFlat.longest.isoform",sep="\t",as.is=TRUE)

gr <- GRanges(segments[,1],IRanges(segments[,2],segments[,3]))

TUMOR <- "zzz2.bam"

GERMLINE <- "zzz1.bam"

tumor <- getSegmentReadCountsFromBAM(TUMOR, GR=gr, parallel=1)

normal <- getSegmentReadCountsFromBAM(GERMLINE, GR=gr, parallel=1)

X <- tumor

values(X) <- cbind(values(tumor),values(normal))

head(X)

resCNMOPS <- exomecn.mops(X)

resCNMOPS <- calcIntegerCopyNumbers(resCNMOPS)

-- bogdan

cn.MOPS CNV tumor • 1.7k views
ADD COMMENT
0
Entering edit mode
ADD REPLY

Login before adding your answer.

Traffic: 2926 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6