bio-blat
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBLAT API Searching
本地BLAT序列比对
Quick start
快速开始
Run BLAT locally via the Python CLI script. The script manages reference downloads.
通过Python CLI脚本在本地运行BLAT,该脚本会管理参考序列的下载。
Utility script
实用脚本
Install dependencies:
bash
uv pip install typerRun BLAT with a FASTA file:
bash
python scripts/run_blat_local.py run --reference hg38 --fasta path/to/query.fastaRun BLAT with a raw sequence:
bash
python scripts/run_blat_local.py run --reference CHM13 --sequence ACTG...Save JSON output to a file:
bash
python scripts/run_blat_local.py run --reference hg38 --sequence ACTG... --output blat.json安装依赖:
bash
uv pip install typer使用FASTA文件运行BLAT:
bash
python scripts/run_blat_local.py run --reference hg38 --fasta path/to/query.fasta使用原始序列运行BLAT:
bash
python scripts/run_blat_local.py run --reference CHM13 --sequence ACTG...将JSON输出保存到文件:
bash
python scripts/run_blat_local.py run --reference hg38 --sequence ACTG... --output blat.jsonWhen to read references
参考文档阅读指引
- Local BLAT setup and references: See
references/local_blat.md
- 本地BLAT配置与参考序列:请查看
references/local_blat.md
Workflow (local-only)
本地工作流程
- Confirm the reference assembly (or
hg38).CHM13 - Ensure the 2bit reference exists in .
~/.local/share/blat - Use the CLI script to run BLAT and get a PSL output.
- If FASTA has multiple sequences, split into one sequence per file.
- 确认参考基因组组装版本(或
hg38)。CHM13 - 确保.2bit参考序列存在于目录中。
~/.local/share/blat - 使用CLI脚本运行BLAT并获取PSL格式的输出。
- 如果FASTA文件包含多个序列,请将其拆分为每个文件一个序列。