| 1 |
.\" Comment: Man page for primeDLRS |
| 2 |
.pc |
| 3 |
.TH primeDLRS 1 "@date_for_man_pages@" "@PROJECT_NAME@ @PACKAGE_VERSION@" |
| 4 |
.SH NAME |
| 5 |
primeDLRS, primeGSRf \- Guest-in-host tree reconciliation tool |
| 6 |
.SH SYNOPSIS |
| 7 |
.B primeDLRS |
| 8 |
[\fIOPTIONS\fR]\fI seqfile hostfile [\fIgsfile\fR]\fR |
| 9 |
.SH DESCRIPTION |
| 10 |
|
| 11 |
Guest-in-host tree reconciliation tool, enabling analysis of e.g. guest tree topologies, reconciliation properties and duplication-loss rates. Based on a Bayesian MCMC framework using the underlying GSR model. The old program name, primeGSRf, is still available as a symlink to primeDLRS. |
| 12 |
|
| 13 |
.\" Comment: If we just want a bullet instead of a number .IP \(bu |
| 14 |
.IP 1) |
| 15 |
the guest tree topology and its divergence times are modelled with a duplication-loss process in accordance with the Gene Evolution Model (GEM). |
| 16 |
.IP 2) |
| 17 |
sequence evolution is modelled with a user-defined substitution model. |
| 18 |
.IP 3) |
| 19 |
sequence evolution rate variation over guest tree edges (relaxed molecular clock) are modelled with iid values from a user-selected distribution. |
| 20 |
.IP 4) |
| 21 |
sequence evolution rate variation over sites (positions) are modelled according to a discretized Gamma distribution. |
| 22 |
|
| 23 |
.PP |
| 24 |
The implementation uses a discretization of the host tree to perform its computations. |
| 25 |
Please review available options, as you will need to change default settings. |
| 26 |
Option \-r may be useful to avoid numeric issues due to scaling. |
| 27 |
|
| 28 |
.I seqfile |
| 29 |
is a file with aligned sequences for guest tree leaves. |
| 30 |
|
| 31 |
.I hostfile |
| 32 |
is a PrIME Newick file with host tree incl. divergence times. Leaves must have time 0 and root have time > 0. |
| 33 |
|
| 34 |
.I gsfile |
| 35 |
is a tab-delimited file relating guest tree leaves to host tree leaves if info not included in |
| 36 |
.I hostfile. |
| 37 |
|
| 38 |
.SH OPTIONS |
| 39 |
.TP |
| 40 |
.BR \-h ", " \-u ", " \-? |
| 41 |
Display help (this text). |
| 42 |
.TP |
| 43 |
.BR \-o " " \fIFILE\fR |
| 44 |
Output filename. Defaults to stderr. |
| 45 |
.TP |
| 46 |
.BR \-s " " \fIUNSIGNED_INT\fR |
| 47 |
Seed for pseudo-random number generator. Defaults to random seed. |
| 48 |
.TP |
| 49 |
.BR \-i " " \fIUNSIGNED_INT\fR |
| 50 |
Number of iterations. Defaults to @conf_value_from_cmake_Iterations@. |
| 51 |
.TP |
| 52 |
.BR \-t " " \fIUNSIGNED_INT\fR |
| 53 |
Thinning, i.e. sample every <value>-th iteration. Defaults to @conf_value_from_cmake_Thinning@. |
| 54 |
.TP |
| 55 |
.BR \-w " " \fIUNSIGNED_INT\fR |
| 56 |
Output diagnostics to stderr every <value>-th sample. Defaults to @conf_value_from_cmake_PrintFactor@. |
| 57 |
.TP |
| 58 |
.BR \-q |
| 59 |
Do not output diagnostics. Non-quiet by default. |
| 60 |
.TP |
| 61 |
.BR \-m " " \fRMCMC|PDHC|PD |
| 62 |
Execution type (MCMC, posterior density hill-climbing from initial values, or just initial posterior density). Defaults to @conf_value_from_cmake_RunType@. |
| 63 |
.TP |
| 64 |
.BR \-Sm " " \fRUniformAA|JC69|F81|JTT|UniformCodon|ArveCodon |
| 65 |
Substitution model. @conf_value_from_cmake_SubstModel@ by default. |
| 66 |
.TP |
| 67 |
.BR \-Su " " \fRDNA|AminoAcid|Codon " <Pi=float1 float2 ... floatn> <R=float1 float2 ...float(n*(n-1)/2)>" |
| 68 |
User-defined substitution model. The size of Pi and R must fit data type (DNA: n=4, AminoAcid: n=20, Codon: n=62). R is given as a flattened upper triangular matrix. Don't use both option \-Su and \-Sm. |
| 69 |
.TP |
| 70 |
.BR \-Sn " " \fIUNSIGNED_INT\fR |
| 71 |
Number of steps of discretized Gamma-distribution for sequence evolution rate variation over sites. Defaults to @conf_value_from_cmake_SiteRateCats@ (no variation). |
| 72 |
.TP |
| 73 |
.BR \-Ed " " \fRGamma|InvG|LogN|Uniform |
| 74 |
Distribution for iid sequence evolution rate variation over guest tree edges. Defaults to @conf_value_from_cmake_EdgeRateDistr@ (not to confuse with \-Sn). |
| 75 |
.TP |
| 76 |
.BR \-Ep " " \fIFLOAT\fR " " \fIFLOAT\fR |
| 77 |
Initial mean and variance of sequence evolution rate. Defaults to simple rule-of-thumb based on host tree times. |
| 78 |
.TP |
| 79 |
.BR \-Ef |
| 80 |
Fix mean and variance of sequence evolution rate. Non-fixed by default. |
| 81 |
.TP |
| 82 |
.BR \-Gi " " \fIFILE\fR |
| 83 |
Filename with initial guest tree topology. |
| 84 |
.TP |
| 85 |
.BR \-Gg |
| 86 |
Fix initial guest tree topology, i.e. perform no branch-swapping. Non-fixed by default. |
| 87 |
.TP |
| 88 |
.BR \-Gl |
| 89 |
Fix initial guest tree edge lengths (in addition to topology), i.e. fix the edge lengths. Non-fixed by default. |
| 90 |
.TP |
| 91 |
.BR \-Bp " " \fIFLOAT\fR " " \fIFLOAT\fR |
| 92 |
Initial duplication and loss rates. Defaults to @conf_value_from_cmake_BDRates_first@ and @conf_value_from_cmake_BDRates_second@. |
| 93 |
.TP |
| 94 |
.BR \-Bf |
| 95 |
Fix initial duplication and loss rates. Non-fixed by default. |
| 96 |
.TP |
| 97 |
.BR \-Bt " " \fIFLOAT\fR |
| 98 |
Override time span of edge above root in host tree. If the value is <=0, the span will be set to equal the root-to-leaf time. Defaults to value in host tree file. See also option \-Dtt. |
| 99 |
.TP |
| 100 |
.BR \-Dt " " \fIFLOAT\fR |
| 101 |
Approximate discretization timestep. Set to 0 to divide every edge in equally many parts (see \-Di). Defaults to @conf_value_from_cmake_DiscTimestep@. See \-Dtt for edge above root. |
| 102 |
.TP |
| 103 |
.BR \-Di " " \fIUNSIGNED_INT\fR |
| 104 |
Minimum number of parts to slice each edge in. If \-Dt is set to 0, this becomes the exact number of parts. Minimum 2. Defaults to @conf_value_from_cmake_DiscMinIvs@. See \-Dtt for edge above root. |
| 105 |
.TP |
| 106 |
.BR \-Dtt " " \fIUNSIGNED_INT\fR |
| 107 |
Override number of discretization points for edge above root in host tree. By default, irrespective of time span, this is set to the number of points for a (hypothetical) root-to-leaf edge |
| 108 |
.TP |
| 109 |
.BR \-r |
| 110 |
Rescale the host tree so that the root-to-leaf time equals 1.0. All inferred parameters will refer to the new scale. Off by default. Note that discretization parameters are NOT rescaled. |
| 111 |
.TP |
| 112 |
.BR \-Z |
| 113 |
Do not print elapsed wall time and CPU time |
| 114 |
.TP |
| 115 |
.BR \-W |
| 116 |
Do not print the command line |
| 117 |
.TP |
| 118 |
.BR \-debuginfo |
| 119 |
Show misc. info to stderr before iterating. Not shown by default. |
| 120 |
|
| 121 |
.SH "EXIT STATUS" |
| 122 |
.TP |
| 123 |
.B 0 |
| 124 |
Successful program execution. |
| 125 |
.TP |
| 126 |
.B 1 |
| 127 |
Some error occurred |
| 128 |
|
| 129 |
.SH URL |
| 130 |
.TP |
| 131 |
The prime\-phylo home page: http://prime.sbc.su.se |
| 132 |
|
| 133 |
.SH "SEE ALSO" |
| 134 |
.BR primeDTLSR (1), |
| 135 |
.BR primeGEM (1), |
| 136 |
.BR showtree (1), |
| 137 |
.BR chainsaw (1), |
| 138 |
.BR reconcile (1), |
| 139 |
.BR reroot (1), |
| 140 |
.BR tree2leafnames (1), |
| 141 |
.BR treesize (1) |
| 142 |
|