Skip to main content

autoMLST.CLI

A command-line interface based program that allows quickly batched requests for obtaining MLST profiles on multiple FASTA sequences and exporting it as a convenient CSV.

This program is simply a command-line interface for autoMLST.Engine.

Features

This CLI is capable of exactly what autoMLST.Engine is capable of:

  • Import multiple FASTA files
  • Fetch the available BIGSdb databases that is currently live and available
  • Fetch the available BIGSdb database schemas for a given MLST database
  • Retrieve exact/non-exact MLST allele variant IDs based off a sequence
  • Retrieve MLST sequence type IDs based off a sequence
  • Output all results to a single CSV

Usage

This CLI can be installed with pip. Please ensure pip is installed. Then:

  1. Run pip install automlst-cli to install the latest version of the CLI for autoMLST.

  2. Once installation is complete, run automlst --version to test that the installation succeeded (and that you are running the appropriate version).

  3. Run automlst -h to get information on how to get started.

Example

Let's say you have a fasta called seq.fasta which contains several sequences. You know all sequences in seq.fasta are Bordetella pertussis sequences, and you know you have the sequences for the necessary targets of your schema in each of them. You want to retrieve MLST profiles for all of them. This can be done by:

  1. Running automlst info -l to list all available seqdef databases and find the database associated with Bordetella (you should see one called pubmlst_bordetella_seqdef).

  2. Then, run automlst info -lschema pubmlst_bordetella_seqdef to get the available typing schemas and their associated IDs. In this example, let's assume we want a normal MLST scheme. In this case, we would pay attention to the number next to MLST (it should be 3).

  3. Then, run automlst st -h and familiarize yourself with the parameters needed for sequence typing.

  4. Namely, you should find that you will need to run automlst st seq.fasta pubmlst_bordetella_seqdef 3 output.csv. You can optionally include multiple FASTA files, and/or --exact to only retrieve exact sequence types, and/or --stop-on-fail to stop typing if one of your sequences fail to retrieve any type.

  5. Sit tight, and wait. The output.csv will contain your results once completed.

Metadata

Release files for automlst.cli 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for automlst.cli 0.2.0
File Size Uploaded
automlst_cli-0.2.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for automlst.cli 0.2.0
File Interpreter ABI Platform
automlst.cli-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / automlst_cli-0.2.0.tar.gz

Download URL automlst_cli-0.2.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f18bbe0eeb867a3d42e0c725255cf6a4815c9e30b004e5fa33c5d4cc119fc1f7
BLAKE2b-256 checksum
How to use checksums
fec2d605d2344f1f35c95a8b8008373c8a8e3ed253788c578e94fa10fb6b181f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / automlst.cli-0.2.0-py3-none-any.whl

Download URL automlst.cli-0.2.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d48d7f1f03be0da0b4d1b0948be3a23a327999039ecda39c7a5cf7dc9e78a30
BLAKE2b-256 checksum
How to use checksums
23d7cb9b038568a73e70a37cfc080e4eefabd827b68e17dbfab957e81a48b5b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page