Closed dbssyck closed 4 years ago
Hi dbssyck, can you please post the command you are using to run qpbrute
?
The commands were as follows
cd /path/to/qpbrute python qpbrute.py \ --par admixgraph.par \ -- prefix angsd_2_RMSG \ --pops R M S G \ --out Out \
admixgraph.par
included the input files and parameters similar to the example sim1.par
.
Edit:
I am unsure if the following information is directly relevant to the issue but qpbrute was able to run without the RuntimeError: fatalx: can't find root
problem for this same dataset when I assigned my samples to two populations only. However, with 0 unique graphs.
Are you sure that there is a population labeled Out
in your data?
The error you reported is coming from inside qpGraph
and my best guess is that it's because this population label is missing.
If this is not the case, can you please post the .par
and .ind
files, as well as the full .log
file from qpBrute
?
Yes, the data has an Out
population. I'm not quite sure it's a result of missing label because when I assign my samples to just two populations with the same Outgroups, the program runs (seen in the (no-error).ind
file and accompanying.log
).
Ah, I can see what the problem is now! You have a population called R
which is the name given to the root node in the generated graph files.
I have pushed a small fix which checks for this condition and outputs an error message.
If you rename this population to anything other than 'R' then it should work fine.
It runs well now, thanks so much for the help!
Dear Evan,
I am encountering the following error when attempting to run qpbrute.py on my dataset.
The dataset that I am working on has a total of seven samples - two unambiguous outgroups and five ingroups, each from a separate population. I am assuming that the problem is in finding the root and have attempted including other samples that serve as further outgroups (and consequently making the two unambiguous outgroups part of the ingroups), but the rooting issue still persists.
May I know what a possible cause and solution to this problem could be?
Thank you very much in advance!