Upload Genome
upload_genomeParse raw DNA data from 23andMe or Genera files to enable pharmacogenomic analysis. Accepts local file paths or direct download URLs.
Instructions
Parse raw DNA data. Supports: 23andMe (.txt), Genera (.csv). CRITICAL: Genome files are 15-25MB (600k+ lines). NEVER read, inline, or chunk genome file contents — this WILL exceed your context window and crash the session. For REMOTE server (mcp.openpgx.ai): use get_upload_command to get a curl/python command, execute it in your code execution sandbox (or tell the user to run it in their terminal), then call load_profile with the returned code. For LOCAL server (stdio/npx): use file_path only. The url parameter is for direct download links (Google Drive, Dropbox, S3).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Local file path (stdio mode ONLY — remote server cannot access local files) | |
| url | No | Direct download URL to the raw data file |