Hello!
Many than for great package!
I wanted to ask how can extract vcf with info score from hla prediction output?
cl <- makeCluster(20)
set.seed(1000)
parseCommandArgs(evaluate=TRUE)
model.obj <- get(load(file1))
model <- hlaModelFromObj(model.obj)
summary(model)
p1=plot(model)
yourgeno <- hlaBED2Geno(bed.fn=bed.file, fam.fn=fam.file, bim.fn=bim.file)
summary(yourgeno)
pred.guess <- hlaPredict(model, yourgeno, match.type="Position")
summary(pred.guess)
hlaAlleleToVCF(hlaAlleleSubset(pred.guess, 1:4),DS=TRUE, verbose=TRUE, outfn=vcf.out)
save(pred.guess, p1, file=file2)
After I execute this script I get a vcf fle with dosages but no infor score.
Many thanks!
Hello!
Many than for great package!
I wanted to ask how can extract vcf with info score from hla prediction output?
cl <- makeCluster(20)
set.seed(1000)
parseCommandArgs(evaluate=TRUE)
model.obj <- get(load(file1))
model <- hlaModelFromObj(model.obj)
summary(model)
p1=plot(model)
yourgeno <- hlaBED2Geno(bed.fn=bed.file, fam.fn=fam.file, bim.fn=bim.file)
summary(yourgeno)
pred.guess <- hlaPredict(model, yourgeno, match.type="Position")
summary(pred.guess)
hlaAlleleToVCF(hlaAlleleSubset(pred.guess, 1:4),DS=TRUE, verbose=TRUE, outfn=vcf.out)
save(pred.guess, p1, file=file2)
After I execute this script I get a vcf fle with dosages but no infor score.
Many thanks!