autoPVS1 batch
该包集成autoPVS1 ,实现以VCF/BED文件为输入对多个变异批量VEP注释及autoPVS1注释。 拟解决的问题:
- autoPVS1集成VEP注释命令行,一次只能注释一个变异,若需要对大量变异进行分析,则需要多次运行vep注释命令行。
- 本工具首先使用vep对保存大量变异的VCF/BED文件进行注释,并重写了AutoPVS1.vep_run逻辑(由运行vep注释单个变异改为根据vep结果过滤出指定变异的注释信息)
- VCF:对应SNV变异
- BED:对应CNV变异
参数说明
- -i/--input: 输入文件, VCF for SNV, BED for CNV
- -o/--outfile: 输出autoPVS1结果
- -r/--hg19_fa: hg19 参考序列fasta文件路径
- -R/--hg38_fa: hg38 参考序列fasta文件路径
- -d/--vep_cahce: vep cache目录,即vep数据库目录路径
- -g/--genome_version: 当前变异对应的基因组版本,可选项:hg19, hg38
安装运行
zhuy@ubuntu:/projects/example$ pip install autopvs1-batch
zhuy@ubuntu:/projects/example$ autopvs1-batch.py -i test.vcf -o test.autopvs1_anno.txt -r /path/to/hg19.fa -R /path/to/hg38.fa -d ~/.vep -g hg19
结果说明
- 变异
- PVS1 criterion
- PVS1 strength_raw
- PVS1 strength
1:5935162:5935162:A:T SS9 Strength.Moderate Strength.Moderate
3:142281601:142281604:GAGT:- NF1 Strength.VeryStrong Strength.Unset
限制
- 本工具仅在python>=3.8环境下进行测试过。
- 本工具引入autoPVS1项目代码并本着不对该项目代码进行任何改动的原则,由于autoPVS1源码内部机制读取config.ini相对路径写死了,因此本工具运行时需要修改
site-packages/autopvs1/config.ini文件内容,要求执行用户对该文件局具有写权限。- root用户环境下运行此工具
- 或在用户所属pyenv,conda等对config.ini有写权限的环境下运行此工具
Metadata
Release files for autopvs1-batch 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autopvs1-batch-2.0.tar.gz | 20.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autopvs1_batch-2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.2 MB
Release files / autopvs1-batch-2.0.tar.gz
| Download URL | autopvs1-batch-2.0.tar.gz |
|---|---|
| Size | 20.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f27d2c51001bf5d325bf74a89229e9b270195e6fbb3e17841d694219ea55143f
|
|
BLAKE2b-256 checksum How to use checksums |
8bd7a886148cd9417a0cc02e6d5d3a77417d323889b2d1496918005bfd9e7713
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / autopvs1_batch-2.0-py3-none-any.whl
| Download URL | autopvs1_batch-2.0-py3-none-any.whl |
|---|---|
| Size | 20.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce2a8ff0f88640fa44bf5acb137399c698848b3132687d5d61660fd738d825f9
|
|
BLAKE2b-256 checksum How to use checksums |
ba42310798ed2ce2968fa12b685cec6d9610b7103b1b10dd454bd134cd8e2795
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|