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 one {name}.a3m file per query — the combined UniRef + environmental MSA, 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.1.tar.gz (14.1 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.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for msa_nim-0.3.1.tar.gz
Algorithm Hash digest
SHA256 044341ca2d58e87441cb93ef678b9e32bf452ba4cdd394ea3cdd00cc44abd66b
MD5 773e3ebde995a14c8fa4d2b981e73545
BLAKE2b-256 5eebad4b9d649d4952ffae7aea6a27e91ecaf6708329d3adb2081d0ec2d85413

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for msa_nim-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a3a69c367bf517f98aa4cf68c69bd8a03de1d74d6c0e1b75b31179f77f8961a
MD5 2623e8cbc9bf6f84b568a8d5f6ceca41
BLAKE2b-256 a951844923719789399ee921b1190c9e2a89b38df3f9089498a121abdf64cfa9

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