Skip to main content

No project description provided

Project description

stem-rate

PyPi


Table of Contents

Installation

To install stem-rate, you can use pip:

pip install stem-rate

Usage

Command Line Interface

You can use stem-rate from the command line to add a fixed local clock stem model to BEAST1 XML files.

Basic usage

stem_rate flc --xml "your_input.xml" --stem "stem_value" --output "your_output.xml"

Arguments and Options

  • --xml, -x: Path to the BEAST XML file.
  • --stem, -s: Group sequences containing this value to define a stem.
  • --fasta, -f (Optional): Sequences to add to XML in FASTA format. Dates must be in decimal year format.
  • --delimiter, -d (Optional): Delimiter for date in FASTA header. Default is |.
  • --position, -p (Optional): Position of date in FASTA header. Default is -1.
  • --output, -o: Path to the output BEAST XML file.
  • --version, -v (Optional): Print the version and exit.

For example, if you want to add sequences from a FASTA file and specify a date delimiter, you can run:

stem_rate flc --xml "your_input.xml" --stem "stem_value" --fasta "your_fasta.fasta" --delimiter "|" --position -1 --output "your_output.xml"

Contributors

License

stem-rate is distributed under the terms of the MIT license.

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

stem_rate-0.0.3.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

stem_rate-0.0.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file stem_rate-0.0.3.tar.gz.

File metadata

  • Download URL: stem_rate-0.0.3.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for stem_rate-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6953aad78e3f7dc9b9b3c1eb39c2c38af56bc81084edca66f04b1690edd42240
MD5 fc4125172ffd31eb6a04af6c6a27dfec
BLAKE2b-256 19421bd81bcdacc8fc801cd41f9518bae2d5cefb2db48f87bae7dac01be021cf

See more details on using hashes here.

File details

Details for the file stem_rate-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: stem_rate-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for stem_rate-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e879d59c9f512e8ae36f2271b4da193227df10351ddf4a49a78d7d048c09d1d3
MD5 b5e044721d9a16610028a4234ccc1f77
BLAKE2b-256 742bdf234ab6a64a8907b7a0d52d68745b19f015e04b856cc3fdad7088aac402

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