Skip to main content

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

Project description

msa-nim

A3M alignments for AlphaFold — no GPUs, no database downloads

PyPI NVIDIA API


Install

pip install msa-nim

Quick start

# 1. Install
pip install msa-nim

# 2. Put your .fasta files in a folder
cd my_proteins/

# 3. Run — it'll ask for your API key on first use and save it
msa-nim run

# Done. A3M files are in msa_results/

First run prompts for your NVIDIA NIM API key (free) and saves it to .msa-nim.env for future runs. Same MSA engine as ColabFold — just without the 1.4 TB database download.

From a PDB ID

No FASTA file needed:

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

Options

msa-nim run /path/to/fastas       # custom input directory
msa-nim run -o my_output          # custom output directory
msa-nim run --resume               # retry crashed/interrupted run
msa-nim run -j 2                   # parallel jobs (paid API tier only)
msa-nim run --db PDB70_220313      # add structural templates

Note: The free NVIDIA tier rate-limits to ~1 request at a time. Use -j 1 (default) on free tier; -j 2+ only helps on paid plans.

FASTA format

One sequence per > record. Files must end in .fasta, .fa, or .faa:

>my_protein
MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQAPILSRVG...

>another_protein
MVHLTPEEKSAVTALWGKVNVDEVGGEALGRLLVVYPWTQR...

Output

msa_results/ contains {name}_{db}.a3m files — ready for AlphaFold, ColabFold, or OpenFold.

Troubleshooting

Problem Fix
No .fasta files found Use .fasta, .fa, or .faa extensions
422: Database not available Check spelling: Uniref30_2302, colabfold_envdb_202108, PDB70_220313
Interrupted run Re-run with --resume
Rate limiting (429) Free tier is ~1 req/sec; use default -j 1

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.3.0.tar.gz (13.8 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.3.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: msa_nim-0.3.0.tar.gz
  • Upload date:
  • Size: 13.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 0270e6164f6ecc7146eefbe56b1abda0c3e8cabd8f7f0e2a39c3a0cec3c7d3ec
MD5 0163b4a84ee9c7a047d837cdeebd116d
BLAKE2b-256 7d4accfaa2d596e7c411168d7478b12b4227163102561d30bbd5b446e696f9dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msa_nim-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 033bab708d86f29a716e1205ebd014e68090785bcb2d55a8632340bbafd79dda
MD5 7e2cf9d60706f70591098fa7d4146790
BLAKE2b-256 bcc30207b172ce025f522c529d6e098ef8058167ec382e59dd79035cf05a984d

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