I am trying to train HIBAG models for loci other than HLA. Training the models in parallel causes the following error:
> hlaAllele(true_kir_types_train$sample.id, H1=true_kir_types_train$allele1, H2=true_kir_types_train$allele2, locus="any")
....
....
....
> hlaParallelAttrBagging(cl, train.allele, traingeno, nclassifier=10, auto.save="output.RData")
Calculating matching proportion:
Error in hlaCombineAllele(res, rv[[i]]) :
H1$pos.start == H2$pos.start is not TRUE
However, if I change the locus parameter in hlaAllele to some HLA gene, no error is thrown:
> hlaAllele(true_kir_types_train$sample.id, H1=true_kir_types_train$allele1, H2=true_kir_types_train$allele2, locus="A")
I am trying to train HIBAG models for loci other than HLA. Training the models in parallel causes the following error:
However, if I change the
locusparameter inhlaAlleleto some HLA gene, no error is thrown: