-
Notifications
You must be signed in to change notification settings - Fork 728
/
BUILD
108 lines (99 loc) · 3.58 KB
/
BUILD
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
load("//third_party/nucleus/tools:zip_dir.bzl", "zip_dir")
package(
default_visibility = [
"//visibility:public",
],
)
test_suite(
name = "smoke_tests",
tests = [
"//deepvariant/core:smoke_tests",
"//deepvariant/environment_tests:smoke_tests",
"//deepvariant/testing:smoke_tests",
],
)
filegroup(
name = "binaries",
srcs = [
"//deepvariant:binaries",
],
)
filegroup(
name = "binaries-deeptrio",
srcs = [
"//deeptrio:binaries",
],
)
exports_files(["LICENSE"])
filegroup(
name = "licenses",
srcs = [
":LICENSE",
"//third_party:abseil_cpp.LICENSE", # TODO
"//third_party:boost.LICENSE",
"@com_google_protobuf//:LICENSE",
"@com_googlesource_code_re2//:LICENSE",
"@gbwt//:LICENSE",
"@gbwtgraph//:LICENSE",
"@htslib//:LICENSE",
"@libdivsufsort//:LICENSE",
"@libssw//:README.md", # SSW license embedded in the README.
"@org_tensorflow//:LICENSE",
"@sdsl_lite//:COPYING",
],
)
zip_dir(
name = "licenses_zip",
srcs = [":licenses"],
zipname = "licenses.zip",
)
cc_library(
name = "all_extensions",
srcs = [],
deps = [
"//deepvariant/python:allelecounter_cclib",
"//deepvariant/python:direct_phasing_cclib",
"//deepvariant/python:make_examples_native_cclib",
"//deepvariant/python:pileup_image_native_cclib",
"//deepvariant/python:postprocess_variants_cclib",
"//deepvariant/python:variant_calling_cclib",
"//deepvariant/python:variant_calling_multisample_cclib",
"//deepvariant/realigner/python:debruijn_graph_cclib",
"//deepvariant/realigner/python:fast_pass_aligner_cclib",
"//deepvariant/realigner/python:ssw_cclib",
"//deepvariant/realigner/python:window_selector_cclib",
"//third_party/nucleus/core/python:statusor_examples_cclib",
"//third_party/nucleus/io/python:bed_reader_cclib",
"//third_party/nucleus/io/python:bed_writer_cclib",
"//third_party/nucleus/io/python:bedgraph_reader_cclib",
"//third_party/nucleus/io/python:bedgraph_writer_cclib",
"//third_party/nucleus/io/python:fastq_reader_cclib",
"//third_party/nucleus/io/python:fastq_writer_cclib",
"//third_party/nucleus/io/python:gbz_reader_cclib",
"//third_party/nucleus/io/python:gff_reader_cclib",
"//third_party/nucleus/io/python:gff_writer_cclib",
"//third_party/nucleus/io/python:gfile_cclib",
"//third_party/nucleus/io/python:hts_verbose_cclib",
"//third_party/nucleus/io/python:merge_variants_cclib",
"//third_party/nucleus/io/python:reference_cclib",
"//third_party/nucleus/io/python:sam_reader_cclib",
"//third_party/nucleus/io/python:sam_writer_cclib",
"//third_party/nucleus/io/python:tabix_indexer_cclib",
"//third_party/nucleus/io/python:tfrecord_reader_cclib",
"//third_party/nucleus/io/python:tfrecord_writer_cclib",
"//third_party/nucleus/io/python:vcf_concat_cclib",
"//third_party/nucleus/io/python:vcf_reader_cclib",
"//third_party/nucleus/io/python:vcf_writer_cclib",
"//third_party/nucleus/util/python:math_cclib",
"//third_party/nucleus/util/python:utils_cclib",
],
)
# Until https://github.com/bazelbuild/bazel/issues/4815 is fixed,
# we need to specify and force the use of a py_runtime.
py_runtime(
name = "deepvariant_python_runtime",
files = [],
interpreter_path = select({
"@bazel_tools//tools/python:PY3": "/usr/bin/python3",
}),
)