Skip to main content

A tool for batch run autoPVS1

Project description

autoPVS1 batch

该包集成autoPVS1 ,实现以VCF/BED文件为输入对多个变异批量VEP注释及autoPVS1注释。 拟解决的问题:

  1. autoPVS1集成VEP注释命令行,一次只能注释一个变异,若需要对大量变异进行分析,则需要多次运行vep注释命令行。
  2. 本工具首先使用vep对保存大量变异的VCF/BED文件进行注释,并重写了AutoPVS1.vep_run逻辑(由运行vep注释单个变异改为根据vep结果过滤出指定变异的注释信息)
    1. VCF:对应SNV变异
    2. 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 

结果说明

  1. 变异
  2. PVS1 criterion
  3. PVS1 strength_raw
  4. PVS1 strength
1:5935162:5935162:A:T           SS9    Strength.Moderate      Strength.Moderate
3:142281601:142281604:GAGT:-    NF1    Strength.VeryStrong    Strength.Unset

限制

  1. 本工具仅在python>=3.8环境下进行测试过。
  2. 本工具引入autoPVS1项目代码并本着不对该项目代码进行任何改动的原则,由于autoPVS1源码内部机制读取config.ini相对路径写死了,因此本工具运行时需要修改site-packages/autopvs1/config.ini文件内容,要求执行用户对该文件局具有写权限。
    1. root用户环境下运行此工具
    2. 或在用户所属pyenv,conda等对config.ini有写权限的环境下运行此工具

Project details


Release history Release notifications | RSS feed

This version

2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autopvs1-batch-2.0.tar.gz (20.0 MB view details)

Uploaded Source

Built Distribution

autopvs1_batch-2.0-py3-none-any.whl (20.2 MB view details)

Uploaded Python 3

File details

Details for the file autopvs1-batch-2.0.tar.gz.

File metadata

  • Download URL: autopvs1-batch-2.0.tar.gz
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for autopvs1-batch-2.0.tar.gz
Algorithm Hash digest
SHA256 f27d2c51001bf5d325bf74a89229e9b270195e6fbb3e17841d694219ea55143f
MD5 a0d8f452ac94b412a53294fbcff4f685
BLAKE2b-256 8bd7a886148cd9417a0cc02e6d5d3a77417d323889b2d1496918005bfd9e7713

See more details on using hashes here.

File details

Details for the file autopvs1_batch-2.0-py3-none-any.whl.

File metadata

  • Download URL: autopvs1_batch-2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.2 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for autopvs1_batch-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce2a8ff0f88640fa44bf5acb137399c698848b3132687d5d61660fd738d825f9
MD5 c210189003b13c9973c2ebec6b8a8577
BLAKE2b-256 ba42310798ed2ce2968fa12b685cec6d9610b7103b1b10dd454bd134cd8e2795

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page