目录

Build Status

cluster_vcf_records

Python3 package to cluster VCF records.

Used by gramtools and minos - written specifically for those projects and no others.

Dependencies

  • vt
  • vcflib. Specifically, needs either vcflib, or all three of vcfbreakmulti, vcfallelicprimitives, vcfuniq to be installed and in your $PATH.
  • bcftools. This is optional. Only needed if you need to read bcf files.

Install

pypi

pip3 install wheel cluster_vcf_records

conda

conda install -c bioconda cluster_vcf_records

Usage

import cluster_vcf_records

input_vcf_file_paths = ['spam.vcf', 'eggs.vcf']
cluster_vcf_records.cluster(input_vcf_file_paths,
                            'reference.fasta',
                            'clustered_output.vcf')

For further information and a description of optional arguments, see help(cluster_vcf_records.vcf_clusterer.VcfClusterer)

Develop

Run tox (or pytest) from the top-level directory to run all unit tests.

License

MIT

关于

用于聚类和合并VCF文件中的变异记录,以减少冗余并生成一致的变异表示

332.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号