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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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