Skip to content

Commit 7796d40

Browse files
authored
Update default annotation source. (#498)
The vep cache and vep image are copied to cloud-lifesciences project. Change the default cache and vep image to point to cloud-lifesciences project.
1 parent 8602ea7 commit 7796d40

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/variant_annotation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ pipeline may take longer to finish for smaller value of this flag.
116116
* [`--vep_image_uri`](https://github.com/googlegenomics/gcp-variant-transforms/blob/c4659bba2cf577d64f15db5cd9f477d9ea2b51b0/gcp_variant_transforms/options/variant_transform_options.py#L196)
117117
the docker image for VEP created using the
118118
[Dockerfile in variant-annotation](https://github.com/googlegenomics/variant-annotation/tree/master/batch/vep)
119-
GitHub repo. By default `gcr.io/gcp-variant-annotation/vep_91` is used which is
119+
GitHub repo. By default `gcr.io/cloud-lifesciences/vep_91` is used which is
120120
a public image that Google maintains (VEP version 91).
121121

122122
* [`--vep_cache_path`](https://github.com/googlegenomics/gcp-variant-transforms/blob/c4659bba2cf577d64f15db5cd9f477d9ea2b51b0/gcp_variant_transforms/options/variant_transform_options.py#L200)
123123
the GCS location that has the compressed version of VEP cache. This file can be
124124
created using
125125
[build_vep_cache.sh](https://github.com/googlegenomics/variant-annotation/blob/master/batch/vep/build_vep_cache.sh)
126-
script. By default `gs://gcp-variant-annotation-vep-cache/vep_cache_homo_sapiens_GRCh38_91.tar.gz`
126+
script. By default `gs://cloud-lifesciences/vep/vep_cache_homo_sapiens_GRCh38_91.tar.gz`
127127
is used which is good for human genome aligned with GRCh38 reference sequence.
128128

129129
* [`--vep_info_field`](https://github.com/googlegenomics/gcp-variant-transforms/blob/c4659bba2cf577d64f15db5cd9f477d9ea2b51b0/gcp_variant_transforms/options/variant_transform_options.py#L204)

gcp_variant_transforms/libs/annotation/vep/vep_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def create_runner(known_args, pipeline_args, input_pattern, watchdog_file,
9898
class VepRunner(object):
9999
"""A class for running vep through Pipelines API on a set of input files."""
100100

101-
_VEP_CACHE_BASE = ('gs://gcp-variant-annotation-vep-cache/'
101+
_VEP_CACHE_BASE = ('gs://cloud-lifesciences/vep/'
102102
'vep_cache_{species}_{assembly}_91.tar.gz')
103103

104104
def __init__(

gcp_variant_transforms/libs/annotation/vep/vep_runner_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ def test_make_vep_cache_path(self):
108108
_VEP_INFO_FIELD, _IMAGE, '', _NUM_FORK, self._get_pipeline_args(),
109109
None, 30)
110110
self.assertEqual(test_instance._vep_cache_path,
111-
('gs://gcp-variant-annotation-vep-cache/'
111+
('gs://cloud-lifesciences/vep/'
112112
'vep_cache_homo_sapiens_GRCh38_91.tar.gz'))
113113
test_instance = vep_runner.VepRunner(
114114
self._mock_service, 'mouse', 'mm9', _INPUT_PATTERN, _OUTPUT_DIR,
115115
_VEP_INFO_FIELD, _IMAGE, '', _NUM_FORK, self._get_pipeline_args(),
116116
None, 30)
117117
self.assertEqual(test_instance._vep_cache_path,
118-
('gs://gcp-variant-annotation-vep-cache/'
118+
('gs://cloud-lifesciences/vep/'
119119
'vep_cache_mouse_mm9_91.tar.gz'))
120120

121121
def test_get_output_pattern(self):

gcp_variant_transforms/options/variant_transform_options.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,20 +299,20 @@ def add_arguments(self, parser):
299299
'process of running VEP pipelines.'))
300300
parser.add_argument(
301301
'--' + AnnotationOptions._VEP_IMAGE_FLAG,
302-
default='gcr.io/gcp-variant-annotation/vep_91',
302+
default='gcr.io/cloud-lifesciences/vep_91',
303303
help=('The URI of the docker image for VEP.'))
304304
parser.add_argument(
305305
'--' + AnnotationOptions._VEP_CACHE_FLAG,
306306
default='',
307307
help=('The path for VEP cache on Google Cloud Storage. By default, '
308-
'this will be set to gs://gcp-variant-annotation-vep-cache/'
308+
'this will be set to gs://cloud-lifesciences/vep/'
309309
'vep_cache_homo_sapiens_GRCh38_91.tar.gz, assuming neither the '
310310
'`--vep_species` nor the `--vep_assembly` flags have been set. '
311311
'For convenience, if either of those flags are provided, this '
312312
'path will be automatically updated to reflect the new cache, '
313313
'given values are a species and/or assembly we maintain. For '
314314
'example, `--vep_assembly GRCh37` is satisfactory for specifying '
315-
'our gs://gcp-variant-annotation-vep-cache/'
315+
'our gs://cloud-lifesciences/vep/'
316316
'vep_cache_homo_sapiens_GRCh37_91.tar.gz cache.'))
317317
parser.add_argument(
318318
'--vep_info_field',

0 commit comments

Comments
 (0)