Hi Mark,
> Yes, it does help, of course, thanks. I would like to write up a description for users, so if there was a written description, that would save me some time.
> The format seems straightforward from the model file in -hf, if I assume there is no rule about how many blank spaces separate the values in a line, all the numerical values are float (except line 1), and the order of the node specifiers doesn’t matter. (is that right?). Are there tools that create these files, or are they created by hand?
>
I cannot give reliable info on this topic as I'm not the author of the
original DPPDiv, but having a quick look at the source code I would say
that yes, the first line in the calibration file must be an integer
stating the number of entries, and then the number of spaces between
node (taxa) specifiers (which can be arbitrary many) does not matter.
The other numerical values are floats.
I dont think that tools creating such files actually exist. They must be
created by hand.
> The code seems to accept relaxed phylip format rather than only strict phylip, since introducing white space between the taxa and the characters did not crash the program. (right?)
>
On this I can answer with certainty. We have replaced the parsing
procedure in the original DPPDiv with a faster and stable parsing
routine which accepts relaxed (not strict) phylip formats. The parser
can read both sequential and interleaved phylip, but interleaved is
currently disabled in this release. I will enable interleaved format as
soon as I get some time to update the code.
> -npr: what is the "prompt" for the -npr command ( a few words that describe it)?
> Is there a default selection for -npr, or is it off by default?
> what do cbd and cbd fix stand for?
>
Again, I'm also not familiar with these terms, but by inspecting the
source code I can say that:
-npr defines the speciation model. The default value is 1 (uniform) in
case it's not specified by the user.
> do these commands apply only when a calibration file is uploaded?
> Turn on soft bounds on calibrated nodes (-soft)
> All calibrated nodes are offset exponential (-exhp)
> All calibrated nodes have a DPM hyperprior (-dphp)
> Hyperprior on calibrations from a gamma- (-ghp)
>
From the source code I can see that the variables affected by those
switches are only used if a calibration file is provided. So I suppose
they have no effect if calibration is not used.
> I got seg faults with 4 commands, I am sure I have misconfigured them, perhaps they require a modifier, or have a precondition? I would appreciate any guidance.
> dppdiv-pthreads -in infile.txt -tre tre2.tre -out out -n 10000 -rnp
> dppdiv-pthreads -in infile.txt -tre tre2.tre -out out -n 10000 -bdr
> dppdiv-pthreads -in infile.txt -tre tre2.tre -out out -n 10000 -bda
> dppdiv-pthreads -in infile.txt -tre tre2.tre -out out -n 10000 -hsc
>
>
I will have a look at the code. Would you be able to provide me the
input files you have used?
I hope my answers have helped a bit, but I guess Tracy will give some
better explanation.
Concerning documentation I guess a wiki page could be helpful. I'll ask
Tracy if she can host one.
Cheers,
Tomas