Skip to main content

Program for estimating amino acid replacement rates

Project description

PyPI version Build Status

modelestimator --- Infer sequence evolution rate matrices from a MSA

Example usage

    modelestimator -t 0.001 file1.fa file2.fa file3.fa

Infer a rate matrix (written to stdout) from three alignment files in Fasta format. The output is PAML format by default, and therefore applicable in a number of available phylogenetic softwares.

    modelestimator -b 200 file.fa

Try the experimental bootstrapping feature (200 replicates) on a Fasta multialignment.

Syntax

modelestimator <options> infiles

<format> should be either FASTA, STOCKHOLM or PHYLIP format.

Output is a rate matrix and residue distribution vector.

Options

  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -a {iqtree,matlab,mrbayes,octave,paml,phyml}, --application {iqtree,matlab,mrbayes,octave,paml,phyml}
                        Choose output format to suit the application you want
                        to use for inference. The 'iqtree', 'paml' and 'phyml'
                        options are identical. The 'matlab' and 'octave'
                        optins are for import into MatLab-compatible programs
                        and are presenting the actual Q matrix rather than the
                        R matrix used by PAML/PhyML, etc. Default: paml
  -f {fasta,clustal,nexus,phylip,stockholm}, --format {fasta,clustal,nexus,phylip,stockholm}
                        Specify sequence format of input files. Default: fasta
  -t T, --threshold T   Stop when consecutive iterations do not change by more
                        than T. Default: 0.001
  -b N, --bootstrap N   Estimate the rate matrix using bootstrapping by
                        computing N resampled replicates of the input
                        multialignment. For each replicate, a rate matrix is
                        computed. The mean matrix the elementwise standard
                        deviation is returned. Only one infile should be given
                        in this mode.
  -B N, --bootstrapped_quality N
                        Estimate the quality of the rate matrix estimate using
                        a bootstrap procedure. The multialignment is resampled
                        N times and a Q matrix is computed for each replicate.
                        Then the difference (matrix norm) between rate matrix
                        estimated without resampling and each bootstrapped Q
                        is computed and the mean difference is returned. Only
                        one infile should be given in this mode. Returns
                        bootstrap norm.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modelestimator-v2-2.1.4.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

modelestimator_v2-2.1.4-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

Details for the file modelestimator-v2-2.1.4.tar.gz.

File metadata

  • Download URL: modelestimator-v2-2.1.4.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for modelestimator-v2-2.1.4.tar.gz
Algorithm Hash digest
SHA256 0542014a3b783ebb3d4a3280b8716c5ebd7fa138e3661a809c288a7c98f72682
MD5 f3ca98a8a629ed27b7eb1ecae8fc22ec
BLAKE2b-256 5651b835bb54d9ac7482178a7edd4b8c3571789c78c2d412738403891f1d376a

See more details on using hashes here.

File details

Details for the file modelestimator_v2-2.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for modelestimator_v2-2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 abb17d73afc4462d43ac808ab0efd67d5672f15af155e142182c4ce361b450cd
MD5 71fe575645e6dadda797025837fb8566
BLAKE2b-256 fb4359c957f74b8ca4cbda1bb47513da4cba1c390dbf9fcc492e87c0efda75d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page