raerose01 / deconstructSigs

deconstructSigs
138 stars 47 forks source link

Error With bwakit Alignments #61

Open DarioS opened 4 years ago

DarioS commented 4 years ago

We used bwakit which does alignment to hg38 with alternative contigs and the HLA alleles. mut.to.sigs.output has an error if the VCF file has variants on such contigs.

mutationMatrix <- mut.to.sigs.input(allMutations, bsg = Hsapiens)
Error in .getOneSeqFromBSgenomeMultipleSequences(x, names[i], start[i],  : 
  sequence HLA-A*01:01:01:02N not found

It should not fail in this case.