Skip to content

Training in parallel causes error for loci "other" than HLA #13

Description

@shubhamsaini

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")

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions