-
Notifications
You must be signed in to change notification settings - Fork 21
negative T cell fration? #17
Description
Hi, thanks for this excellent tool. I tried to use TcellExTRECT to analyze my WES data. The capture kit I used is IDT version2, not Agilent, so I used TCRA_exons_hg19_custom <- createExonDFBed(PATH_TO_IDT, 'hg19') to create capture kit data frame. However, the final results showed negative T cell fration for normal(blood was used as normal pair in my WES analysis) paired sample bam file.
library(TcellExTRECT)
data("tcra_seg_hg19")
bed.file <- "/home/ug0416/mydata/genome/hg19/hg19_bed/IDTV2.raw.bed"
TCRA_exons_hg19_IDT <- createExonDFBed(bed.file, 'hg19')
mydata <- "~/mydata/05.gatk/a.BQSR/2nd_BQSR/SCA_111_N.sorted.markdup.recal.bam"
cov.file <- getCovFromBam(bamPath = mydata,outPath = '',vdj.seg = tcra_seg_hg19)
cov_df <- loadCov(cov.file)
TCRA.out <- runTcellExTRECT(cov_df, TCRA_exons_hg19_IDT, tcra_seg_hg19, 'hg19')
TCRA.out
sample TCRA.tcell.fraction TCRA.tcell.fraction.lwr TCRA.tcell.fraction.upr qcFit
1 test -1.085798e-13 -86.77173 0.9886068 2.330639
Hope your response! Appreciate!