Non-allowable allele encodings in DH marker set

I have tried to use asmap package it for a RIL population of wheat (no heterozygous alleles) to construct the map. I have an error “Error in mstmap.data.frame(rils, pop.type = "ARIL", dist.fun = "kosambi", :
Non-allowable allele encodings in DH marker set”
My script is as below

MSTMC <- mstmap.data.frame(rils, pop.type = "ARIL", dist.fun = "kosambi", objective.fun = "COUNT", p.value = asmpvalue, noMap.dist = 15, noMap.size = 0, miss.thresh = 10, mvest.bc = TRUE , trace = FALSE , as.cross = FALSE)
Thanks

Hi, welcome!

We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

The error message also notes

Non-allowable allele encodings in DH marker set”

Which seems to be hinting at a likely source of the problem.

Thanks for your reply. actually I am trying to construct the genetic map with a set of SNP markers and I use the ASMap package and adapting their package to my data the data loading was fine and my script from beginning is as below

library(ASMap)
> poptype='RIL5'
> ASMpvalue=1e-6
> mstMC <- mstmap.data.frame(data, pop.type = poptype, dist.fun = "kosambi",objective.fun = "COUNT", p.value = ASMpvalue, noMap.dist = 30, noMap.size = 2,miss.thresh = 10, mvest.bc = FALSE, traces=TRUE,as.cross=TRUE)
Error in mstmap.data.frame(data, pop.type = poptype, dist.fun = "kosambi",  : 
  Non-allowable allele encodings in RIL marker set

The few columns of data is as below

Marker 101A 101B 101C 101D 101E 101F 101G 101H 102A 102B 102C 102D 102E 102F 102G 102H 103A 103B 103C 103D 103E 103F 103G 103H 104A 104B 104C 104D 104E 104F 104G 104H 105A 105C 105D 105E 105F 105G 105H 106A 106B 106C 106D 106E 106F 106G 106H 107A 107B 107C 107D 107E 107F 107H 108A 108B 108C 108E 108F 108G 108H 109A 109B 109C 109D 109E 109F 109G 109H 110A 110B 110C 110D 110E 110F 110G 110H 111A 111B 111D 111E 111F 111G 112A 112B 112D 112E 112F 112G 112H 113A 113B 113C 113D 113E 113H 114A 114B 114C 114E 114F 114G 114H 115A 115B 115C 115D 115E 115F 115G 115H 116A 116B 116C 116D 116F 116G 116H 117A 117B 117C 117D 117E 117F 117G 117H 118A 118B 118C 118D 118F 118G 118H 119A 119B 119C 119D 119E 119F 119G 119H 120A 120C 120D 120E 120F 120G 120H 121B 121C 121D 121E 121F 121G 122B 122C 122D 122E 122F 122G 122H 123A 123B 123C 123D 123E 123G 123H 124A 124B 124C 124D 124E 124F 124G 124H
BS00023201_51 A A B A B B B B A A B B B B A B B B A A B A B A A B A A A B B A na B A A B A A B B A B A A B A A A na A A A B B B A A A A B A A A A A A A A A B A B B na B A B A B B B A B A A B A B B B A B B B A A B B A B A B B A A B A A B A B A B B B B A A B A A A B B A B A A A B A B A A B B A A B B A A B B B A A A A B B A A A A B B B B A B B A B A A B B A B A B A A B
AX-110068701 A A B A B B B B A A B B B B A B B B A A B A B A A B A A A B B A A B A A B A A B B A B A B B A A A na A A A B B B A A A A B A A A A A A A A A B A B B na B A B A B B B A B A A B A B B B A B B B A A B B A B A B B A A B A A B A B A B B B B A A B A A A B B A B A A A B A B A A B B A A B B A A B B B A A A A B B A A A A B B B B A B B A B A A B B A B A B A A B
wsnp_Ex_rep_c106111_90308719 A A B A B B B B A A B B B B A B B B A A B A B A A B A A A B B A A B A A B A A B B A B A B B A A A B A A A B B B A A A A B A A A A A A A A A B A B B B B A B A B B B A B A A B A B B B A B B B A A B B A B A B B A A B A A B A B A B B B B A A B A A A B B A B A A A B A B A A B B A A B B A A B B B A A A A B B A A A A B B B B A B B A B A A B B A B A B A A B
RFL_Contig1027_442 A A B A B B B B A A B B B B A B B B A A B A B A A B A A A B B A na B A A B A A B B A B A B B A A A na A A A B B B A A A A B A A A A A A A A A B A B B na B A B A B B B A B A A B A B B B A B B B A A B B A B A B B A A B A A B A B A B B B B A A B A A A B B A B A A A B A B A A B B A A B B A A B B B A A A A B B A A A A B B B B A B B A B A A B B A B A B A A B
Excalibur_c5139_198 A A B A B B B B A A B B B B A B B B A A B A B A A B A A A B B A A B A A B A A B B A B A A B A A A na A A A B B B A A A A B A A A A A A A A A B A B B na B A B A B B B A B A A B A B B B A B B B A A B B A B A B B A A B A A B A B A B B B B A A B A A A B B A B A A A B A B A A B B A A B B A A B B B A A A A B B A A A A B B B B A B B A B A A B B A B A B A A B
BobWhite_c39996_85 A A B A B B B B A A B B B B A B B B A A B A B A A B A A A B B A na B A A B A A B B A B A A B A A A na A A A B B B A A A A B na A A na A A A A na B A B B na B A B A B B B A B na A B A B B B A B B B A A B B A B A B B A na B A A B A B A B B B B A A B A na A B B A B A A A B A B A A B B A A B B A A B B B A A na A B B A A A na B B B B A B B na B A A B B A B A B A A B
Tdurum_contig43943_1165 A A B A B B B B A A B B B A A na B B A A B A B A B B A A A B B A na B A A B A A B na A B A A B A A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A B A B B A A B A A B B A B B A B B A A A B B A B A B B A A B A A B A B A B B B B A A B A A A B B A B A A A B A B A A B B A A B na A A B B B A A A A B B A A A A B na na B A B B A B A A B B A A A B A A B
Tdurum_contig43943_56 A A B A B B B B A A B B B A A B B B A A B A B A B B A A A B B A A B A A B A A B B A B A A B A A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A B A B B A A B A A B B A B B A B B A A A B B A B A B B A A B A A B A B A B B B B A A B A A A B B A B A A A B A B A A B B A A B B A A B B B A A A A B B A A A A B B B B A B B A B A A B B A A A B A A B
AX-158560691 A A B A B B B B A A B B B A A B B B A A B A B A B B A A A B B A A B A A B A A B B A B A A B A A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A B A B B A A B A A A B A B A A B B A A A B B A B A B B A A B A A B A B A B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A B A A B B A A A B A A B
AX-94844830 A A A A B A A A B A A B A B B A A B B B A A B A A B A A A A B B na A B B A A B B A A B B B B A B A B B B B B B B A B B B B B A A A A B B A A B B A A B B B A A B A A A A B B B B A A B A B A B B B A A B B B A B B A A A B B A B B A A B A B A A B A B B A A A A A B A B A A B B A B A B B A A A B B B A A B A B B B A B B B B A B B A B B A B B A A A B B B A B
TA005766-0499 A A A A B A A A B A A B A B B A A B B B A A B A A B A A A A B B A A B B A A B B A A B B B B A B A B B B B B B B A B B B B B A A A A B B A A B B A A na B B A A B A A A A B B B B A A B A B A B B B A A B B B A B B A A A B B A B B A A B A B A A B A B B A A A A A B A B A A B B A B A B B A A A B B B A A B A B B B A B B B B A B B A B B A B B A A A B B B A B
AX-158536828 A A B A B B B B A A B B B A A B B na A A B A B A B B A A A B B A na B A A B A A B B A B A A A A A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A B A B B A A B A A A B A B A A B B A A A B B A B A B B A A B A A B A B A B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A B A A B B A A A B A A B
AX-110368802 A A B A A B B B A A B B B A A B B B A A B A B A B B A A A B B A A B A A B A A B B A B A A A A A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A A A B B A A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B A B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A B A A B B A A A B A A B
Tdurum_contig42479_3800 A A B A A B B B A A B A B A A na B na A B B A B A B na A A A B B A A B A A B A A B na A na A B A B A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A A A B B A A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B na B B B A A B A A A B A A B A A A B A B A A na B A A B na A A B B B A A A A B B A B A A B B B B A B B A B A A B B A A A A A A B
AX-158537535 A A B A A B B B A A B A B A A B B na A B B A B A B B A A A B B A A B A A B A A B B A B A B A B A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A A A B B A A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A B A A B B A A A A A A B
Ku_c4823_673 A A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A na B A A B A A B B A B A A A B A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A A A B B A A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A B A A B B A A A A A A B
wsnp_Ex_c1137_2182795 A A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A A B A A B A A B B A B A A A B A A A A A A B B B A A A A B A A A A A A A B A B A B B na B A A A B B A A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A B A A B B A A A A A A B
AX-158544779 A A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A A B A A B A A B B A B A A A B A A A A A A B B A A A A A B A A A A A A A B A B A B B na B A A A B B B A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A A A A B B A A A A A A B
Tdurum_contig83113_134 A A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A A B A A B A A B B A B A A A B A A A A A A B B A A A A A B A A A A A A A B A B A B B na B A A A B B B A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A A A A B B B A A A A A B
Tdurum_contig50845_82 A A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A A B A A B A A B B A B A A A B A A A A A A B B A A A A A B A A A A A A A B na B A B B na B A A A B B B A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A A A B A A na A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A A A A B B B A A A A A B
AX-94742021 A A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A A na A A B A A B B A B A A A B A A A A A A B B A A A A A B A A A A A A A B A B A B B na B A A A B B B A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A A A A B B B A A A A A B
Tdurum_contig61492_684 na A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A na B A A B A A B B A B A A A B A A A A A A B B A A A A A B A A A A A A A B A B A B B na B A A A B B B A A A A A B A B A A B B A A A B B A B A B B A na B A A B A B B B B B B A A B A na A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A A A A B B B A A A A A B
AX-110956659 A A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A na B A A B A A B B A B A A A B A A A A A A B B A A A A A B na A A na A A A B A B A B B na B A A A B B B A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A na A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A na B B B B A B B A A A A B B B A A A A A B
AX-94952968 A A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A na B A A B A A B B A B A A A B A A A A A A B B A A A A A B A A A A A A A B A B A B B na B A A A B B B A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A A A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A A A A B B B A A A A A B
BS00003761_51 na A B A A B B B A A B A B A A B B B A B B A B A B B A A A B B A A B A A B A A B B A B A A A B A A A A A A B B A A A A A B na A A A A A A B A B A B B na B A A A B B B A A A A A B A B A A B B A A A B B A B A B B A A B A A B A B B B B B B A A B A na A B A A B A A A B A B A A B B A A B B A A B B B A A A A B B A B A A B B B B A B B A A A A B B B A A A A A B

If you need any more clarifications please let me know
Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.