marcomilanesi / BITE

BITE: BioInformatics tools for everyone
19 stars 9 forks source link

membercoeff.circos() - error #7

Closed valentinatsarts closed 2 years ago

valentinatsarts commented 2 years ago

Hello!

Could you please give any advice on the following error while using membercoeff.circos function:

"Error in the.start:the.end : NA/NaN argument"

I am using the following code which is working for this function while using a similar dataset with another LD-prun threshold:

membercoeff.circos(in.file = "pruned_0.3", out.file = "test", maxK = 5, pop.order.file = "123.txt", software = "Admixture", K.to.plot = c(2,4))

I've compared the new files wit the previous ones, they do not seem to have any structural difference. I could attach the genotype files and respective Q estimates if necessary.

Many thanks!

Valentina

capemaster commented 2 years ago

Dear Valentina, thank you for using the package. My guess is that the population order file is malformed. Maybe you inserted a line at the eof? Stefano

valentinatsarts commented 2 years ago

Dear Stefano, thank you for your answer, I figured out the error related to individual ID coding, the pop order file was ok. Valentina

capemaster commented 2 years ago

Ok, thank you for the update. I will close the discussion.