Skip to main content

CLI tool to generate A3M MSA alignments via NVIDIA NIM MSA-Search

Project description

msa-nim

Generate A3M alignments for AlphaFold — no GPUs, no database downloads

PyPI NVIDIA API


Install

pip install msa-nim

Get an API key

Grab a free key from NVIDIA, then:

export NIM_API_KEY="nvapi-..."

Or save it permanently:

msa-nim init   # creates .msa-nim.env — paste your key there

Usage

From a FASTA file

msa-nim run

Finds all .fasta / .fa / .faa files in the current directory and outputs .a3m files to msa_results/.

>my_protein
MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQAPILSRVGDGTQDNLSGAEK...

Multiple > records in one file each get their own MSA.

From a PDB ID

msa-nim pdb 7DKF              # all chains
msa-nim pdb 7DKF --chain A    # specific chain
msa-nim pdb 7DKF 6HBB 1ABC    # multiple IDs

Common options

msa-nim run /path/to/fastas       # custom input directory
msa-nim run -o my_output          # custom output directory
msa-nim run --resume               # skip already-completed sequences
msa-nim run --db Uniref30_2302 --db PDB70_220313   # override databases

Databases

Defaults match ColabFold (UniRef30 + ColabFold env DB). Add PDB70_220313 with --db for structural templates.

Database Name Purpose
UniRef30 Uniref30_2302 MSA profile (default)
ColabFoldDB colabfold_envdb_202108 Metagenomic search (default)
PDB70 PDB70_220313 Structural templates (opt-in)

Troubleshooting

Problem Fix
NIM_API_KEY is required Set the env var or run msa-nim init
No .fasta files found Use .fasta, .fa, or .faa extensions
422: Database not available Check spelling/casing (see table above)
Interrupted run Re-run with --resume

License

MIT — see LICENSE.

Acknowledgements

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

msa_nim-0.2.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msa_nim-0.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file msa_nim-0.2.0.tar.gz.

File metadata

  • Download URL: msa_nim-0.2.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for msa_nim-0.2.0.tar.gz
Algorithm Hash digest
SHA256 db2f94db882c9093e1085907a38bac00d714cf392e799cd7c9601ab5294ddb2e
MD5 67365c5c0c4c7c31916595a85a9cd507
BLAKE2b-256 b21b628980239675ebdb3467ae16d89290ccb290f6a20e4c579f18fd47acb593

See more details on using hashes here.

File details

Details for the file msa_nim-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: msa_nim-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for msa_nim-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a570cc14f875a3e827338dbc7aef448939988307166bbdfbba4e8bd25dc45f68
MD5 af3395b5c11e51b022c53b68b5de8be2
BLAKE2b-256 4ac1117f1a3df6092bd0f14f7900e36780a84947bd389ce3be8c554ca2bd96b0

See more details on using hashes here.

Supported by

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