PSAURON
PSAURON is a machine learning model for rapid assessment of protein coding gene annotation.
M. J. Sommer, A. V. Zimin, S. L. Salzberg, PSAURON: a tool for assessing protein annotation across a broad range of species. NAR Genom. Bioinform. 7, lqae189 (2025). https://academic.oup.com/nargab/article/7/1/lqae189/7944703
Installation
$ pip install psauron
PSAURON can run on GPU or CPU and depends on PyTorch, which can be annoying 😞
It may help to install PSAURON in a virtual enviromment 🙂
$ python3 -m venv /path/to/new/virtual/environment
$ source /path/to/new/virtual/environment/bin/activate
$ pip install psauron
Quickstart
PSAURON takes as input a single multi-fasta file and outputs a .csv with scores for all reading frames.
By default, PSAURON uses all six frames of the nucleotide coding sequences (CDS).
$ psauron -i path_to_your_CDS.fa -o path_to_output.csv
You may also provide a multi-fasta with protein (amino acid) sequence.
$ psauron -i path_to_your_protein.faa -o path_to_output.csv -p
...or request PSAURON score only the in-frame nucleotide sequence.
$ psauron -i path_to_your_CDS.fa -o path_to_output.csv -s
Note: internal stop codons are ignored by PSAURON. A high PSAURON score does not guarantee a sequence contains a valid ORF. This is intended behavior, as alternate frame scores are used by default to boost the power of the model.
Usage
psauron [-h] -i INPUT_FASTA [-o OUTPUT_PATH] [-m MINIMUM_LENGTH] [-e EXCLUDE] [--inframe INFRAME] [--outframe OUTFRAME] [-c] [-s] [-p] [-v]
optional arguments:
-h, --help show this help message and exit
-i INPUT_FASTA, --input-fasta INPUT_FASTA
REQUIRED path to FASTA with spliced CDS sequence or protein sequence. A spliced CDS fasta can be created from a GTF/GFF and a reference FASTA by using gffread.
-o OUTPUT_PATH, --output-path OUTPUT_PATH
OPTIONAL path to output results file, default=./psauron_score.csv
-m MINIMUM_LENGTH, --minimum-length MINIMUM_LENGTH
OPTIONAL exclude all proteins shorter than m amino acids, default=5
-e EXCLUDE, --exclude EXCLUDE
OPTIONAL exclude any CDS where FASTA description contains given text (case invariant), e.g. "hypothetical", default=None
--inframe INFRAME OPTIONAL probability threshold used to determine final psauron score, in-frame, higher number decreases sensitivity and increases specificity, default=0.5, range=[0,1]
--outframe OUTFRAME OPTIONAL probability threshold used to determine final psauron score, out-of-frame, higher number increases sensitivity and decreases specificity, default=0.5, range=[0,1]
-c, --use-cpu OPTIONAL set -c to force usage of CPU instead of GPU, default=False
-s, --single-frame OPTIONAL set -s to score only the in-frame CDS, which may lower accuracy of the model, default=False
-p, --protein OPTIONAL set -p if your FASTA contains amino acid protein sequence, which may lower accuracy of the model, default=False
-v, --verbose OPTIONAL set -v for verbose output with progress bars etc., default=False
-i INPUT_FASTA, REQUIRED path to FASTA with spliced CDS sequence. This fasta can be created from a GTF/GFF and a reference FASTA by using gffread.
Example gffread commands to get CDS FASTA:
gffread -x CDS_FASTA.fa -g genome.fa input.gff
gffread -x CDS_FASTA.fa -g genome.fa input.gtf
Metadata
Release files for psauron 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| psauron-1.1.3.tar.gz | 752.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psauron-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / psauron-1.1.3.tar.gz
| Download URL | psauron-1.1.3.tar.gz |
|---|---|
| Size | 752.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
accf0ab2e0b5c05be4e6ce09922d505d1251a331f1e3a0196af5c5c56913fc2f
|
|
BLAKE2b-256 checksum How to use checksums |
426a7492f6315029f0162c788849dd780ec619b8f7173273c47746bdb4adb4e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / psauron-1.1.3-py3-none-any.whl
| Download URL | psauron-1.1.3-py3-none-any.whl |
|---|---|
| Size | 749.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e484de77f0fcd37380627b4005013bd01375ca55befdf8b650eeaab31a41d4c
|
|
BLAKE2b-256 checksum How to use checksums |
e01163f0f1a4b4690fa2c27010d9f6635ade0e52745844dd61b0677fd306544c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for psauron 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.