-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
91 lines (89 loc) · 3.77 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/usr/bin/env python
from setuptools import find_packages, setup
setup(
name='cpg_workflows',
# This tag is automatically updated by bumpversion
version='1.36.8',
description='CPG workflows for Hail Batch',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/populationgenomics/production-pipelines',
license='MIT',
packages=find_packages(),
install_requires=[
'cpg-utils>=5.1.1',
'cyvcf2==0.30.18',
'analysis-runner>=2.43.3',
'hail==0.2.133', # Pin Hail at CPG's installed version
'networkx>=2.8.3',
'obonet>=0.3.1', # for HPO parsing
'grpcio-status>=1.48,<1.50', # Avoid dependency resolution backtracking
'onnx',
'onnxruntime',
'skl2onnx',
'metamist>=6.9.0',
'pandas',
'peddy>=0.4.8', # Avoid 0.4.7, which is incompatible
'pyfaidx>=0.8.1.1',
'fsspec',
'slack_sdk',
'elasticsearch==8.*',
'coloredlogs',
'bokeh',
'numpy',
'click',
'tenacity',
'toml',
],
extras_require={
'test': [
'pytest',
'pytest-xdist',
'pytest-mock',
'coverage',
],
},
package_data={
'cpg_workflows': ['defaults.toml'],
},
keywords='bioinformatics',
classifiers=[
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
entry_points={
'console_scripts': [
# script for modifying the content of a sniffles VCF, used in Long-Read SV pipeline
'modify_sniffles = cpg_workflows.scripts.long_read_sniffles_vcf_modifier:cli_main',
# for use in translating a MatrixTable to an ES index, first localising the MT
'mt_to_es = cpg_workflows.scripts.mt_to_es_without_dataproc:main',
# Generate new intervals from a MatrixTable
'new_intervals_from_mt = cpg_workflows.scripts.generate_new_intervals:cli_main',
'seqr_loader_cnv = cpg_workflows.scripts.seqr_loader_cnv:cli_main',
# used in the validation workflow, pulls a single SG VCF representation from a MT
'ss_vcf_from_mt = cpg_workflows.scripts.extract_single_sample_vcf_from_mt:cli_main',
# script to create a dense MatrixTable from a VDS input
'mt_from_vds = cpg_workflows.scripts.densify_VDS_to_MT:cli_main',
# aggregate VEP results into a single HT
'vep_json_to_ht = cpg_workflows.scripts.vep_json_to_ht:cli_main',
# AnnotateCohort, small variants
'annotate_cohort_small = cpg_workflows.scripts.annotate_cohort_small_vars:cli_main',
# Extract a single Dataset from a MatrixTable
'subset_mt_to_dataset = cpg_workflows.scripts.subset_mt_to_dataset:cli_main',
# Reconfigure annotations for Seqr Export
'annotate_dataset_small = cpg_workflows.scripts.annotate_dataset_small_vars:cli_main',
# script for combining multiple per-family exomiser Gene-level TSVs into a single JSON
'combine_exomiser_genes = cpg_workflows.scripts.combine_exomiser_gene_tsvs:cli_main',
# script for combining multiple per-family exomiser Variant-level TSVs into a single JSON & Hail Table
'combine_exomiser_variants = cpg_workflows.scripts.combine_exomiser_variant_tsvs:cli_main',
],
},
)