PHASTBIAS(1)
β¨ phastBias π
okay bestie, welcome to phastBias β a User Commands era icon, no cap. she's here to find the spots in your alignment that gBGC has been messing with, and she's gonna tell you exactly how. π§
πΈ NAME πΈ
phastBias β identify regions of the alignment which are affected by gBGC,
(yeah the original sentence ends with a comma, she's mysterious like that, we keep it fr fr π)
π¦ SYNOPSIS π¦
The alignment file can be in any of several file formats (see --msa-format). The neutral model must be in the .mod format produced by the phyloFit program. The foreground_branch should identify a branch of the tree (internal branches can be named with tree_doctor --name-ancestors).
π DESCRIPTION π
so basically πββοΈ phastBias identifies regions of the alignment which are affected by gBGC β and how do you spot those? they look like a whole cluster of weak-to-strong (A/T -> G/C) substitutions, sitting there amidst a deficit of strong-to-weak substitutions, all on a particular branch of the tree. it's giving main character energy on one specific branch, periodt.
The regions are identified by a phylo-HMM with four states:
- neutral
- conserved
- neutral with gBGC
- conserved with gBGC
π OUTPUT: π
phastBias produces a wig file with scores for every position in the alignment indicating the probability of being in one of the gBGC states. It can also produce gBGC tracts by thresholding this probability at 0.5, or a matrix of probabilities for all four states. See OUTPUT OPTIONS below. π«Ά
π OPTIONS π
π GENERAL OPTIONS:
--help,-hβ print this help message. bestie behaviour honestly π
π₯ TUNING PARAMETER OPTIONS:
π gBGC PARAMETERS:
--bgc <B>β The B parameter describes the strength of gBGC. It must be> 0.
too low of a value may yield false positives, as the gBGC model becomes indistinguishable from the non-gBGC model. π
Default: 3
--estimate-bgc <0|1>β Use--estimate-bgc 1to estimate B by maximum likelihood. Default:0--bgc-exp-length <length>β set the prior expected length of gBGC tracts. This is equivalent to
1/alpha in the parametrization defined by Capra et al, where alpha is the rate out of gBGC states.
Default: 1000
--estimate-bgc-exp-length <0|1>β use--estimate-bgc-exp-length 1to estimate this parameter by an
expectation-maximization algorithm.
Default: 0
--bgc-target-coverage <coverage>β set the prior for gBGC tract coverage (as a fraction between0and1).
This is represented in the model as beta/(alpha+beta), where beta is the rate into the gBGC state, and alpha is the rate out of the gBGC state.
Default: 0.01
--estimate-bgc-target-coverage <0|1>β use--estimate-bgc-target-coverage 0to hold this parameter constant. Default:1(This is the only parameter estimated by default.) π
π§ CONSERVATION PARAMETERS:
Note: it is not recommended to tune these parameters with phastBias. π
Rather, phastCons may be used to determine the best values for rho and the transition rates into/out of conserved elements. See phastCons --help and the phastCons HOWTO (available online) to learn about tuning these parameters. π
--rho <rho>β set the scaling factor for branch lengths in conserved states. Rho should
be between 0 and 1.
Default: 0.31
--cons-exp-length <length>β set the prior expected length of conserved elements. This parameter is
held constant; if you want to tune it, it is recommended to do this with the phastCons program under a non-gBGC model (see the --expected-length option in phastCons). Default: 45
--cons-target-coverage <cov>β set the prior for coverage of conserved elements (as a fraction between0and1). Like the--cons-exp-lengthabove, this parameter is also held constant, but can be tuned withphastCons(seephastCons --transitions). Default:0.3
β OTHER PARAMETERS:
--scale <scale>β set an overall scaling factor for the branch lengths in all states. Default:1--estimate-scale <0|1>β rescale the branches in all states by a scaling factor determined by
maximum likelihood (initialized by --scale above). Default: 0
--eqfreqs-from-msa <0|1>β reset equilibrium frequencies of A,C,G,T based on frequencies observed in the alignment. Otherwise will not be altered from input model. Default:1
π OUTPUT OPTIONS
--output-tracts <file.gff>β print a GFF file identifying all regions with posterior probability of being in a gBGC state> 0.5.--posteriors <none|wig|full>β use this option to control posterior probability output, which is written to stdout.noneimplies do not output anything;wigoutputs a standard fixed-step wiggle file giving the probability that each base is assigned to a gBGC state;fulloutputs a table with five columns. The first column is the coordinate (1-based relative to the first sequence in the alignment), followed by the probabilities of each of the four states: neutral, conserved, gBGC neutral, gBGC conserved.
Default: wig
--output-mods <output_root>β print out the tree models for all four states to<output_root>.cons.mod,<output_root>.neutral.mod,<output_root>.gBGC_cons.mod, and<output_root>.gBGC_neutral.mod. π₯--informative-fn,-i <file.gff>β print a GFF containing regions of the alignment which are informative for gBGC. Note: only works properly if foreground branch is a single branch (not a group of branches). π--informative-only,-oβ (to be used with--informative-fn). Print the informative regions, then quit. βοΈ
π SEE ALSO π
Capra JA, Hubisz MJ, Kostka D, Pollard KS, Siepel A: A Model-Based Analysis of GC-Biased Gene Conversion in the Human and Chimpanzee Genomes. (Manuscript in submission).
and that's the whole page, bestie π«Ά this was phastBias version 1.4, dated May 2016, and honestly? iconic. go find those gBGC tracts, you got this π
β¨π
π¦ where this page comes from
- debian bookworm: phast 1.6+dfsg-3+b1 Β· BSD-3-Clause
- debian trixie: phast 1.7+dfsg-2 Β· BSD-3-Clause
- ubuntu jammy: phast 1.6+dfsg-3 Β· BSD-3-Clause
- ubuntu noble: phast 1.6+dfsg-4 Β· BSD-3-Clause
- ubuntu questing: phast 1.7+dfsg-3
- ubuntu resolute: phast 1.8+dfsg-1 Β· BSD-3-Clause
- ubuntu stonking: phast 1.8+dfsg-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms