1*d5c09012SAndroid Build Coastguard Worker// Copyright 2016 Google Inc. 2*d5c09012SAndroid Build Coastguard Worker// 3*d5c09012SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*d5c09012SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*d5c09012SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*d5c09012SAndroid Build Coastguard Worker// 7*d5c09012SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*d5c09012SAndroid Build Coastguard Worker// 9*d5c09012SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*d5c09012SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*d5c09012SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*d5c09012SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*d5c09012SAndroid Build Coastguard Worker// limitations under the License. 14*d5c09012SAndroid Build Coastguard Worker 15*d5c09012SAndroid Build Coastguard Workersyntax = "proto3"; 16*d5c09012SAndroid Build Coastguard Worker 17*d5c09012SAndroid Build Coastguard Workerpackage google.genomics.v1; 18*d5c09012SAndroid Build Coastguard Worker 19*d5c09012SAndroid Build Coastguard Workerimport "google/api/annotations.proto"; 20*d5c09012SAndroid Build Coastguard Worker 21*d5c09012SAndroid Build Coastguard Workeroption cc_enable_arenas = true; 22*d5c09012SAndroid Build Coastguard Workeroption go_package = "google.golang.org/genproto/googleapis/genomics/v1;genomics"; 23*d5c09012SAndroid Build Coastguard Workeroption java_multiple_files = true; 24*d5c09012SAndroid Build Coastguard Workeroption java_outer_classname = "PositionProto"; 25*d5c09012SAndroid Build Coastguard Workeroption java_package = "com.google.genomics.v1"; 26*d5c09012SAndroid Build Coastguard Worker 27*d5c09012SAndroid Build Coastguard Worker// An abstraction for referring to a genomic position, in relation to some 28*d5c09012SAndroid Build Coastguard Worker// already known reference. For now, represents a genomic position as a 29*d5c09012SAndroid Build Coastguard Worker// reference name, a base number on that reference (0-based), and a 30*d5c09012SAndroid Build Coastguard Worker// determination of forward or reverse strand. 31*d5c09012SAndroid Build Coastguard Workermessage Position { 32*d5c09012SAndroid Build Coastguard Worker // The name of the reference in whatever reference set is being used. 33*d5c09012SAndroid Build Coastguard Worker string reference_name = 1; 34*d5c09012SAndroid Build Coastguard Worker 35*d5c09012SAndroid Build Coastguard Worker // The 0-based offset from the start of the forward strand for that reference. 36*d5c09012SAndroid Build Coastguard Worker int64 position = 2; 37*d5c09012SAndroid Build Coastguard Worker 38*d5c09012SAndroid Build Coastguard Worker // Whether this position is on the reverse strand, as opposed to the forward 39*d5c09012SAndroid Build Coastguard Worker // strand. 40*d5c09012SAndroid Build Coastguard Worker bool reverse_strand = 3; 41*d5c09012SAndroid Build Coastguard Worker} 42