Closed k-sanchez closed 4 years ago
First of all, congratulations on being really good at making issues! You'd be surprised how many people are incapable of including the right details to solve the problem, but you got it all here, so good job.
The problem is here:
b = ipa.bpp(name='clust90_min12_9183og_25',
locifile=input_loci, <------
imap=imap,
minmap=None,
guidetree=newick,
)
The argument format in the analysis tools changed in the 0.9 branch and we didn't update the docs for this function. The problem is analysis tools need to be passed a data
argument, which for bpp replaced the locifile
argument. If you change locifile
in the above command to data
it'll work. I updated the docs and fixed the bpp.py to be more explicit about asking for data
.
Thanks a lot Isaac! that was the solution!
Cheers
Hi! I'm trying to replicate the analysis of 'Eaton & Ree (2013) single-end RAD data set', specifically species delimitation with BPP with my own data, the problem appears when I try to initiate a bpp object (runnnig in a jupyter notebook), here is the code and the error:
It appears that the problem is with the newick guide tree. Any help would be welcome! Thanks!!