Documentation ¶
Overview ¶
Package genomics is a generated protocol buffer package.
It is generated from these files:
google/genomics/v1/annotations.proto google/genomics/v1/cigar.proto google/genomics/v1/datasets.proto google/genomics/v1/operations.proto google/genomics/v1/position.proto google/genomics/v1/range.proto google/genomics/v1/readalignment.proto google/genomics/v1/readgroup.proto google/genomics/v1/readgroupset.proto google/genomics/v1/reads.proto google/genomics/v1/references.proto google/genomics/v1/variants.proto
It has these top-level messages:
AnnotationSet Annotation VariantAnnotation Transcript ExternalId CreateAnnotationSetRequest GetAnnotationSetRequest UpdateAnnotationSetRequest DeleteAnnotationSetRequest SearchAnnotationSetsRequest SearchAnnotationSetsResponse CreateAnnotationRequest BatchCreateAnnotationsRequest BatchCreateAnnotationsResponse GetAnnotationRequest UpdateAnnotationRequest DeleteAnnotationRequest SearchAnnotationsRequest SearchAnnotationsResponse CigarUnit Dataset ListDatasetsRequest ListDatasetsResponse CreateDatasetRequest UpdateDatasetRequest DeleteDatasetRequest UndeleteDatasetRequest GetDatasetRequest OperationMetadata OperationEvent Position Range LinearAlignment Read ReadGroup ReadGroupSet SearchReadGroupSetsRequest SearchReadGroupSetsResponse ImportReadGroupSetsRequest ImportReadGroupSetsResponse ExportReadGroupSetRequest UpdateReadGroupSetRequest DeleteReadGroupSetRequest GetReadGroupSetRequest ListCoverageBucketsRequest CoverageBucket ListCoverageBucketsResponse SearchReadsRequest SearchReadsResponse StreamReadsRequest StreamReadsResponse Reference ReferenceSet SearchReferenceSetsRequest SearchReferenceSetsResponse GetReferenceSetRequest SearchReferencesRequest SearchReferencesResponse GetReferenceRequest ListBasesRequest ListBasesResponse VariantSetMetadata VariantSet Variant VariantCall CallSet ReferenceBound ImportVariantsRequest ImportVariantsResponse CreateVariantSetRequest ExportVariantSetRequest GetVariantSetRequest SearchVariantSetsRequest SearchVariantSetsResponse DeleteVariantSetRequest UpdateVariantSetRequest SearchVariantsRequest SearchVariantsResponse CreateVariantRequest UpdateVariantRequest DeleteVariantRequest GetVariantRequest MergeVariantsRequest SearchCallSetsRequest SearchCallSetsResponse CreateCallSetRequest UpdateCallSetRequest DeleteCallSetRequest GetCallSetRequest StreamVariantsRequest StreamVariantsResponse
Index ¶
- Variables
- func RegisterAnnotationServiceV1Server(s *grpc.Server, srv AnnotationServiceV1Server)
- func RegisterDatasetServiceV1Server(s *grpc.Server, srv DatasetServiceV1Server)
- func RegisterReadServiceV1Server(s *grpc.Server, srv ReadServiceV1Server)
- func RegisterReferenceServiceV1Server(s *grpc.Server, srv ReferenceServiceV1Server)
- func RegisterStreamingReadServiceServer(s *grpc.Server, srv StreamingReadServiceServer)
- func RegisterStreamingVariantServiceServer(s *grpc.Server, srv StreamingVariantServiceServer)
- func RegisterVariantServiceV1Server(s *grpc.Server, srv VariantServiceV1Server)
- type Annotation
- func (*Annotation) Descriptor() ([]byte, []int)
- func (m *Annotation) GetAnnotationSetId() string
- func (m *Annotation) GetEnd() int64
- func (m *Annotation) GetId() string
- func (m *Annotation) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *Annotation) GetName() string
- func (m *Annotation) GetReferenceId() string
- func (m *Annotation) GetReferenceName() string
- func (m *Annotation) GetReverseStrand() bool
- func (m *Annotation) GetStart() int64
- func (m *Annotation) GetTranscript() *Transcript
- func (m *Annotation) GetType() AnnotationType
- func (m *Annotation) GetValue() isAnnotation_Value
- func (m *Annotation) GetVariant() *VariantAnnotation
- func (*Annotation) ProtoMessage()
- func (m *Annotation) Reset()
- func (m *Annotation) String() string
- func (*Annotation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type AnnotationServiceV1Client
- type AnnotationServiceV1Server
- type AnnotationSet
- func (*AnnotationSet) Descriptor() ([]byte, []int)
- func (m *AnnotationSet) GetDatasetId() string
- func (m *AnnotationSet) GetId() string
- func (m *AnnotationSet) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *AnnotationSet) GetName() string
- func (m *AnnotationSet) GetReferenceSetId() string
- func (m *AnnotationSet) GetSourceUri() string
- func (m *AnnotationSet) GetType() AnnotationType
- func (*AnnotationSet) ProtoMessage()
- func (m *AnnotationSet) Reset()
- func (m *AnnotationSet) String() string
- type AnnotationType
- type Annotation_Transcript
- type Annotation_Variant
- type BatchCreateAnnotationsRequest
- func (*BatchCreateAnnotationsRequest) Descriptor() ([]byte, []int)
- func (m *BatchCreateAnnotationsRequest) GetAnnotations() []*Annotation
- func (m *BatchCreateAnnotationsRequest) GetRequestId() string
- func (*BatchCreateAnnotationsRequest) ProtoMessage()
- func (m *BatchCreateAnnotationsRequest) Reset()
- func (m *BatchCreateAnnotationsRequest) String() string
- type BatchCreateAnnotationsResponse
- func (*BatchCreateAnnotationsResponse) Descriptor() ([]byte, []int)
- func (m *BatchCreateAnnotationsResponse) GetEntries() []*BatchCreateAnnotationsResponse_Entry
- func (*BatchCreateAnnotationsResponse) ProtoMessage()
- func (m *BatchCreateAnnotationsResponse) Reset()
- func (m *BatchCreateAnnotationsResponse) String() string
- type BatchCreateAnnotationsResponse_Entry
- func (*BatchCreateAnnotationsResponse_Entry) Descriptor() ([]byte, []int)
- func (m *BatchCreateAnnotationsResponse_Entry) GetAnnotation() *Annotation
- func (m *BatchCreateAnnotationsResponse_Entry) GetStatus() *google_rpc.Status
- func (*BatchCreateAnnotationsResponse_Entry) ProtoMessage()
- func (m *BatchCreateAnnotationsResponse_Entry) Reset()
- func (m *BatchCreateAnnotationsResponse_Entry) String() string
- type CallSet
- func (*CallSet) Descriptor() ([]byte, []int)
- func (m *CallSet) GetCreated() int64
- func (m *CallSet) GetId() string
- func (m *CallSet) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *CallSet) GetName() string
- func (m *CallSet) GetSampleId() string
- func (m *CallSet) GetVariantSetIds() []string
- func (*CallSet) ProtoMessage()
- func (m *CallSet) Reset()
- func (m *CallSet) String() string
- type CigarUnit
- type CigarUnit_Operation
- type CoverageBucket
- type CreateAnnotationRequest
- type CreateAnnotationSetRequest
- type CreateCallSetRequest
- type CreateDatasetRequest
- type CreateVariantRequest
- type CreateVariantSetRequest
- type Dataset
- func (*Dataset) Descriptor() ([]byte, []int)
- func (m *Dataset) GetCreateTime() *google_protobuf6.Timestamp
- func (m *Dataset) GetId() string
- func (m *Dataset) GetName() string
- func (m *Dataset) GetProjectId() string
- func (*Dataset) ProtoMessage()
- func (m *Dataset) Reset()
- func (m *Dataset) String() string
- type DatasetServiceV1Client
- type DatasetServiceV1Server
- type DeleteAnnotationRequest
- type DeleteAnnotationSetRequest
- type DeleteCallSetRequest
- type DeleteDatasetRequest
- type DeleteReadGroupSetRequest
- type DeleteVariantRequest
- type DeleteVariantSetRequest
- type ExportReadGroupSetRequest
- func (*ExportReadGroupSetRequest) Descriptor() ([]byte, []int)
- func (m *ExportReadGroupSetRequest) GetExportUri() string
- func (m *ExportReadGroupSetRequest) GetProjectId() string
- func (m *ExportReadGroupSetRequest) GetReadGroupSetId() string
- func (m *ExportReadGroupSetRequest) GetReferenceNames() []string
- func (*ExportReadGroupSetRequest) ProtoMessage()
- func (m *ExportReadGroupSetRequest) Reset()
- func (m *ExportReadGroupSetRequest) String() string
- type ExportVariantSetRequest
- func (*ExportVariantSetRequest) Descriptor() ([]byte, []int)
- func (m *ExportVariantSetRequest) GetBigqueryDataset() string
- func (m *ExportVariantSetRequest) GetBigqueryTable() string
- func (m *ExportVariantSetRequest) GetCallSetIds() []string
- func (m *ExportVariantSetRequest) GetFormat() ExportVariantSetRequest_Format
- func (m *ExportVariantSetRequest) GetProjectId() string
- func (m *ExportVariantSetRequest) GetVariantSetId() string
- func (*ExportVariantSetRequest) ProtoMessage()
- func (m *ExportVariantSetRequest) Reset()
- func (m *ExportVariantSetRequest) String() string
- type ExportVariantSetRequest_Format
- type ExternalId
- type GetAnnotationRequest
- type GetAnnotationSetRequest
- type GetCallSetRequest
- type GetDatasetRequest
- type GetReadGroupSetRequest
- type GetReferenceRequest
- type GetReferenceSetRequest
- type GetVariantRequest
- type GetVariantSetRequest
- type ImportReadGroupSetsRequest
- func (*ImportReadGroupSetsRequest) Descriptor() ([]byte, []int)
- func (m *ImportReadGroupSetsRequest) GetDatasetId() string
- func (m *ImportReadGroupSetsRequest) GetPartitionStrategy() ImportReadGroupSetsRequest_PartitionStrategy
- func (m *ImportReadGroupSetsRequest) GetReferenceSetId() string
- func (m *ImportReadGroupSetsRequest) GetSourceUris() []string
- func (*ImportReadGroupSetsRequest) ProtoMessage()
- func (m *ImportReadGroupSetsRequest) Reset()
- func (m *ImportReadGroupSetsRequest) String() string
- type ImportReadGroupSetsRequest_PartitionStrategy
- type ImportReadGroupSetsResponse
- type ImportVariantsRequest
- func (*ImportVariantsRequest) Descriptor() ([]byte, []int)
- func (m *ImportVariantsRequest) GetFormat() ImportVariantsRequest_Format
- func (m *ImportVariantsRequest) GetInfoMergeConfig() map[string]InfoMergeOperation
- func (m *ImportVariantsRequest) GetNormalizeReferenceNames() bool
- func (m *ImportVariantsRequest) GetSourceUris() []string
- func (m *ImportVariantsRequest) GetVariantSetId() string
- func (*ImportVariantsRequest) ProtoMessage()
- func (m *ImportVariantsRequest) Reset()
- func (m *ImportVariantsRequest) String() string
- type ImportVariantsRequest_Format
- type ImportVariantsResponse
- type InfoMergeOperation
- type LinearAlignment
- func (*LinearAlignment) Descriptor() ([]byte, []int)
- func (m *LinearAlignment) GetCigar() []*CigarUnit
- func (m *LinearAlignment) GetMappingQuality() int32
- func (m *LinearAlignment) GetPosition() *Position
- func (*LinearAlignment) ProtoMessage()
- func (m *LinearAlignment) Reset()
- func (m *LinearAlignment) String() string
- type ListBasesRequest
- func (*ListBasesRequest) Descriptor() ([]byte, []int)
- func (m *ListBasesRequest) GetEnd() int64
- func (m *ListBasesRequest) GetPageSize() int32
- func (m *ListBasesRequest) GetPageToken() string
- func (m *ListBasesRequest) GetReferenceId() string
- func (m *ListBasesRequest) GetStart() int64
- func (*ListBasesRequest) ProtoMessage()
- func (m *ListBasesRequest) Reset()
- func (m *ListBasesRequest) String() string
- type ListBasesResponse
- func (*ListBasesResponse) Descriptor() ([]byte, []int)
- func (m *ListBasesResponse) GetNextPageToken() string
- func (m *ListBasesResponse) GetOffset() int64
- func (m *ListBasesResponse) GetSequence() string
- func (*ListBasesResponse) ProtoMessage()
- func (m *ListBasesResponse) Reset()
- func (m *ListBasesResponse) String() string
- type ListCoverageBucketsRequest
- func (*ListCoverageBucketsRequest) Descriptor() ([]byte, []int)
- func (m *ListCoverageBucketsRequest) GetEnd() int64
- func (m *ListCoverageBucketsRequest) GetPageSize() int32
- func (m *ListCoverageBucketsRequest) GetPageToken() string
- func (m *ListCoverageBucketsRequest) GetReadGroupSetId() string
- func (m *ListCoverageBucketsRequest) GetReferenceName() string
- func (m *ListCoverageBucketsRequest) GetStart() int64
- func (m *ListCoverageBucketsRequest) GetTargetBucketWidth() int64
- func (*ListCoverageBucketsRequest) ProtoMessage()
- func (m *ListCoverageBucketsRequest) Reset()
- func (m *ListCoverageBucketsRequest) String() string
- type ListCoverageBucketsResponse
- func (*ListCoverageBucketsResponse) Descriptor() ([]byte, []int)
- func (m *ListCoverageBucketsResponse) GetBucketWidth() int64
- func (m *ListCoverageBucketsResponse) GetCoverageBuckets() []*CoverageBucket
- func (m *ListCoverageBucketsResponse) GetNextPageToken() string
- func (*ListCoverageBucketsResponse) ProtoMessage()
- func (m *ListCoverageBucketsResponse) Reset()
- func (m *ListCoverageBucketsResponse) String() string
- type ListDatasetsRequest
- func (*ListDatasetsRequest) Descriptor() ([]byte, []int)
- func (m *ListDatasetsRequest) GetPageSize() int32
- func (m *ListDatasetsRequest) GetPageToken() string
- func (m *ListDatasetsRequest) GetProjectId() string
- func (*ListDatasetsRequest) ProtoMessage()
- func (m *ListDatasetsRequest) Reset()
- func (m *ListDatasetsRequest) String() string
- type ListDatasetsResponse
- func (*ListDatasetsResponse) Descriptor() ([]byte, []int)
- func (m *ListDatasetsResponse) GetDatasets() []*Dataset
- func (m *ListDatasetsResponse) GetNextPageToken() string
- func (*ListDatasetsResponse) ProtoMessage()
- func (m *ListDatasetsResponse) Reset()
- func (m *ListDatasetsResponse) String() string
- type MergeVariantsRequest
- func (*MergeVariantsRequest) Descriptor() ([]byte, []int)
- func (m *MergeVariantsRequest) GetInfoMergeConfig() map[string]InfoMergeOperation
- func (m *MergeVariantsRequest) GetVariantSetId() string
- func (m *MergeVariantsRequest) GetVariants() []*Variant
- func (*MergeVariantsRequest) ProtoMessage()
- func (m *MergeVariantsRequest) Reset()
- func (m *MergeVariantsRequest) String() string
- type OperationEvent
- func (*OperationEvent) Descriptor() ([]byte, []int)
- func (m *OperationEvent) GetDescription() string
- func (m *OperationEvent) GetEndTime() *google_protobuf6.Timestamp
- func (m *OperationEvent) GetStartTime() *google_protobuf6.Timestamp
- func (*OperationEvent) ProtoMessage()
- func (m *OperationEvent) Reset()
- func (m *OperationEvent) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)
- func (m *OperationMetadata) GetClientId() string
- func (m *OperationMetadata) GetCreateTime() *google_protobuf6.Timestamp
- func (m *OperationMetadata) GetEndTime() *google_protobuf6.Timestamp
- func (m *OperationMetadata) GetEvents() []*OperationEvent
- func (m *OperationMetadata) GetLabels() map[string]string
- func (m *OperationMetadata) GetProjectId() string
- func (m *OperationMetadata) GetRequest() *google_protobuf5.Any
- func (m *OperationMetadata) GetRuntimeMetadata() *google_protobuf5.Any
- func (m *OperationMetadata) GetStartTime() *google_protobuf6.Timestamp
- func (*OperationMetadata) ProtoMessage()
- func (m *OperationMetadata) Reset()
- func (m *OperationMetadata) String() string
- type Position
- type Range
- type Read
- func (*Read) Descriptor() ([]byte, []int)
- func (m *Read) GetAlignedQuality() []int32
- func (m *Read) GetAlignedSequence() string
- func (m *Read) GetAlignment() *LinearAlignment
- func (m *Read) GetDuplicateFragment() bool
- func (m *Read) GetFailedVendorQualityChecks() bool
- func (m *Read) GetFragmentLength() int32
- func (m *Read) GetFragmentName() string
- func (m *Read) GetId() string
- func (m *Read) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *Read) GetNextMatePosition() *Position
- func (m *Read) GetNumberReads() int32
- func (m *Read) GetProperPlacement() bool
- func (m *Read) GetReadGroupId() string
- func (m *Read) GetReadGroupSetId() string
- func (m *Read) GetReadNumber() int32
- func (m *Read) GetSecondaryAlignment() bool
- func (m *Read) GetSupplementaryAlignment() bool
- func (*Read) ProtoMessage()
- func (m *Read) Reset()
- func (m *Read) String() string
- type ReadGroup
- func (*ReadGroup) Descriptor() ([]byte, []int)
- func (m *ReadGroup) GetDatasetId() string
- func (m *ReadGroup) GetDescription() string
- func (m *ReadGroup) GetExperiment() *ReadGroup_Experiment
- func (m *ReadGroup) GetId() string
- func (m *ReadGroup) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *ReadGroup) GetName() string
- func (m *ReadGroup) GetPredictedInsertSize() int32
- func (m *ReadGroup) GetPrograms() []*ReadGroup_Program
- func (m *ReadGroup) GetReferenceSetId() string
- func (m *ReadGroup) GetSampleId() string
- func (*ReadGroup) ProtoMessage()
- func (m *ReadGroup) Reset()
- func (m *ReadGroup) String() string
- type ReadGroupSet
- func (*ReadGroupSet) Descriptor() ([]byte, []int)
- func (m *ReadGroupSet) GetDatasetId() string
- func (m *ReadGroupSet) GetFilename() string
- func (m *ReadGroupSet) GetId() string
- func (m *ReadGroupSet) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *ReadGroupSet) GetName() string
- func (m *ReadGroupSet) GetReadGroups() []*ReadGroup
- func (m *ReadGroupSet) GetReferenceSetId() string
- func (*ReadGroupSet) ProtoMessage()
- func (m *ReadGroupSet) Reset()
- func (m *ReadGroupSet) String() string
- type ReadGroup_Experiment
- func (*ReadGroup_Experiment) Descriptor() ([]byte, []int)
- func (m *ReadGroup_Experiment) GetInstrumentModel() string
- func (m *ReadGroup_Experiment) GetLibraryId() string
- func (m *ReadGroup_Experiment) GetPlatformUnit() string
- func (m *ReadGroup_Experiment) GetSequencingCenter() string
- func (*ReadGroup_Experiment) ProtoMessage()
- func (m *ReadGroup_Experiment) Reset()
- func (m *ReadGroup_Experiment) String() string
- type ReadGroup_Program
- func (*ReadGroup_Program) Descriptor() ([]byte, []int)
- func (m *ReadGroup_Program) GetCommandLine() string
- func (m *ReadGroup_Program) GetId() string
- func (m *ReadGroup_Program) GetName() string
- func (m *ReadGroup_Program) GetPrevProgramId() string
- func (m *ReadGroup_Program) GetVersion() string
- func (*ReadGroup_Program) ProtoMessage()
- func (m *ReadGroup_Program) Reset()
- func (m *ReadGroup_Program) String() string
- type ReadServiceV1Client
- type ReadServiceV1Server
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)
- func (m *Reference) GetId() string
- func (m *Reference) GetLength() int64
- func (m *Reference) GetMd5Checksum() string
- func (m *Reference) GetName() string
- func (m *Reference) GetNcbiTaxonId() int32
- func (m *Reference) GetSourceAccessions() []string
- func (m *Reference) GetSourceUri() string
- func (*Reference) ProtoMessage()
- func (m *Reference) Reset()
- func (m *Reference) String() string
- type ReferenceBound
- type ReferenceServiceV1Client
- type ReferenceServiceV1Server
- type ReferenceSet
- func (*ReferenceSet) Descriptor() ([]byte, []int)
- func (m *ReferenceSet) GetAssemblyId() string
- func (m *ReferenceSet) GetDescription() string
- func (m *ReferenceSet) GetId() string
- func (m *ReferenceSet) GetMd5Checksum() string
- func (m *ReferenceSet) GetNcbiTaxonId() int32
- func (m *ReferenceSet) GetReferenceIds() []string
- func (m *ReferenceSet) GetSourceAccessions() []string
- func (m *ReferenceSet) GetSourceUri() string
- func (*ReferenceSet) ProtoMessage()
- func (m *ReferenceSet) Reset()
- func (m *ReferenceSet) String() string
- type SearchAnnotationSetsRequest
- func (*SearchAnnotationSetsRequest) Descriptor() ([]byte, []int)
- func (m *SearchAnnotationSetsRequest) GetDatasetIds() []string
- func (m *SearchAnnotationSetsRequest) GetName() string
- func (m *SearchAnnotationSetsRequest) GetPageSize() int32
- func (m *SearchAnnotationSetsRequest) GetPageToken() string
- func (m *SearchAnnotationSetsRequest) GetReferenceSetId() string
- func (m *SearchAnnotationSetsRequest) GetTypes() []AnnotationType
- func (*SearchAnnotationSetsRequest) ProtoMessage()
- func (m *SearchAnnotationSetsRequest) Reset()
- func (m *SearchAnnotationSetsRequest) String() string
- type SearchAnnotationSetsResponse
- func (*SearchAnnotationSetsResponse) Descriptor() ([]byte, []int)
- func (m *SearchAnnotationSetsResponse) GetAnnotationSets() []*AnnotationSet
- func (m *SearchAnnotationSetsResponse) GetNextPageToken() string
- func (*SearchAnnotationSetsResponse) ProtoMessage()
- func (m *SearchAnnotationSetsResponse) Reset()
- func (m *SearchAnnotationSetsResponse) String() string
- type SearchAnnotationsRequest
- func (*SearchAnnotationsRequest) Descriptor() ([]byte, []int)
- func (m *SearchAnnotationsRequest) GetAnnotationSetIds() []string
- func (m *SearchAnnotationsRequest) GetEnd() int64
- func (m *SearchAnnotationsRequest) GetPageSize() int32
- func (m *SearchAnnotationsRequest) GetPageToken() string
- func (m *SearchAnnotationsRequest) GetReference() isSearchAnnotationsRequest_Reference
- func (m *SearchAnnotationsRequest) GetReferenceId() string
- func (m *SearchAnnotationsRequest) GetReferenceName() string
- func (m *SearchAnnotationsRequest) GetStart() int64
- func (*SearchAnnotationsRequest) ProtoMessage()
- func (m *SearchAnnotationsRequest) Reset()
- func (m *SearchAnnotationsRequest) String() string
- func (*SearchAnnotationsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type SearchAnnotationsRequest_ReferenceId
- type SearchAnnotationsRequest_ReferenceName
- type SearchAnnotationsResponse
- func (*SearchAnnotationsResponse) Descriptor() ([]byte, []int)
- func (m *SearchAnnotationsResponse) GetAnnotations() []*Annotation
- func (m *SearchAnnotationsResponse) GetNextPageToken() string
- func (*SearchAnnotationsResponse) ProtoMessage()
- func (m *SearchAnnotationsResponse) Reset()
- func (m *SearchAnnotationsResponse) String() string
- type SearchCallSetsRequest
- func (*SearchCallSetsRequest) Descriptor() ([]byte, []int)
- func (m *SearchCallSetsRequest) GetName() string
- func (m *SearchCallSetsRequest) GetPageSize() int32
- func (m *SearchCallSetsRequest) GetPageToken() string
- func (m *SearchCallSetsRequest) GetVariantSetIds() []string
- func (*SearchCallSetsRequest) ProtoMessage()
- func (m *SearchCallSetsRequest) Reset()
- func (m *SearchCallSetsRequest) String() string
- type SearchCallSetsResponse
- func (*SearchCallSetsResponse) Descriptor() ([]byte, []int)
- func (m *SearchCallSetsResponse) GetCallSets() []*CallSet
- func (m *SearchCallSetsResponse) GetNextPageToken() string
- func (*SearchCallSetsResponse) ProtoMessage()
- func (m *SearchCallSetsResponse) Reset()
- func (m *SearchCallSetsResponse) String() string
- type SearchReadGroupSetsRequest
- func (*SearchReadGroupSetsRequest) Descriptor() ([]byte, []int)
- func (m *SearchReadGroupSetsRequest) GetDatasetIds() []string
- func (m *SearchReadGroupSetsRequest) GetName() string
- func (m *SearchReadGroupSetsRequest) GetPageSize() int32
- func (m *SearchReadGroupSetsRequest) GetPageToken() string
- func (*SearchReadGroupSetsRequest) ProtoMessage()
- func (m *SearchReadGroupSetsRequest) Reset()
- func (m *SearchReadGroupSetsRequest) String() string
- type SearchReadGroupSetsResponse
- func (*SearchReadGroupSetsResponse) Descriptor() ([]byte, []int)
- func (m *SearchReadGroupSetsResponse) GetNextPageToken() string
- func (m *SearchReadGroupSetsResponse) GetReadGroupSets() []*ReadGroupSet
- func (*SearchReadGroupSetsResponse) ProtoMessage()
- func (m *SearchReadGroupSetsResponse) Reset()
- func (m *SearchReadGroupSetsResponse) String() string
- type SearchReadsRequest
- func (*SearchReadsRequest) Descriptor() ([]byte, []int)
- func (m *SearchReadsRequest) GetEnd() int64
- func (m *SearchReadsRequest) GetPageSize() int32
- func (m *SearchReadsRequest) GetPageToken() string
- func (m *SearchReadsRequest) GetReadGroupIds() []string
- func (m *SearchReadsRequest) GetReadGroupSetIds() []string
- func (m *SearchReadsRequest) GetReferenceName() string
- func (m *SearchReadsRequest) GetStart() int64
- func (*SearchReadsRequest) ProtoMessage()
- func (m *SearchReadsRequest) Reset()
- func (m *SearchReadsRequest) String() string
- type SearchReadsResponse
- type SearchReferenceSetsRequest
- func (*SearchReferenceSetsRequest) Descriptor() ([]byte, []int)
- func (m *SearchReferenceSetsRequest) GetAccessions() []string
- func (m *SearchReferenceSetsRequest) GetAssemblyId() string
- func (m *SearchReferenceSetsRequest) GetMd5Checksums() []string
- func (m *SearchReferenceSetsRequest) GetPageSize() int32
- func (m *SearchReferenceSetsRequest) GetPageToken() string
- func (*SearchReferenceSetsRequest) ProtoMessage()
- func (m *SearchReferenceSetsRequest) Reset()
- func (m *SearchReferenceSetsRequest) String() string
- type SearchReferenceSetsResponse
- func (*SearchReferenceSetsResponse) Descriptor() ([]byte, []int)
- func (m *SearchReferenceSetsResponse) GetNextPageToken() string
- func (m *SearchReferenceSetsResponse) GetReferenceSets() []*ReferenceSet
- func (*SearchReferenceSetsResponse) ProtoMessage()
- func (m *SearchReferenceSetsResponse) Reset()
- func (m *SearchReferenceSetsResponse) String() string
- type SearchReferencesRequest
- func (*SearchReferencesRequest) Descriptor() ([]byte, []int)
- func (m *SearchReferencesRequest) GetAccessions() []string
- func (m *SearchReferencesRequest) GetMd5Checksums() []string
- func (m *SearchReferencesRequest) GetPageSize() int32
- func (m *SearchReferencesRequest) GetPageToken() string
- func (m *SearchReferencesRequest) GetReferenceSetId() string
- func (*SearchReferencesRequest) ProtoMessage()
- func (m *SearchReferencesRequest) Reset()
- func (m *SearchReferencesRequest) String() string
- type SearchReferencesResponse
- func (*SearchReferencesResponse) Descriptor() ([]byte, []int)
- func (m *SearchReferencesResponse) GetNextPageToken() string
- func (m *SearchReferencesResponse) GetReferences() []*Reference
- func (*SearchReferencesResponse) ProtoMessage()
- func (m *SearchReferencesResponse) Reset()
- func (m *SearchReferencesResponse) String() string
- type SearchVariantSetsRequest
- func (*SearchVariantSetsRequest) Descriptor() ([]byte, []int)
- func (m *SearchVariantSetsRequest) GetDatasetIds() []string
- func (m *SearchVariantSetsRequest) GetPageSize() int32
- func (m *SearchVariantSetsRequest) GetPageToken() string
- func (*SearchVariantSetsRequest) ProtoMessage()
- func (m *SearchVariantSetsRequest) Reset()
- func (m *SearchVariantSetsRequest) String() string
- type SearchVariantSetsResponse
- func (*SearchVariantSetsResponse) Descriptor() ([]byte, []int)
- func (m *SearchVariantSetsResponse) GetNextPageToken() string
- func (m *SearchVariantSetsResponse) GetVariantSets() []*VariantSet
- func (*SearchVariantSetsResponse) ProtoMessage()
- func (m *SearchVariantSetsResponse) Reset()
- func (m *SearchVariantSetsResponse) String() string
- type SearchVariantsRequest
- func (*SearchVariantsRequest) Descriptor() ([]byte, []int)
- func (m *SearchVariantsRequest) GetCallSetIds() []string
- func (m *SearchVariantsRequest) GetEnd() int64
- func (m *SearchVariantsRequest) GetMaxCalls() int32
- func (m *SearchVariantsRequest) GetPageSize() int32
- func (m *SearchVariantsRequest) GetPageToken() string
- func (m *SearchVariantsRequest) GetReferenceName() string
- func (m *SearchVariantsRequest) GetStart() int64
- func (m *SearchVariantsRequest) GetVariantName() string
- func (m *SearchVariantsRequest) GetVariantSetIds() []string
- func (*SearchVariantsRequest) ProtoMessage()
- func (m *SearchVariantsRequest) Reset()
- func (m *SearchVariantsRequest) String() string
- type SearchVariantsResponse
- func (*SearchVariantsResponse) Descriptor() ([]byte, []int)
- func (m *SearchVariantsResponse) GetNextPageToken() string
- func (m *SearchVariantsResponse) GetVariants() []*Variant
- func (*SearchVariantsResponse) ProtoMessage()
- func (m *SearchVariantsResponse) Reset()
- func (m *SearchVariantsResponse) String() string
- type StreamReadsRequest
- func (*StreamReadsRequest) Descriptor() ([]byte, []int)
- func (m *StreamReadsRequest) GetEnd() int64
- func (m *StreamReadsRequest) GetProjectId() string
- func (m *StreamReadsRequest) GetReadGroupSetId() string
- func (m *StreamReadsRequest) GetReferenceName() string
- func (m *StreamReadsRequest) GetShard() int32
- func (m *StreamReadsRequest) GetStart() int64
- func (m *StreamReadsRequest) GetTotalShards() int32
- func (*StreamReadsRequest) ProtoMessage()
- func (m *StreamReadsRequest) Reset()
- func (m *StreamReadsRequest) String() string
- type StreamReadsResponse
- type StreamVariantsRequest
- func (*StreamVariantsRequest) Descriptor() ([]byte, []int)
- func (m *StreamVariantsRequest) GetCallSetIds() []string
- func (m *StreamVariantsRequest) GetEnd() int64
- func (m *StreamVariantsRequest) GetProjectId() string
- func (m *StreamVariantsRequest) GetReferenceName() string
- func (m *StreamVariantsRequest) GetStart() int64
- func (m *StreamVariantsRequest) GetVariantSetId() string
- func (*StreamVariantsRequest) ProtoMessage()
- func (m *StreamVariantsRequest) Reset()
- func (m *StreamVariantsRequest) String() string
- type StreamVariantsResponse
- type StreamingReadServiceClient
- type StreamingReadServiceServer
- type StreamingReadService_StreamReadsClient
- type StreamingReadService_StreamReadsServer
- type StreamingVariantServiceClient
- type StreamingVariantServiceServer
- type StreamingVariantService_StreamVariantsClient
- type StreamingVariantService_StreamVariantsServer
- type Transcript
- func (*Transcript) Descriptor() ([]byte, []int)
- func (m *Transcript) GetCodingSequence() *Transcript_CodingSequence
- func (m *Transcript) GetExons() []*Transcript_Exon
- func (m *Transcript) GetGeneId() string
- func (*Transcript) ProtoMessage()
- func (m *Transcript) Reset()
- func (m *Transcript) String() string
- type Transcript_CodingSequence
- func (*Transcript_CodingSequence) Descriptor() ([]byte, []int)
- func (m *Transcript_CodingSequence) GetEnd() int64
- func (m *Transcript_CodingSequence) GetStart() int64
- func (*Transcript_CodingSequence) ProtoMessage()
- func (m *Transcript_CodingSequence) Reset()
- func (m *Transcript_CodingSequence) String() string
- type Transcript_Exon
- func (*Transcript_Exon) Descriptor() ([]byte, []int)
- func (m *Transcript_Exon) GetEnd() int64
- func (m *Transcript_Exon) GetFrame() *google_protobuf4.Int32Value
- func (m *Transcript_Exon) GetStart() int64
- func (*Transcript_Exon) ProtoMessage()
- func (m *Transcript_Exon) Reset()
- func (m *Transcript_Exon) String() string
- type UndeleteDatasetRequest
- type UpdateAnnotationRequest
- func (*UpdateAnnotationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAnnotationRequest) GetAnnotation() *Annotation
- func (m *UpdateAnnotationRequest) GetAnnotationId() string
- func (m *UpdateAnnotationRequest) GetUpdateMask() *google_protobuf2.FieldMask
- func (*UpdateAnnotationRequest) ProtoMessage()
- func (m *UpdateAnnotationRequest) Reset()
- func (m *UpdateAnnotationRequest) String() string
- type UpdateAnnotationSetRequest
- func (*UpdateAnnotationSetRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAnnotationSetRequest) GetAnnotationSet() *AnnotationSet
- func (m *UpdateAnnotationSetRequest) GetAnnotationSetId() string
- func (m *UpdateAnnotationSetRequest) GetUpdateMask() *google_protobuf2.FieldMask
- func (*UpdateAnnotationSetRequest) ProtoMessage()
- func (m *UpdateAnnotationSetRequest) Reset()
- func (m *UpdateAnnotationSetRequest) String() string
- type UpdateCallSetRequest
- func (*UpdateCallSetRequest) Descriptor() ([]byte, []int)
- func (m *UpdateCallSetRequest) GetCallSet() *CallSet
- func (m *UpdateCallSetRequest) GetCallSetId() string
- func (m *UpdateCallSetRequest) GetUpdateMask() *google_protobuf2.FieldMask
- func (*UpdateCallSetRequest) ProtoMessage()
- func (m *UpdateCallSetRequest) Reset()
- func (m *UpdateCallSetRequest) String() string
- type UpdateDatasetRequest
- func (*UpdateDatasetRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDatasetRequest) GetDataset() *Dataset
- func (m *UpdateDatasetRequest) GetDatasetId() string
- func (m *UpdateDatasetRequest) GetUpdateMask() *google_protobuf2.FieldMask
- func (*UpdateDatasetRequest) ProtoMessage()
- func (m *UpdateDatasetRequest) Reset()
- func (m *UpdateDatasetRequest) String() string
- type UpdateReadGroupSetRequest
- func (*UpdateReadGroupSetRequest) Descriptor() ([]byte, []int)
- func (m *UpdateReadGroupSetRequest) GetReadGroupSet() *ReadGroupSet
- func (m *UpdateReadGroupSetRequest) GetReadGroupSetId() string
- func (m *UpdateReadGroupSetRequest) GetUpdateMask() *google_protobuf2.FieldMask
- func (*UpdateReadGroupSetRequest) ProtoMessage()
- func (m *UpdateReadGroupSetRequest) Reset()
- func (m *UpdateReadGroupSetRequest) String() string
- type UpdateVariantRequest
- func (*UpdateVariantRequest) Descriptor() ([]byte, []int)
- func (m *UpdateVariantRequest) GetUpdateMask() *google_protobuf2.FieldMask
- func (m *UpdateVariantRequest) GetVariant() *Variant
- func (m *UpdateVariantRequest) GetVariantId() string
- func (*UpdateVariantRequest) ProtoMessage()
- func (m *UpdateVariantRequest) Reset()
- func (m *UpdateVariantRequest) String() string
- type UpdateVariantSetRequest
- func (*UpdateVariantSetRequest) Descriptor() ([]byte, []int)
- func (m *UpdateVariantSetRequest) GetUpdateMask() *google_protobuf2.FieldMask
- func (m *UpdateVariantSetRequest) GetVariantSet() *VariantSet
- func (m *UpdateVariantSetRequest) GetVariantSetId() string
- func (*UpdateVariantSetRequest) ProtoMessage()
- func (m *UpdateVariantSetRequest) Reset()
- func (m *UpdateVariantSetRequest) String() string
- type Variant
- func (*Variant) Descriptor() ([]byte, []int)
- func (m *Variant) GetAlternateBases() []string
- func (m *Variant) GetCalls() []*VariantCall
- func (m *Variant) GetCreated() int64
- func (m *Variant) GetEnd() int64
- func (m *Variant) GetFilter() []string
- func (m *Variant) GetId() string
- func (m *Variant) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *Variant) GetNames() []string
- func (m *Variant) GetQuality() float64
- func (m *Variant) GetReferenceBases() string
- func (m *Variant) GetReferenceName() string
- func (m *Variant) GetStart() int64
- func (m *Variant) GetVariantSetId() string
- func (*Variant) ProtoMessage()
- func (m *Variant) Reset()
- func (m *Variant) String() string
- type VariantAnnotation
- func (*VariantAnnotation) Descriptor() ([]byte, []int)
- func (m *VariantAnnotation) GetAlternateBases() string
- func (m *VariantAnnotation) GetClinicalSignificance() VariantAnnotation_ClinicalSignificance
- func (m *VariantAnnotation) GetConditions() []*VariantAnnotation_ClinicalCondition
- func (m *VariantAnnotation) GetEffect() VariantAnnotation_Effect
- func (m *VariantAnnotation) GetGeneId() string
- func (m *VariantAnnotation) GetTranscriptIds() []string
- func (m *VariantAnnotation) GetType() VariantAnnotation_Type
- func (*VariantAnnotation) ProtoMessage()
- func (m *VariantAnnotation) Reset()
- func (m *VariantAnnotation) String() string
- type VariantAnnotation_ClinicalCondition
- func (*VariantAnnotation_ClinicalCondition) Descriptor() ([]byte, []int)
- func (m *VariantAnnotation_ClinicalCondition) GetConceptId() string
- func (m *VariantAnnotation_ClinicalCondition) GetExternalIds() []*ExternalId
- func (m *VariantAnnotation_ClinicalCondition) GetNames() []string
- func (m *VariantAnnotation_ClinicalCondition) GetOmimId() string
- func (*VariantAnnotation_ClinicalCondition) ProtoMessage()
- func (m *VariantAnnotation_ClinicalCondition) Reset()
- func (m *VariantAnnotation_ClinicalCondition) String() string
- type VariantAnnotation_ClinicalSignificance
- type VariantAnnotation_Effect
- type VariantAnnotation_Type
- type VariantCall
- func (*VariantCall) Descriptor() ([]byte, []int)
- func (m *VariantCall) GetCallSetId() string
- func (m *VariantCall) GetCallSetName() string
- func (m *VariantCall) GetGenotype() []int32
- func (m *VariantCall) GetGenotypeLikelihood() []float64
- func (m *VariantCall) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *VariantCall) GetPhaseset() string
- func (*VariantCall) ProtoMessage()
- func (m *VariantCall) Reset()
- func (m *VariantCall) String() string
- type VariantServiceV1Client
- type VariantServiceV1Server
- type VariantSet
- func (*VariantSet) Descriptor() ([]byte, []int)
- func (m *VariantSet) GetDatasetId() string
- func (m *VariantSet) GetDescription() string
- func (m *VariantSet) GetId() string
- func (m *VariantSet) GetMetadata() []*VariantSetMetadata
- func (m *VariantSet) GetName() string
- func (m *VariantSet) GetReferenceBounds() []*ReferenceBound
- func (m *VariantSet) GetReferenceSetId() string
- func (*VariantSet) ProtoMessage()
- func (m *VariantSet) Reset()
- func (m *VariantSet) String() string
- type VariantSetMetadata
- func (*VariantSetMetadata) Descriptor() ([]byte, []int)
- func (m *VariantSetMetadata) GetDescription() string
- func (m *VariantSetMetadata) GetId() string
- func (m *VariantSetMetadata) GetInfo() map[string]*google_protobuf3.ListValue
- func (m *VariantSetMetadata) GetKey() string
- func (m *VariantSetMetadata) GetNumber() string
- func (m *VariantSetMetadata) GetType() VariantSetMetadata_Type
- func (m *VariantSetMetadata) GetValue() string
- func (*VariantSetMetadata) ProtoMessage()
- func (m *VariantSetMetadata) Reset()
- func (m *VariantSetMetadata) String() string
- type VariantSetMetadata_Type
Constants ¶
This section is empty.
Variables ¶
var AnnotationType_name = map[int32]string{
0: "ANNOTATION_TYPE_UNSPECIFIED",
1: "GENERIC",
2: "VARIANT",
3: "GENE",
4: "TRANSCRIPT",
}
var AnnotationType_value = map[string]int32{
"ANNOTATION_TYPE_UNSPECIFIED": 0,
"GENERIC": 1,
"VARIANT": 2,
"GENE": 3,
"TRANSCRIPT": 4,
}
var CigarUnit_Operation_name = map[int32]string{
0: "OPERATION_UNSPECIFIED",
1: "ALIGNMENT_MATCH",
2: "INSERT",
3: "DELETE",
4: "SKIP",
5: "CLIP_SOFT",
6: "CLIP_HARD",
7: "PAD",
8: "SEQUENCE_MATCH",
9: "SEQUENCE_MISMATCH",
}
var CigarUnit_Operation_value = map[string]int32{
"OPERATION_UNSPECIFIED": 0,
"ALIGNMENT_MATCH": 1,
"INSERT": 2,
"DELETE": 3,
"SKIP": 4,
"CLIP_SOFT": 5,
"CLIP_HARD": 6,
"PAD": 7,
"SEQUENCE_MATCH": 8,
"SEQUENCE_MISMATCH": 9,
}
var ExportVariantSetRequest_Format_name = map[int32]string{
0: "FORMAT_UNSPECIFIED",
1: "FORMAT_BIGQUERY",
}
var ExportVariantSetRequest_Format_value = map[string]int32{
"FORMAT_UNSPECIFIED": 0,
"FORMAT_BIGQUERY": 1,
}
var ImportReadGroupSetsRequest_PartitionStrategy_name = map[int32]string{
0: "PARTITION_STRATEGY_UNSPECIFIED",
1: "PER_FILE_PER_SAMPLE",
2: "MERGE_ALL",
}
var ImportReadGroupSetsRequest_PartitionStrategy_value = map[string]int32{
"PARTITION_STRATEGY_UNSPECIFIED": 0,
"PER_FILE_PER_SAMPLE": 1,
"MERGE_ALL": 2,
}
var ImportVariantsRequest_Format_name = map[int32]string{
0: "FORMAT_UNSPECIFIED",
1: "FORMAT_VCF",
2: "FORMAT_COMPLETE_GENOMICS",
}
var ImportVariantsRequest_Format_value = map[string]int32{
"FORMAT_UNSPECIFIED": 0,
"FORMAT_VCF": 1,
"FORMAT_COMPLETE_GENOMICS": 2,
}
var InfoMergeOperation_name = map[int32]string{
0: "INFO_MERGE_OPERATION_UNSPECIFIED",
1: "IGNORE_NEW",
2: "MOVE_TO_CALLS",
}
var InfoMergeOperation_value = map[string]int32{
"INFO_MERGE_OPERATION_UNSPECIFIED": 0,
"IGNORE_NEW": 1,
"MOVE_TO_CALLS": 2,
}
var VariantAnnotation_ClinicalSignificance_name = map[int32]string{
0: "CLINICAL_SIGNIFICANCE_UNSPECIFIED",
1: "CLINICAL_SIGNIFICANCE_OTHER",
2: "UNCERTAIN",
3: "BENIGN",
4: "LIKELY_BENIGN",
5: "LIKELY_PATHOGENIC",
6: "PATHOGENIC",
7: "DRUG_RESPONSE",
8: "HISTOCOMPATIBILITY",
9: "CONFERS_SENSITIVITY",
10: "RISK_FACTOR",
11: "ASSOCIATION",
12: "PROTECTIVE",
13: "MULTIPLE_REPORTED",
}
var VariantAnnotation_ClinicalSignificance_value = map[string]int32{
"CLINICAL_SIGNIFICANCE_UNSPECIFIED": 0,
"CLINICAL_SIGNIFICANCE_OTHER": 1,
"UNCERTAIN": 2,
"BENIGN": 3,
"LIKELY_BENIGN": 4,
"LIKELY_PATHOGENIC": 5,
"PATHOGENIC": 6,
"DRUG_RESPONSE": 7,
"HISTOCOMPATIBILITY": 8,
"CONFERS_SENSITIVITY": 9,
"RISK_FACTOR": 10,
"ASSOCIATION": 11,
"PROTECTIVE": 12,
"MULTIPLE_REPORTED": 13,
}
var VariantAnnotation_Effect_name = map[int32]string{
0: "EFFECT_UNSPECIFIED",
1: "EFFECT_OTHER",
2: "FRAMESHIFT",
3: "FRAME_PRESERVING_INDEL",
4: "SYNONYMOUS_SNP",
5: "NONSYNONYMOUS_SNP",
6: "STOP_GAIN",
7: "STOP_LOSS",
8: "SPLICE_SITE_DISRUPTION",
}
var VariantAnnotation_Effect_value = map[string]int32{
"EFFECT_UNSPECIFIED": 0,
"EFFECT_OTHER": 1,
"FRAMESHIFT": 2,
"FRAME_PRESERVING_INDEL": 3,
"SYNONYMOUS_SNP": 4,
"NONSYNONYMOUS_SNP": 5,
"STOP_GAIN": 6,
"STOP_LOSS": 7,
"SPLICE_SITE_DISRUPTION": 8,
}
var VariantAnnotation_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "TYPE_OTHER",
2: "INSERTION",
3: "DELETION",
4: "SUBSTITUTION",
5: "SNP",
6: "STRUCTURAL",
7: "CNV",
}
var VariantAnnotation_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"TYPE_OTHER": 1,
"INSERTION": 2,
"DELETION": 3,
"SUBSTITUTION": 4,
"SNP": 5,
"STRUCTURAL": 6,
"CNV": 7,
}
var VariantSetMetadata_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "INTEGER",
2: "FLOAT",
3: "FLAG",
4: "CHARACTER",
5: "STRING",
}
var VariantSetMetadata_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"INTEGER": 1,
"FLOAT": 2,
"FLAG": 3,
"CHARACTER": 4,
"STRING": 5,
}
Functions ¶
func RegisterAnnotationServiceV1Server ¶
func RegisterAnnotationServiceV1Server(s *grpc.Server, srv AnnotationServiceV1Server)
func RegisterDatasetServiceV1Server ¶
func RegisterDatasetServiceV1Server(s *grpc.Server, srv DatasetServiceV1Server)
func RegisterReadServiceV1Server ¶
func RegisterReadServiceV1Server(s *grpc.Server, srv ReadServiceV1Server)
func RegisterReferenceServiceV1Server ¶
func RegisterReferenceServiceV1Server(s *grpc.Server, srv ReferenceServiceV1Server)
func RegisterStreamingReadServiceServer ¶
func RegisterStreamingReadServiceServer(s *grpc.Server, srv StreamingReadServiceServer)
func RegisterStreamingVariantServiceServer ¶
func RegisterStreamingVariantServiceServer(s *grpc.Server, srv StreamingVariantServiceServer)
func RegisterVariantServiceV1Server ¶
func RegisterVariantServiceV1Server(s *grpc.Server, srv VariantServiceV1Server)
Types ¶
type Annotation ¶
type Annotation struct { // The server-generated annotation ID, unique across all annotations. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The annotation set to which this annotation belongs. AnnotationSetId string `protobuf:"bytes,2,opt,name=annotation_set_id,json=annotationSetId" json:"annotation_set_id,omitempty"` // The display name of this annotation. Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // The ID of the Google Genomics reference associated with this range. ReferenceId string `protobuf:"bytes,4,opt,name=reference_id,json=referenceId" json:"reference_id,omitempty"` // The display name corresponding to the reference specified by // `referenceId`, for example `chr1`, `1`, or `chrX`. ReferenceName string `protobuf:"bytes,5,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The start position of the range on the reference, 0-based inclusive. Start int64 `protobuf:"varint,6,opt,name=start" json:"start,omitempty"` // The end position of the range on the reference, 0-based exclusive. End int64 `protobuf:"varint,7,opt,name=end" json:"end,omitempty"` // Whether this range refers to the reverse strand, as opposed to the forward // strand. Note that regardless of this field, the start/end position of the // range always refer to the forward strand. ReverseStrand bool `protobuf:"varint,8,opt,name=reverse_strand,json=reverseStrand" json:"reverse_strand,omitempty"` // The data type for this annotation. Must match the containing annotation // set's type. Type AnnotationType `protobuf:"varint,9,opt,name=type,enum=google.genomics.v1.AnnotationType" json:"type,omitempty"` // Types that are valid to be assigned to Value: // *Annotation_Variant // *Annotation_Transcript Value isAnnotation_Value `protobuf_oneof:"value"` // A map of additional read alignment information. This must be of the form // map<string, string[]> (string key mapping to a list of string values). Info map[string]*google_protobuf3.ListValue `` /* 129-byte string literal not displayed */ }
An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. An annotation is not inherently associated with a specific sample or individual (though a client could choose to use annotations in this way). Example canonical annotation types are `GENE` and `VARIANT`.
func (*Annotation) Descriptor ¶
func (*Annotation) Descriptor() ([]byte, []int)
func (*Annotation) GetAnnotationSetId ¶
func (m *Annotation) GetAnnotationSetId() string
func (*Annotation) GetEnd ¶
func (m *Annotation) GetEnd() int64
func (*Annotation) GetId ¶
func (m *Annotation) GetId() string
func (*Annotation) GetInfo ¶
func (m *Annotation) GetInfo() map[string]*google_protobuf3.ListValue
func (*Annotation) GetName ¶
func (m *Annotation) GetName() string
func (*Annotation) GetReferenceId ¶
func (m *Annotation) GetReferenceId() string
func (*Annotation) GetReferenceName ¶
func (m *Annotation) GetReferenceName() string
func (*Annotation) GetReverseStrand ¶
func (m *Annotation) GetReverseStrand() bool
func (*Annotation) GetStart ¶
func (m *Annotation) GetStart() int64
func (*Annotation) GetTranscript ¶
func (m *Annotation) GetTranscript() *Transcript
func (*Annotation) GetType ¶
func (m *Annotation) GetType() AnnotationType
func (*Annotation) GetValue ¶
func (m *Annotation) GetValue() isAnnotation_Value
func (*Annotation) GetVariant ¶
func (m *Annotation) GetVariant() *VariantAnnotation
func (*Annotation) ProtoMessage ¶
func (*Annotation) ProtoMessage()
func (*Annotation) Reset ¶
func (m *Annotation) Reset()
func (*Annotation) String ¶
func (m *Annotation) String() string
func (*Annotation) XXX_OneofFuncs ¶
func (*Annotation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type AnnotationServiceV1Client ¶
type AnnotationServiceV1Client interface { // Creates a new annotation set. Caller must have WRITE permission for the // associated dataset. // // The following fields are required: // // * [datasetId][google.genomics.v1.AnnotationSet.dataset_id] // * [referenceSetId][google.genomics.v1.AnnotationSet.reference_set_id] // // All other fields may be optionally specified, unless documented as being // server-generated (for example, the `id` field). CreateAnnotationSet(ctx context.Context, in *CreateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) // Gets an annotation set. Caller must have READ permission for // the associated dataset. GetAnnotationSet(ctx context.Context, in *GetAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) // Updates an annotation set. The update must respect all mutability // restrictions and other invariants described on the annotation set resource. // Caller must have WRITE permission for the associated dataset. UpdateAnnotationSet(ctx context.Context, in *UpdateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) // Deletes an annotation set. Caller must have WRITE permission // for the associated annotation set. DeleteAnnotationSet(ctx context.Context, in *DeleteAnnotationSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Searches for annotation sets that match the given criteria. Annotation sets // are returned in an unspecified order. This order is consistent, such that // two queries for the same content (regardless of page size) yield annotation // sets in the same order across their respective streams of paginated // responses. Caller must have READ permission for the queried datasets. SearchAnnotationSets(ctx context.Context, in *SearchAnnotationSetsRequest, opts ...grpc.CallOption) (*SearchAnnotationSetsResponse, error) // Creates a new annotation. Caller must have WRITE permission // for the associated annotation set. // // The following fields are required: // // * [annotationSetId][google.genomics.v1.Annotation.annotation_set_id] // * [referenceName][google.genomics.v1.Annotation.reference_name] or // [referenceId][google.genomics.v1.Annotation.reference_id] // // ### Transcripts // // For annotations of type TRANSCRIPT, the following fields of // [transcript][google.genomics.v1.Annotation.transcript] must be provided: // // * [exons.start][google.genomics.v1.Transcript.Exon.start] // * [exons.end][google.genomics.v1.Transcript.Exon.end] // // All other fields may be optionally specified, unless documented as being // server-generated (for example, the `id` field). The annotated // range must be no longer than 100Mbp (mega base pairs). See the // [Annotation resource][google.genomics.v1.Annotation] // for additional restrictions on each field. CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) // Creates one or more new annotations atomically. All annotations must // belong to the same annotation set. Caller must have WRITE // permission for this annotation set. For optimal performance, batch // positionally adjacent annotations together. // // If the request has a systemic issue, such as an attempt to write to // an inaccessible annotation set, the entire RPC will fail accordingly. For // lesser data issues, when possible an error will be isolated to the // corresponding batch entry in the response; the remaining well formed // annotations will be created normally. // // For details on the requirements for each individual annotation resource, // see // [CreateAnnotation][google.genomics.v1.AnnotationServiceV1.CreateAnnotation]. BatchCreateAnnotations(ctx context.Context, in *BatchCreateAnnotationsRequest, opts ...grpc.CallOption) (*BatchCreateAnnotationsResponse, error) // Gets an annotation. Caller must have READ permission // for the associated annotation set. GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) // Updates an annotation. Caller must have // WRITE permission for the associated dataset. UpdateAnnotation(ctx context.Context, in *UpdateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) // Deletes an annotation. Caller must have WRITE permission for // the associated annotation set. DeleteAnnotation(ctx context.Context, in *DeleteAnnotationRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Searches for annotations that match the given criteria. Results are // ordered by genomic coordinate (by reference sequence, then position). // Annotations with equivalent genomic coordinates are returned in an // unspecified order. This order is consistent, such that two queries for the // same content (regardless of page size) yield annotations in the same order // across their respective streams of paginated responses. Caller must have // READ permission for the queried annotation sets. SearchAnnotations(ctx context.Context, in *SearchAnnotationsRequest, opts ...grpc.CallOption) (*SearchAnnotationsResponse, error) }
func NewAnnotationServiceV1Client ¶
func NewAnnotationServiceV1Client(cc *grpc.ClientConn) AnnotationServiceV1Client
type AnnotationServiceV1Server ¶
type AnnotationServiceV1Server interface { // Creates a new annotation set. Caller must have WRITE permission for the // associated dataset. // // The following fields are required: // // * [datasetId][google.genomics.v1.AnnotationSet.dataset_id] // * [referenceSetId][google.genomics.v1.AnnotationSet.reference_set_id] // // All other fields may be optionally specified, unless documented as being // server-generated (for example, the `id` field). CreateAnnotationSet(context.Context, *CreateAnnotationSetRequest) (*AnnotationSet, error) // Gets an annotation set. Caller must have READ permission for // the associated dataset. GetAnnotationSet(context.Context, *GetAnnotationSetRequest) (*AnnotationSet, error) // Updates an annotation set. The update must respect all mutability // restrictions and other invariants described on the annotation set resource. // Caller must have WRITE permission for the associated dataset. UpdateAnnotationSet(context.Context, *UpdateAnnotationSetRequest) (*AnnotationSet, error) // Deletes an annotation set. Caller must have WRITE permission // for the associated annotation set. DeleteAnnotationSet(context.Context, *DeleteAnnotationSetRequest) (*google_protobuf1.Empty, error) // Searches for annotation sets that match the given criteria. Annotation sets // are returned in an unspecified order. This order is consistent, such that // two queries for the same content (regardless of page size) yield annotation // sets in the same order across their respective streams of paginated // responses. Caller must have READ permission for the queried datasets. SearchAnnotationSets(context.Context, *SearchAnnotationSetsRequest) (*SearchAnnotationSetsResponse, error) // Creates a new annotation. Caller must have WRITE permission // for the associated annotation set. // // The following fields are required: // // * [annotationSetId][google.genomics.v1.Annotation.annotation_set_id] // * [referenceName][google.genomics.v1.Annotation.reference_name] or // [referenceId][google.genomics.v1.Annotation.reference_id] // // ### Transcripts // // For annotations of type TRANSCRIPT, the following fields of // [transcript][google.genomics.v1.Annotation.transcript] must be provided: // // * [exons.start][google.genomics.v1.Transcript.Exon.start] // * [exons.end][google.genomics.v1.Transcript.Exon.end] // // All other fields may be optionally specified, unless documented as being // server-generated (for example, the `id` field). The annotated // range must be no longer than 100Mbp (mega base pairs). See the // [Annotation resource][google.genomics.v1.Annotation] // for additional restrictions on each field. CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error) // Creates one or more new annotations atomically. All annotations must // belong to the same annotation set. Caller must have WRITE // permission for this annotation set. For optimal performance, batch // positionally adjacent annotations together. // // If the request has a systemic issue, such as an attempt to write to // an inaccessible annotation set, the entire RPC will fail accordingly. For // lesser data issues, when possible an error will be isolated to the // corresponding batch entry in the response; the remaining well formed // annotations will be created normally. // // For details on the requirements for each individual annotation resource, // see // [CreateAnnotation][google.genomics.v1.AnnotationServiceV1.CreateAnnotation]. BatchCreateAnnotations(context.Context, *BatchCreateAnnotationsRequest) (*BatchCreateAnnotationsResponse, error) // Gets an annotation. Caller must have READ permission // for the associated annotation set. GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error) // Updates an annotation. Caller must have // WRITE permission for the associated dataset. UpdateAnnotation(context.Context, *UpdateAnnotationRequest) (*Annotation, error) // Deletes an annotation. Caller must have WRITE permission for // the associated annotation set. DeleteAnnotation(context.Context, *DeleteAnnotationRequest) (*google_protobuf1.Empty, error) // Searches for annotations that match the given criteria. Results are // ordered by genomic coordinate (by reference sequence, then position). // Annotations with equivalent genomic coordinates are returned in an // unspecified order. This order is consistent, such that two queries for the // same content (regardless of page size) yield annotations in the same order // across their respective streams of paginated responses. Caller must have // READ permission for the queried annotation sets. SearchAnnotations(context.Context, *SearchAnnotationsRequest) (*SearchAnnotationsResponse, error) }
type AnnotationSet ¶
type AnnotationSet struct { // The server-generated annotation set ID, unique across all annotation sets. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The dataset to which this annotation set belongs. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` // The ID of the reference set that defines the coordinate space for this // set's annotations. ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"` // The display name for this annotation set. Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` // The source URI describing the file from which this annotation set was // generated, if any. SourceUri string `protobuf:"bytes,5,opt,name=source_uri,json=sourceUri" json:"source_uri,omitempty"` // The type of annotations contained within this set. Type AnnotationType `protobuf:"varint,6,opt,name=type,enum=google.genomics.v1.AnnotationType" json:"type,omitempty"` // A map of additional read alignment information. This must be of the form // map<string, string[]> (string key mapping to a list of string values). Info map[string]*google_protobuf3.ListValue `` /* 129-byte string literal not displayed */ }
An annotation set is a logical grouping of annotations that share consistent type information and provenance. Examples of annotation sets include 'all genes from refseq', and 'all variant annotations from ClinVar'.
func (*AnnotationSet) Descriptor ¶
func (*AnnotationSet) Descriptor() ([]byte, []int)
func (*AnnotationSet) GetDatasetId ¶
func (m *AnnotationSet) GetDatasetId() string
func (*AnnotationSet) GetId ¶
func (m *AnnotationSet) GetId() string
func (*AnnotationSet) GetInfo ¶
func (m *AnnotationSet) GetInfo() map[string]*google_protobuf3.ListValue
func (*AnnotationSet) GetName ¶
func (m *AnnotationSet) GetName() string
func (*AnnotationSet) GetReferenceSetId ¶
func (m *AnnotationSet) GetReferenceSetId() string
func (*AnnotationSet) GetSourceUri ¶
func (m *AnnotationSet) GetSourceUri() string
func (*AnnotationSet) GetType ¶
func (m *AnnotationSet) GetType() AnnotationType
func (*AnnotationSet) ProtoMessage ¶
func (*AnnotationSet) ProtoMessage()
func (*AnnotationSet) Reset ¶
func (m *AnnotationSet) Reset()
func (*AnnotationSet) String ¶
func (m *AnnotationSet) String() string
type AnnotationType ¶
type AnnotationType int32
When an Annotation[google.genomics.v1.Annotation] or AnnotationSet[google.genomics.v1.AnnotationSet] is created, if `type` is not specified it will be set to `GENERIC`.
const ( AnnotationType_ANNOTATION_TYPE_UNSPECIFIED AnnotationType = 0 // A `GENERIC` annotation type should be used when no other annotation // type will suffice. This represents an untyped annotation of the reference // genome. AnnotationType_GENERIC AnnotationType = 1 // A `VARIANT` annotation type. AnnotationType_VARIANT AnnotationType = 2 // A `GENE` annotation type represents the existence of a gene at the // associated reference coordinates. The start coordinate is typically the // gene's transcription start site and the end is typically the end of the // gene's last exon. AnnotationType_GENE AnnotationType = 3 // A `TRANSCRIPT` annotation type represents the assertion that a // particular region of the reference genome may be transcribed as RNA. AnnotationType_TRANSCRIPT AnnotationType = 4 )
func (AnnotationType) EnumDescriptor ¶
func (AnnotationType) EnumDescriptor() ([]byte, []int)
func (AnnotationType) String ¶
func (x AnnotationType) String() string
type Annotation_Transcript ¶
type Annotation_Transcript struct {
Transcript *Transcript `protobuf:"bytes,11,opt,name=transcript,oneof"`
}
type Annotation_Variant ¶
type Annotation_Variant struct {
Variant *VariantAnnotation `protobuf:"bytes,10,opt,name=variant,oneof"`
}
type BatchCreateAnnotationsRequest ¶
type BatchCreateAnnotationsRequest struct { // The annotations to be created. At most 4096 can be specified in a single // request. Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations" json:"annotations,omitempty"` // A unique request ID which enables the server to detect duplicated requests. // If provided, duplicated requests will result in the same response; if not // provided, duplicated requests may result in duplicated data. For a given // annotation set, callers should not reuse `request_id`s when writing // different batches of annotations - behavior in this case is undefined. // A common approach is to use a UUID. For batch jobs where worker crashes are // a possibility, consider using some unique variant of a worker or run ID. RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId" json:"request_id,omitempty"` }
func (*BatchCreateAnnotationsRequest) Descriptor ¶
func (*BatchCreateAnnotationsRequest) Descriptor() ([]byte, []int)
func (*BatchCreateAnnotationsRequest) GetAnnotations ¶
func (m *BatchCreateAnnotationsRequest) GetAnnotations() []*Annotation
func (*BatchCreateAnnotationsRequest) GetRequestId ¶
func (m *BatchCreateAnnotationsRequest) GetRequestId() string
func (*BatchCreateAnnotationsRequest) ProtoMessage ¶
func (*BatchCreateAnnotationsRequest) ProtoMessage()
func (*BatchCreateAnnotationsRequest) Reset ¶
func (m *BatchCreateAnnotationsRequest) Reset()
func (*BatchCreateAnnotationsRequest) String ¶
func (m *BatchCreateAnnotationsRequest) String() string
type BatchCreateAnnotationsResponse ¶
type BatchCreateAnnotationsResponse struct { // The resulting per-annotation entries, ordered consistently with the // original request. Entries []*BatchCreateAnnotationsResponse_Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"` }
func (*BatchCreateAnnotationsResponse) Descriptor ¶
func (*BatchCreateAnnotationsResponse) Descriptor() ([]byte, []int)
func (*BatchCreateAnnotationsResponse) GetEntries ¶
func (m *BatchCreateAnnotationsResponse) GetEntries() []*BatchCreateAnnotationsResponse_Entry
func (*BatchCreateAnnotationsResponse) ProtoMessage ¶
func (*BatchCreateAnnotationsResponse) ProtoMessage()
func (*BatchCreateAnnotationsResponse) Reset ¶
func (m *BatchCreateAnnotationsResponse) Reset()
func (*BatchCreateAnnotationsResponse) String ¶
func (m *BatchCreateAnnotationsResponse) String() string
type BatchCreateAnnotationsResponse_Entry ¶
type BatchCreateAnnotationsResponse_Entry struct { // The creation status. Status *google_rpc.Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` // The created annotation, if creation was successful. Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation" json:"annotation,omitempty"` }
func (*BatchCreateAnnotationsResponse_Entry) Descriptor ¶
func (*BatchCreateAnnotationsResponse_Entry) Descriptor() ([]byte, []int)
func (*BatchCreateAnnotationsResponse_Entry) GetAnnotation ¶
func (m *BatchCreateAnnotationsResponse_Entry) GetAnnotation() *Annotation
func (*BatchCreateAnnotationsResponse_Entry) GetStatus ¶
func (m *BatchCreateAnnotationsResponse_Entry) GetStatus() *google_rpc.Status
func (*BatchCreateAnnotationsResponse_Entry) ProtoMessage ¶
func (*BatchCreateAnnotationsResponse_Entry) ProtoMessage()
func (*BatchCreateAnnotationsResponse_Entry) Reset ¶
func (m *BatchCreateAnnotationsResponse_Entry) Reset()
func (*BatchCreateAnnotationsResponse_Entry) String ¶
func (m *BatchCreateAnnotationsResponse_Entry) String() string
type CallSet ¶
type CallSet struct { // The server-generated call set ID, unique across all call sets. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The call set name. Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // The sample ID this call set corresponds to. SampleId string `protobuf:"bytes,7,opt,name=sample_id,json=sampleId" json:"sample_id,omitempty"` // The IDs of the variant sets this call set belongs to. This field must // have exactly length one, as a call set belongs to a single variant set. // This field is repeated for compatibility with the // [GA4GH 0.5.1 // API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76). VariantSetIds []string `protobuf:"bytes,6,rep,name=variant_set_ids,json=variantSetIds" json:"variant_set_ids,omitempty"` // The date this call set was created in milliseconds from the epoch. Created int64 `protobuf:"varint,5,opt,name=created" json:"created,omitempty"` // A map of additional call set information. This must be of the form // map<string, string[]> (string key mapping to a list of string values). Info map[string]*google_protobuf3.ListValue `` /* 128-byte string literal not displayed */ }
A call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
func (*CallSet) Descriptor ¶
func (*CallSet) GetCreated ¶
func (*CallSet) GetSampleId ¶
func (*CallSet) GetVariantSetIds ¶
func (*CallSet) ProtoMessage ¶
func (*CallSet) ProtoMessage()
type CigarUnit ¶
type CigarUnit struct { Operation CigarUnit_Operation `protobuf:"varint,1,opt,name=operation,enum=google.genomics.v1.CigarUnit_Operation" json:"operation,omitempty"` // The number of genomic bases that the operation runs for. Required. OperationLength int64 `protobuf:"varint,2,opt,name=operation_length,json=operationLength" json:"operation_length,omitempty"` // `referenceSequence` is only used at mismatches // (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). // Filling this field replaces SAM's MD tag. If the relevant information is // not available, this field is unset. ReferenceSequence string `protobuf:"bytes,3,opt,name=reference_sequence,json=referenceSequence" json:"reference_sequence,omitempty"` }
A single CIGAR operation.
func (*CigarUnit) Descriptor ¶
func (*CigarUnit) GetOperation ¶
func (m *CigarUnit) GetOperation() CigarUnit_Operation
func (*CigarUnit) GetOperationLength ¶
func (*CigarUnit) GetReferenceSequence ¶
func (*CigarUnit) ProtoMessage ¶
func (*CigarUnit) ProtoMessage()
type CigarUnit_Operation ¶
type CigarUnit_Operation int32
Describes the different types of CIGAR alignment operations that exist. Used wherever CIGAR alignments are used.
const ( CigarUnit_OPERATION_UNSPECIFIED CigarUnit_Operation = 0 // An alignment match indicates that a sequence can be aligned to the // reference without evidence of an INDEL. Unlike the // `SEQUENCE_MATCH` and `SEQUENCE_MISMATCH` operators, // the `ALIGNMENT_MATCH` operator does not indicate whether the // reference and read sequences are an exact match. This operator is // equivalent to SAM's `M`. CigarUnit_ALIGNMENT_MATCH CigarUnit_Operation = 1 // The insert operator indicates that the read contains evidence of bases // being inserted into the reference. This operator is equivalent to SAM's // `I`. CigarUnit_INSERT CigarUnit_Operation = 2 // The delete operator indicates that the read contains evidence of bases // being deleted from the reference. This operator is equivalent to SAM's // `D`. CigarUnit_DELETE CigarUnit_Operation = 3 // The skip operator indicates that this read skips a long segment of the // reference, but the bases have not been deleted. This operator is commonly // used when working with RNA-seq data, where reads may skip long segments // of the reference between exons. This operator is equivalent to SAM's // `N`. CigarUnit_SKIP CigarUnit_Operation = 4 // The soft clip operator indicates that bases at the start/end of a read // have not been considered during alignment. This may occur if the majority // of a read maps, except for low quality bases at the start/end of a read. // This operator is equivalent to SAM's `S`. Bases that are soft // clipped will still be stored in the read. CigarUnit_CLIP_SOFT CigarUnit_Operation = 5 // The hard clip operator indicates that bases at the start/end of a read // have been omitted from this alignment. This may occur if this linear // alignment is part of a chimeric alignment, or if the read has been // trimmed (for example, during error correction or to trim poly-A tails for // RNA-seq). This operator is equivalent to SAM's `H`. CigarUnit_CLIP_HARD CigarUnit_Operation = 6 // The pad operator indicates that there is padding in an alignment. This // operator is equivalent to SAM's `P`. CigarUnit_PAD CigarUnit_Operation = 7 // This operator indicates that this portion of the aligned sequence exactly // matches the reference. This operator is equivalent to SAM's `=`. CigarUnit_SEQUENCE_MATCH CigarUnit_Operation = 8 // This operator indicates that this portion of the aligned sequence is an // alignment match to the reference, but a sequence mismatch. This can // indicate a SNP or a read error. This operator is equivalent to SAM's // `X`. CigarUnit_SEQUENCE_MISMATCH CigarUnit_Operation = 9 )
func (CigarUnit_Operation) EnumDescriptor ¶
func (CigarUnit_Operation) EnumDescriptor() ([]byte, []int)
func (CigarUnit_Operation) String ¶
func (x CigarUnit_Operation) String() string
type CoverageBucket ¶
type CoverageBucket struct { // The genomic coordinate range spanned by this bucket. Range *Range `protobuf:"bytes,1,opt,name=range" json:"range,omitempty"` // The average number of reads which are aligned to each individual // reference base in this bucket. MeanCoverage float32 `protobuf:"fixed32,2,opt,name=mean_coverage,json=meanCoverage" json:"mean_coverage,omitempty"` }
A bucket over which read coverage has been precomputed. A bucket corresponds to a specific range of the reference sequence.
func (*CoverageBucket) Descriptor ¶
func (*CoverageBucket) Descriptor() ([]byte, []int)
func (*CoverageBucket) GetMeanCoverage ¶
func (m *CoverageBucket) GetMeanCoverage() float32
func (*CoverageBucket) GetRange ¶
func (m *CoverageBucket) GetRange() *Range
func (*CoverageBucket) ProtoMessage ¶
func (*CoverageBucket) ProtoMessage()
func (*CoverageBucket) Reset ¶
func (m *CoverageBucket) Reset()
func (*CoverageBucket) String ¶
func (m *CoverageBucket) String() string
type CreateAnnotationRequest ¶
type CreateAnnotationRequest struct { // The annotation to be created. Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation" json:"annotation,omitempty"` }
func (*CreateAnnotationRequest) Descriptor ¶
func (*CreateAnnotationRequest) Descriptor() ([]byte, []int)
func (*CreateAnnotationRequest) GetAnnotation ¶
func (m *CreateAnnotationRequest) GetAnnotation() *Annotation
func (*CreateAnnotationRequest) ProtoMessage ¶
func (*CreateAnnotationRequest) ProtoMessage()
func (*CreateAnnotationRequest) Reset ¶
func (m *CreateAnnotationRequest) Reset()
func (*CreateAnnotationRequest) String ¶
func (m *CreateAnnotationRequest) String() string
type CreateAnnotationSetRequest ¶
type CreateAnnotationSetRequest struct { // The annotation set to create. AnnotationSet *AnnotationSet `protobuf:"bytes,1,opt,name=annotation_set,json=annotationSet" json:"annotation_set,omitempty"` }
func (*CreateAnnotationSetRequest) Descriptor ¶
func (*CreateAnnotationSetRequest) Descriptor() ([]byte, []int)
func (*CreateAnnotationSetRequest) GetAnnotationSet ¶
func (m *CreateAnnotationSetRequest) GetAnnotationSet() *AnnotationSet
func (*CreateAnnotationSetRequest) ProtoMessage ¶
func (*CreateAnnotationSetRequest) ProtoMessage()
func (*CreateAnnotationSetRequest) Reset ¶
func (m *CreateAnnotationSetRequest) Reset()
func (*CreateAnnotationSetRequest) String ¶
func (m *CreateAnnotationSetRequest) String() string
type CreateCallSetRequest ¶
type CreateCallSetRequest struct { // The call set to be created. CallSet *CallSet `protobuf:"bytes,1,opt,name=call_set,json=callSet" json:"call_set,omitempty"` }
func (*CreateCallSetRequest) Descriptor ¶
func (*CreateCallSetRequest) Descriptor() ([]byte, []int)
func (*CreateCallSetRequest) GetCallSet ¶
func (m *CreateCallSetRequest) GetCallSet() *CallSet
func (*CreateCallSetRequest) ProtoMessage ¶
func (*CreateCallSetRequest) ProtoMessage()
func (*CreateCallSetRequest) Reset ¶
func (m *CreateCallSetRequest) Reset()
func (*CreateCallSetRequest) String ¶
func (m *CreateCallSetRequest) String() string
type CreateDatasetRequest ¶
type CreateDatasetRequest struct { // The dataset to be created. Must contain projectId and name. Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset" json:"dataset,omitempty"` }
func (*CreateDatasetRequest) Descriptor ¶
func (*CreateDatasetRequest) Descriptor() ([]byte, []int)
func (*CreateDatasetRequest) GetDataset ¶
func (m *CreateDatasetRequest) GetDataset() *Dataset
func (*CreateDatasetRequest) ProtoMessage ¶
func (*CreateDatasetRequest) ProtoMessage()
func (*CreateDatasetRequest) Reset ¶
func (m *CreateDatasetRequest) Reset()
func (*CreateDatasetRequest) String ¶
func (m *CreateDatasetRequest) String() string
type CreateVariantRequest ¶
type CreateVariantRequest struct { // The variant to be created. Variant *Variant `protobuf:"bytes,1,opt,name=variant" json:"variant,omitempty"` }
func (*CreateVariantRequest) Descriptor ¶
func (*CreateVariantRequest) Descriptor() ([]byte, []int)
func (*CreateVariantRequest) GetVariant ¶
func (m *CreateVariantRequest) GetVariant() *Variant
func (*CreateVariantRequest) ProtoMessage ¶
func (*CreateVariantRequest) ProtoMessage()
func (*CreateVariantRequest) Reset ¶
func (m *CreateVariantRequest) Reset()
func (*CreateVariantRequest) String ¶
func (m *CreateVariantRequest) String() string
type CreateVariantSetRequest ¶
type CreateVariantSetRequest struct { // Required. The variant set to be created. Must have a valid `datasetId`. VariantSet *VariantSet `protobuf:"bytes,1,opt,name=variant_set,json=variantSet" json:"variant_set,omitempty"` }
The CreateVariantSet request
func (*CreateVariantSetRequest) Descriptor ¶
func (*CreateVariantSetRequest) Descriptor() ([]byte, []int)
func (*CreateVariantSetRequest) GetVariantSet ¶
func (m *CreateVariantSetRequest) GetVariantSet() *VariantSet
func (*CreateVariantSetRequest) ProtoMessage ¶
func (*CreateVariantSetRequest) ProtoMessage()
func (*CreateVariantSetRequest) Reset ¶
func (m *CreateVariantSetRequest) Reset()
func (*CreateVariantSetRequest) String ¶
func (m *CreateVariantSetRequest) String() string
type Dataset ¶
type Dataset struct { // The server-generated dataset ID, unique across all datasets. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The Google Cloud project ID that this dataset belongs to. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // The dataset name. Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // The time this dataset was created, in seconds from the epoch. CreateTime *google_protobuf6.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime" json:"create_time,omitempty"` }
A Dataset is a collection of genomic data.
For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
func (*Dataset) Descriptor ¶
func (*Dataset) GetCreateTime ¶
func (m *Dataset) GetCreateTime() *google_protobuf6.Timestamp
func (*Dataset) GetProjectId ¶
func (*Dataset) ProtoMessage ¶
func (*Dataset) ProtoMessage()
type DatasetServiceV1Client ¶
type DatasetServiceV1Client interface { // Lists datasets within a project. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) // Creates a new dataset. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) CreateDataset(ctx context.Context, in *CreateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Gets a dataset by ID. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Updates a dataset. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This method supports patch semantics. UpdateDataset(ctx context.Context, in *UpdateDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Deletes a dataset and all of its contents (all read group sets, // reference sets, variant sets, call sets, annotation sets, etc.) // This is reversible (up to one week after the deletion) via // the // [datasets.undelete][google.genomics.v1.DatasetServiceV1.UndeleteDataset] // operation. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Undeletes a dataset by restoring a dataset which was deleted via this API. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This operation is only possible for a week after the deletion occurred. UndeleteDataset(ctx context.Context, in *UndeleteDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Sets the access control policy on the specified dataset. Replaces any // existing policy. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a // Policy</a> for more information. SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) // Gets the access control policy for the dataset. This is empty if the // policy or resource does not exist. // // See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a // Policy</a> for more information. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) // Returns permissions that a caller has on the specified resource. // See <a href="/iam/docs/managing-policies#testing_permissions">Testing // Permissions</a> for more information. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error) }
func NewDatasetServiceV1Client ¶
func NewDatasetServiceV1Client(cc *grpc.ClientConn) DatasetServiceV1Client
type DatasetServiceV1Server ¶
type DatasetServiceV1Server interface { // Lists datasets within a project. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) // Creates a new dataset. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) CreateDataset(context.Context, *CreateDatasetRequest) (*Dataset, error) // Gets a dataset by ID. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) // Updates a dataset. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This method supports patch semantics. UpdateDataset(context.Context, *UpdateDatasetRequest) (*Dataset, error) // Deletes a dataset and all of its contents (all read group sets, // reference sets, variant sets, call sets, annotation sets, etc.) // This is reversible (up to one week after the deletion) via // the // [datasets.undelete][google.genomics.v1.DatasetServiceV1.UndeleteDataset] // operation. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteDataset(context.Context, *DeleteDatasetRequest) (*google_protobuf1.Empty, error) // Undeletes a dataset by restoring a dataset which was deleted via this API. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This operation is only possible for a week after the deletion occurred. UndeleteDataset(context.Context, *UndeleteDatasetRequest) (*Dataset, error) // Sets the access control policy on the specified dataset. Replaces any // existing policy. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a // Policy</a> for more information. SetIamPolicy(context.Context, *google_iam_v11.SetIamPolicyRequest) (*google_iam_v1.Policy, error) // Gets the access control policy for the dataset. This is empty if the // policy or resource does not exist. // // See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a // Policy</a> for more information. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetIamPolicy(context.Context, *google_iam_v11.GetIamPolicyRequest) (*google_iam_v1.Policy, error) // Returns permissions that a caller has on the specified resource. // See <a href="/iam/docs/managing-policies#testing_permissions">Testing // Permissions</a> for more information. // // For the definitions of datasets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) TestIamPermissions(context.Context, *google_iam_v11.TestIamPermissionsRequest) (*google_iam_v11.TestIamPermissionsResponse, error) }
type DeleteAnnotationRequest ¶
type DeleteAnnotationRequest struct { // The ID of the annotation to be deleted. AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId" json:"annotation_id,omitempty"` }
func (*DeleteAnnotationRequest) Descriptor ¶
func (*DeleteAnnotationRequest) Descriptor() ([]byte, []int)
func (*DeleteAnnotationRequest) GetAnnotationId ¶
func (m *DeleteAnnotationRequest) GetAnnotationId() string
func (*DeleteAnnotationRequest) ProtoMessage ¶
func (*DeleteAnnotationRequest) ProtoMessage()
func (*DeleteAnnotationRequest) Reset ¶
func (m *DeleteAnnotationRequest) Reset()
func (*DeleteAnnotationRequest) String ¶
func (m *DeleteAnnotationRequest) String() string
type DeleteAnnotationSetRequest ¶
type DeleteAnnotationSetRequest struct { // The ID of the annotation set to be deleted. AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId" json:"annotation_set_id,omitempty"` }
func (*DeleteAnnotationSetRequest) Descriptor ¶
func (*DeleteAnnotationSetRequest) Descriptor() ([]byte, []int)
func (*DeleteAnnotationSetRequest) GetAnnotationSetId ¶
func (m *DeleteAnnotationSetRequest) GetAnnotationSetId() string
func (*DeleteAnnotationSetRequest) ProtoMessage ¶
func (*DeleteAnnotationSetRequest) ProtoMessage()
func (*DeleteAnnotationSetRequest) Reset ¶
func (m *DeleteAnnotationSetRequest) Reset()
func (*DeleteAnnotationSetRequest) String ¶
func (m *DeleteAnnotationSetRequest) String() string
type DeleteCallSetRequest ¶
type DeleteCallSetRequest struct { // The ID of the call set to be deleted. CallSetId string `protobuf:"bytes,1,opt,name=call_set_id,json=callSetId" json:"call_set_id,omitempty"` }
func (*DeleteCallSetRequest) Descriptor ¶
func (*DeleteCallSetRequest) Descriptor() ([]byte, []int)
func (*DeleteCallSetRequest) GetCallSetId ¶
func (m *DeleteCallSetRequest) GetCallSetId() string
func (*DeleteCallSetRequest) ProtoMessage ¶
func (*DeleteCallSetRequest) ProtoMessage()
func (*DeleteCallSetRequest) Reset ¶
func (m *DeleteCallSetRequest) Reset()
func (*DeleteCallSetRequest) String ¶
func (m *DeleteCallSetRequest) String() string
type DeleteDatasetRequest ¶
type DeleteDatasetRequest struct { // The ID of the dataset to be deleted. DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` }
func (*DeleteDatasetRequest) Descriptor ¶
func (*DeleteDatasetRequest) Descriptor() ([]byte, []int)
func (*DeleteDatasetRequest) GetDatasetId ¶
func (m *DeleteDatasetRequest) GetDatasetId() string
func (*DeleteDatasetRequest) ProtoMessage ¶
func (*DeleteDatasetRequest) ProtoMessage()
func (*DeleteDatasetRequest) Reset ¶
func (m *DeleteDatasetRequest) Reset()
func (*DeleteDatasetRequest) String ¶
func (m *DeleteDatasetRequest) String() string
type DeleteReadGroupSetRequest ¶
type DeleteReadGroupSetRequest struct { // The ID of the read group set to be deleted. The caller must have WRITE // permissions to the dataset associated with this read group set. ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"` }
func (*DeleteReadGroupSetRequest) Descriptor ¶
func (*DeleteReadGroupSetRequest) Descriptor() ([]byte, []int)
func (*DeleteReadGroupSetRequest) GetReadGroupSetId ¶
func (m *DeleteReadGroupSetRequest) GetReadGroupSetId() string
func (*DeleteReadGroupSetRequest) ProtoMessage ¶
func (*DeleteReadGroupSetRequest) ProtoMessage()
func (*DeleteReadGroupSetRequest) Reset ¶
func (m *DeleteReadGroupSetRequest) Reset()
func (*DeleteReadGroupSetRequest) String ¶
func (m *DeleteReadGroupSetRequest) String() string
type DeleteVariantRequest ¶
type DeleteVariantRequest struct { // The ID of the variant to be deleted. VariantId string `protobuf:"bytes,1,opt,name=variant_id,json=variantId" json:"variant_id,omitempty"` }
func (*DeleteVariantRequest) Descriptor ¶
func (*DeleteVariantRequest) Descriptor() ([]byte, []int)
func (*DeleteVariantRequest) GetVariantId ¶
func (m *DeleteVariantRequest) GetVariantId() string
func (*DeleteVariantRequest) ProtoMessage ¶
func (*DeleteVariantRequest) ProtoMessage()
func (*DeleteVariantRequest) Reset ¶
func (m *DeleteVariantRequest) Reset()
func (*DeleteVariantRequest) String ¶
func (m *DeleteVariantRequest) String() string
type DeleteVariantSetRequest ¶
type DeleteVariantSetRequest struct { // The ID of the variant set to be deleted. VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId" json:"variant_set_id,omitempty"` }
The delete variant set request.
func (*DeleteVariantSetRequest) Descriptor ¶
func (*DeleteVariantSetRequest) Descriptor() ([]byte, []int)
func (*DeleteVariantSetRequest) GetVariantSetId ¶
func (m *DeleteVariantSetRequest) GetVariantSetId() string
func (*DeleteVariantSetRequest) ProtoMessage ¶
func (*DeleteVariantSetRequest) ProtoMessage()
func (*DeleteVariantSetRequest) Reset ¶
func (m *DeleteVariantSetRequest) Reset()
func (*DeleteVariantSetRequest) String ¶
func (m *DeleteVariantSetRequest) String() string
type ExportReadGroupSetRequest ¶
type ExportReadGroupSetRequest struct { // Required. The Google Cloud project ID that owns this // export. The caller must have WRITE access to this project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // Required. A Google Cloud Storage URI for the exported BAM file. // The currently authenticated user must have write access to the new file. // An error will be returned if the URI already contains data. ExportUri string `protobuf:"bytes,2,opt,name=export_uri,json=exportUri" json:"export_uri,omitempty"` // Required. The ID of the read group set to export. The caller must have // READ access to this read group set. ReadGroupSetId string `protobuf:"bytes,3,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"` // The reference names to export. If this is not specified, all reference // sequences, including unmapped reads, are exported. // Use `*` to export only unmapped reads. ReferenceNames []string `protobuf:"bytes,4,rep,name=reference_names,json=referenceNames" json:"reference_names,omitempty"` }
The read group set export request.
func (*ExportReadGroupSetRequest) Descriptor ¶
func (*ExportReadGroupSetRequest) Descriptor() ([]byte, []int)
func (*ExportReadGroupSetRequest) GetExportUri ¶
func (m *ExportReadGroupSetRequest) GetExportUri() string
func (*ExportReadGroupSetRequest) GetProjectId ¶
func (m *ExportReadGroupSetRequest) GetProjectId() string
func (*ExportReadGroupSetRequest) GetReadGroupSetId ¶
func (m *ExportReadGroupSetRequest) GetReadGroupSetId() string
func (*ExportReadGroupSetRequest) GetReferenceNames ¶
func (m *ExportReadGroupSetRequest) GetReferenceNames() []string
func (*ExportReadGroupSetRequest) ProtoMessage ¶
func (*ExportReadGroupSetRequest) ProtoMessage()
func (*ExportReadGroupSetRequest) Reset ¶
func (m *ExportReadGroupSetRequest) Reset()
func (*ExportReadGroupSetRequest) String ¶
func (m *ExportReadGroupSetRequest) String() string
type ExportVariantSetRequest ¶
type ExportVariantSetRequest struct { // Required. The ID of the variant set that contains variant data which // should be exported. The caller must have READ access to this variant set. VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId" json:"variant_set_id,omitempty"` // If provided, only variant call information from the specified call sets // will be exported. By default all variant calls are exported. CallSetIds []string `protobuf:"bytes,2,rep,name=call_set_ids,json=callSetIds" json:"call_set_ids,omitempty"` // Required. The Google Cloud project ID that owns the destination // BigQuery dataset. The caller must have WRITE access to this project. This // project will also own the resulting export job. ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // The format for the exported data. Format ExportVariantSetRequest_Format `protobuf:"varint,4,opt,name=format,enum=google.genomics.v1.ExportVariantSetRequest_Format" json:"format,omitempty"` // Required. The BigQuery dataset to export data to. This dataset must already // exist. Note that this is distinct from the Genomics concept of "dataset". BigqueryDataset string `protobuf:"bytes,5,opt,name=bigquery_dataset,json=bigqueryDataset" json:"bigquery_dataset,omitempty"` // Required. The BigQuery table to export data to. // If the table doesn't exist, it will be created. If it already exists, it // will be overwritten. BigqueryTable string `protobuf:"bytes,6,opt,name=bigquery_table,json=bigqueryTable" json:"bigquery_table,omitempty"` }
The variant data export request.
func (*ExportVariantSetRequest) Descriptor ¶
func (*ExportVariantSetRequest) Descriptor() ([]byte, []int)
func (*ExportVariantSetRequest) GetBigqueryDataset ¶
func (m *ExportVariantSetRequest) GetBigqueryDataset() string
func (*ExportVariantSetRequest) GetBigqueryTable ¶
func (m *ExportVariantSetRequest) GetBigqueryTable() string
func (*ExportVariantSetRequest) GetCallSetIds ¶
func (m *ExportVariantSetRequest) GetCallSetIds() []string
func (*ExportVariantSetRequest) GetFormat ¶
func (m *ExportVariantSetRequest) GetFormat() ExportVariantSetRequest_Format
func (*ExportVariantSetRequest) GetProjectId ¶
func (m *ExportVariantSetRequest) GetProjectId() string
func (*ExportVariantSetRequest) GetVariantSetId ¶
func (m *ExportVariantSetRequest) GetVariantSetId() string
func (*ExportVariantSetRequest) ProtoMessage ¶
func (*ExportVariantSetRequest) ProtoMessage()
func (*ExportVariantSetRequest) Reset ¶
func (m *ExportVariantSetRequest) Reset()
func (*ExportVariantSetRequest) String ¶
func (m *ExportVariantSetRequest) String() string
type ExportVariantSetRequest_Format ¶
type ExportVariantSetRequest_Format int32
const ( ExportVariantSetRequest_FORMAT_UNSPECIFIED ExportVariantSetRequest_Format = 0 // Export the data to Google BigQuery. ExportVariantSetRequest_FORMAT_BIGQUERY ExportVariantSetRequest_Format = 1 )
func (ExportVariantSetRequest_Format) EnumDescriptor ¶
func (ExportVariantSetRequest_Format) EnumDescriptor() ([]byte, []int)
func (ExportVariantSetRequest_Format) String ¶
func (x ExportVariantSetRequest_Format) String() string
type ExternalId ¶
type ExternalId struct { // The name of the source of this data. SourceName string `protobuf:"bytes,1,opt,name=source_name,json=sourceName" json:"source_name,omitempty"` // The id used by the source of this data. Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` }
func (*ExternalId) Descriptor ¶
func (*ExternalId) Descriptor() ([]byte, []int)
func (*ExternalId) GetId ¶
func (m *ExternalId) GetId() string
func (*ExternalId) GetSourceName ¶
func (m *ExternalId) GetSourceName() string
func (*ExternalId) ProtoMessage ¶
func (*ExternalId) ProtoMessage()
func (*ExternalId) Reset ¶
func (m *ExternalId) Reset()
func (*ExternalId) String ¶
func (m *ExternalId) String() string
type GetAnnotationRequest ¶
type GetAnnotationRequest struct { // The ID of the annotation to be retrieved. AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId" json:"annotation_id,omitempty"` }
func (*GetAnnotationRequest) Descriptor ¶
func (*GetAnnotationRequest) Descriptor() ([]byte, []int)
func (*GetAnnotationRequest) GetAnnotationId ¶
func (m *GetAnnotationRequest) GetAnnotationId() string
func (*GetAnnotationRequest) ProtoMessage ¶
func (*GetAnnotationRequest) ProtoMessage()
func (*GetAnnotationRequest) Reset ¶
func (m *GetAnnotationRequest) Reset()
func (*GetAnnotationRequest) String ¶
func (m *GetAnnotationRequest) String() string
type GetAnnotationSetRequest ¶
type GetAnnotationSetRequest struct { // The ID of the annotation set to be retrieved. AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId" json:"annotation_set_id,omitempty"` }
func (*GetAnnotationSetRequest) Descriptor ¶
func (*GetAnnotationSetRequest) Descriptor() ([]byte, []int)
func (*GetAnnotationSetRequest) GetAnnotationSetId ¶
func (m *GetAnnotationSetRequest) GetAnnotationSetId() string
func (*GetAnnotationSetRequest) ProtoMessage ¶
func (*GetAnnotationSetRequest) ProtoMessage()
func (*GetAnnotationSetRequest) Reset ¶
func (m *GetAnnotationSetRequest) Reset()
func (*GetAnnotationSetRequest) String ¶
func (m *GetAnnotationSetRequest) String() string
type GetCallSetRequest ¶
type GetCallSetRequest struct { // The ID of the call set. CallSetId string `protobuf:"bytes,1,opt,name=call_set_id,json=callSetId" json:"call_set_id,omitempty"` }
func (*GetCallSetRequest) Descriptor ¶
func (*GetCallSetRequest) Descriptor() ([]byte, []int)
func (*GetCallSetRequest) GetCallSetId ¶
func (m *GetCallSetRequest) GetCallSetId() string
func (*GetCallSetRequest) ProtoMessage ¶
func (*GetCallSetRequest) ProtoMessage()
func (*GetCallSetRequest) Reset ¶
func (m *GetCallSetRequest) Reset()
func (*GetCallSetRequest) String ¶
func (m *GetCallSetRequest) String() string
type GetDatasetRequest ¶
type GetDatasetRequest struct { // The ID of the dataset. DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` }
func (*GetDatasetRequest) Descriptor ¶
func (*GetDatasetRequest) Descriptor() ([]byte, []int)
func (*GetDatasetRequest) GetDatasetId ¶
func (m *GetDatasetRequest) GetDatasetId() string
func (*GetDatasetRequest) ProtoMessage ¶
func (*GetDatasetRequest) ProtoMessage()
func (*GetDatasetRequest) Reset ¶
func (m *GetDatasetRequest) Reset()
func (*GetDatasetRequest) String ¶
func (m *GetDatasetRequest) String() string
type GetReadGroupSetRequest ¶
type GetReadGroupSetRequest struct { // The ID of the read group set. ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"` }
func (*GetReadGroupSetRequest) Descriptor ¶
func (*GetReadGroupSetRequest) Descriptor() ([]byte, []int)
func (*GetReadGroupSetRequest) GetReadGroupSetId ¶
func (m *GetReadGroupSetRequest) GetReadGroupSetId() string
func (*GetReadGroupSetRequest) ProtoMessage ¶
func (*GetReadGroupSetRequest) ProtoMessage()
func (*GetReadGroupSetRequest) Reset ¶
func (m *GetReadGroupSetRequest) Reset()
func (*GetReadGroupSetRequest) String ¶
func (m *GetReadGroupSetRequest) String() string
type GetReferenceRequest ¶
type GetReferenceRequest struct { // The ID of the reference. ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId" json:"reference_id,omitempty"` }
func (*GetReferenceRequest) Descriptor ¶
func (*GetReferenceRequest) Descriptor() ([]byte, []int)
func (*GetReferenceRequest) GetReferenceId ¶
func (m *GetReferenceRequest) GetReferenceId() string
func (*GetReferenceRequest) ProtoMessage ¶
func (*GetReferenceRequest) ProtoMessage()
func (*GetReferenceRequest) Reset ¶
func (m *GetReferenceRequest) Reset()
func (*GetReferenceRequest) String ¶
func (m *GetReferenceRequest) String() string
type GetReferenceSetRequest ¶
type GetReferenceSetRequest struct { // The ID of the reference set. ReferenceSetId string `protobuf:"bytes,1,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"` }
func (*GetReferenceSetRequest) Descriptor ¶
func (*GetReferenceSetRequest) Descriptor() ([]byte, []int)
func (*GetReferenceSetRequest) GetReferenceSetId ¶
func (m *GetReferenceSetRequest) GetReferenceSetId() string
func (*GetReferenceSetRequest) ProtoMessage ¶
func (*GetReferenceSetRequest) ProtoMessage()
func (*GetReferenceSetRequest) Reset ¶
func (m *GetReferenceSetRequest) Reset()
func (*GetReferenceSetRequest) String ¶
func (m *GetReferenceSetRequest) String() string
type GetVariantRequest ¶
type GetVariantRequest struct { // The ID of the variant. VariantId string `protobuf:"bytes,1,opt,name=variant_id,json=variantId" json:"variant_id,omitempty"` }
func (*GetVariantRequest) Descriptor ¶
func (*GetVariantRequest) Descriptor() ([]byte, []int)
func (*GetVariantRequest) GetVariantId ¶
func (m *GetVariantRequest) GetVariantId() string
func (*GetVariantRequest) ProtoMessage ¶
func (*GetVariantRequest) ProtoMessage()
func (*GetVariantRequest) Reset ¶
func (m *GetVariantRequest) Reset()
func (*GetVariantRequest) String ¶
func (m *GetVariantRequest) String() string
type GetVariantSetRequest ¶
type GetVariantSetRequest struct { // Required. The ID of the variant set. VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId" json:"variant_set_id,omitempty"` }
The variant set request.
func (*GetVariantSetRequest) Descriptor ¶
func (*GetVariantSetRequest) Descriptor() ([]byte, []int)
func (*GetVariantSetRequest) GetVariantSetId ¶
func (m *GetVariantSetRequest) GetVariantSetId() string
func (*GetVariantSetRequest) ProtoMessage ¶
func (*GetVariantSetRequest) ProtoMessage()
func (*GetVariantSetRequest) Reset ¶
func (m *GetVariantSetRequest) Reset()
func (*GetVariantSetRequest) String ¶
func (m *GetVariantSetRequest) String() string
type ImportReadGroupSetsRequest ¶
type ImportReadGroupSetsRequest struct { // Required. The ID of the dataset these read group sets will belong to. The // caller must have WRITE permissions to this dataset. DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` // The reference set to which the imported read group sets are aligned to, if // any. The reference names of this reference set must be a superset of those // found in the imported file headers. If no reference set id is provided, a // best effort is made to associate with a matching reference set. ReferenceSetId string `protobuf:"bytes,4,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"` // A list of URIs pointing at [BAM // files](https://samtools.github.io/hts-specs/SAMv1.pdf) // in Google Cloud Storage. // Those URIs can include wildcards (*), but do not add or remove // matching files before import has completed. // // Note that Google Cloud Storage object listing is only eventually // consistent: files added may be not be immediately visible to // everyone. Thus, if using a wildcard it is preferable not to start // the import immediately after the files are created. SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris" json:"source_uris,omitempty"` // The partition strategy describes how read groups are partitioned into read // group sets. PartitionStrategy ImportReadGroupSetsRequest_PartitionStrategy `` /* 175-byte string literal not displayed */ }
The read group set import request.
func (*ImportReadGroupSetsRequest) Descriptor ¶
func (*ImportReadGroupSetsRequest) Descriptor() ([]byte, []int)
func (*ImportReadGroupSetsRequest) GetDatasetId ¶
func (m *ImportReadGroupSetsRequest) GetDatasetId() string
func (*ImportReadGroupSetsRequest) GetPartitionStrategy ¶
func (m *ImportReadGroupSetsRequest) GetPartitionStrategy() ImportReadGroupSetsRequest_PartitionStrategy
func (*ImportReadGroupSetsRequest) GetReferenceSetId ¶
func (m *ImportReadGroupSetsRequest) GetReferenceSetId() string
func (*ImportReadGroupSetsRequest) GetSourceUris ¶
func (m *ImportReadGroupSetsRequest) GetSourceUris() []string
func (*ImportReadGroupSetsRequest) ProtoMessage ¶
func (*ImportReadGroupSetsRequest) ProtoMessage()
func (*ImportReadGroupSetsRequest) Reset ¶
func (m *ImportReadGroupSetsRequest) Reset()
func (*ImportReadGroupSetsRequest) String ¶
func (m *ImportReadGroupSetsRequest) String() string
type ImportReadGroupSetsRequest_PartitionStrategy ¶
type ImportReadGroupSetsRequest_PartitionStrategy int32
const ( ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED ImportReadGroupSetsRequest_PartitionStrategy = 0 // In most cases, this strategy yields one read group set per file. This is // the default behavior. // // Allocate one read group set per file per sample. For BAM files, read // groups are considered to share a sample if they have identical sample // names. Furthermore, all reads for each file which do not belong to a read // group, if any, will be grouped into a single read group set per-file. ImportReadGroupSetsRequest_PER_FILE_PER_SAMPLE ImportReadGroupSetsRequest_PartitionStrategy = 1 // Includes all read groups in all imported files into a single read group // set. Requires that the headers for all imported files are equivalent. All // reads which do not belong to a read group, if any, will be grouped into a // separate read group set. ImportReadGroupSetsRequest_MERGE_ALL ImportReadGroupSetsRequest_PartitionStrategy = 2 )
func (ImportReadGroupSetsRequest_PartitionStrategy) EnumDescriptor ¶
func (ImportReadGroupSetsRequest_PartitionStrategy) EnumDescriptor() ([]byte, []int)
func (ImportReadGroupSetsRequest_PartitionStrategy) String ¶
func (x ImportReadGroupSetsRequest_PartitionStrategy) String() string
type ImportReadGroupSetsResponse ¶
type ImportReadGroupSetsResponse struct { // IDs of the read group sets that were created. ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds" json:"read_group_set_ids,omitempty"` }
The read group set import response.
func (*ImportReadGroupSetsResponse) Descriptor ¶
func (*ImportReadGroupSetsResponse) Descriptor() ([]byte, []int)
func (*ImportReadGroupSetsResponse) GetReadGroupSetIds ¶
func (m *ImportReadGroupSetsResponse) GetReadGroupSetIds() []string
func (*ImportReadGroupSetsResponse) ProtoMessage ¶
func (*ImportReadGroupSetsResponse) ProtoMessage()
func (*ImportReadGroupSetsResponse) Reset ¶
func (m *ImportReadGroupSetsResponse) Reset()
func (*ImportReadGroupSetsResponse) String ¶
func (m *ImportReadGroupSetsResponse) String() string
type ImportVariantsRequest ¶
type ImportVariantsRequest struct { // Required. The variant set to which variant data should be imported. VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId" json:"variant_set_id,omitempty"` // A list of URIs referencing variant files in Google Cloud Storage. URIs can // include wildcards [as described // here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). // Note that recursive wildcards ('**') are not supported. SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris" json:"source_uris,omitempty"` // The format of the variant data being imported. If unspecified, defaults to // to `VCF`. Format ImportVariantsRequest_Format `protobuf:"varint,3,opt,name=format,enum=google.genomics.v1.ImportVariantsRequest_Format" json:"format,omitempty"` // Convert reference names to the canonical representation. // hg19 haploytypes (those reference names containing "_hap") // are not modified in any way. // All other reference names are modified according to the following rules: // The reference name is capitalized. // The "chr" prefix is dropped for all autosomes and sex chromsomes. // For example "chr17" becomes "17" and "chrX" becomes "X". // All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". NormalizeReferenceNames bool `` /* 126-byte string literal not displayed */ // A mapping between info field keys and the InfoMergeOperations to // be performed on them. This is plumbed down to the MergeVariantRequests // generated by the resulting import job. InfoMergeConfig map[string]InfoMergeOperation `` /* 219-byte string literal not displayed */ }
The variant data import request.
func (*ImportVariantsRequest) Descriptor ¶
func (*ImportVariantsRequest) Descriptor() ([]byte, []int)
func (*ImportVariantsRequest) GetFormat ¶
func (m *ImportVariantsRequest) GetFormat() ImportVariantsRequest_Format
func (*ImportVariantsRequest) GetInfoMergeConfig ¶
func (m *ImportVariantsRequest) GetInfoMergeConfig() map[string]InfoMergeOperation
func (*ImportVariantsRequest) GetNormalizeReferenceNames ¶
func (m *ImportVariantsRequest) GetNormalizeReferenceNames() bool
func (*ImportVariantsRequest) GetSourceUris ¶
func (m *ImportVariantsRequest) GetSourceUris() []string
func (*ImportVariantsRequest) GetVariantSetId ¶
func (m *ImportVariantsRequest) GetVariantSetId() string
func (*ImportVariantsRequest) ProtoMessage ¶
func (*ImportVariantsRequest) ProtoMessage()
func (*ImportVariantsRequest) Reset ¶
func (m *ImportVariantsRequest) Reset()
func (*ImportVariantsRequest) String ¶
func (m *ImportVariantsRequest) String() string
type ImportVariantsRequest_Format ¶
type ImportVariantsRequest_Format int32
const ( ImportVariantsRequest_FORMAT_UNSPECIFIED ImportVariantsRequest_Format = 0 // VCF (Variant Call Format). The VCF files may be gzip compressed. gVCF is // also supported. ImportVariantsRequest_FORMAT_VCF ImportVariantsRequest_Format = 1 // Complete Genomics masterVarBeta format. The masterVarBeta files may // be bzip2 compressed. ImportVariantsRequest_FORMAT_COMPLETE_GENOMICS ImportVariantsRequest_Format = 2 )
func (ImportVariantsRequest_Format) EnumDescriptor ¶
func (ImportVariantsRequest_Format) EnumDescriptor() ([]byte, []int)
func (ImportVariantsRequest_Format) String ¶
func (x ImportVariantsRequest_Format) String() string
type ImportVariantsResponse ¶
type ImportVariantsResponse struct { // IDs of the call sets created during the import. CallSetIds []string `protobuf:"bytes,1,rep,name=call_set_ids,json=callSetIds" json:"call_set_ids,omitempty"` }
The variant data import response.
func (*ImportVariantsResponse) Descriptor ¶
func (*ImportVariantsResponse) Descriptor() ([]byte, []int)
func (*ImportVariantsResponse) GetCallSetIds ¶
func (m *ImportVariantsResponse) GetCallSetIds() []string
func (*ImportVariantsResponse) ProtoMessage ¶
func (*ImportVariantsResponse) ProtoMessage()
func (*ImportVariantsResponse) Reset ¶
func (m *ImportVariantsResponse) Reset()
func (*ImportVariantsResponse) String ¶
func (m *ImportVariantsResponse) String() string
type InfoMergeOperation ¶
type InfoMergeOperation int32
Operations to be performed during import on Variant info fields. These operations are set for each info field in the info_merge_config map of ImportVariantsRequest, which is plumbed down to the MergeVariantRequests generated by the import job.
const ( InfoMergeOperation_INFO_MERGE_OPERATION_UNSPECIFIED InfoMergeOperation = 0 // By default, Variant info fields are persisted if the Variant doesn't // already exist in the variantset. If the Variant is equivalent to a // Variant already in the variantset, the incoming Variant's info field // is ignored in favor of that of the already persisted Variant. InfoMergeOperation_IGNORE_NEW InfoMergeOperation = 1 // This operation removes an info field from the incoming Variant // and persists this info field in each of the incoming Variant's Calls. InfoMergeOperation_MOVE_TO_CALLS InfoMergeOperation = 2 )
func (InfoMergeOperation) EnumDescriptor ¶
func (InfoMergeOperation) EnumDescriptor() ([]byte, []int)
func (InfoMergeOperation) String ¶
func (x InfoMergeOperation) String() string
type LinearAlignment ¶
type LinearAlignment struct { // The position of this alignment. Position *Position `protobuf:"bytes,1,opt,name=position" json:"position,omitempty"` // The mapping quality of this alignment. Represents how likely // the read maps to this position as opposed to other locations. // // Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to // the nearest integer. MappingQuality int32 `protobuf:"varint,2,opt,name=mapping_quality,json=mappingQuality" json:"mapping_quality,omitempty"` // Represents the local alignment of this sequence (alignment matches, indels, // etc) against the reference. Cigar []*CigarUnit `protobuf:"bytes,3,rep,name=cigar" json:"cigar,omitempty"` }
A linear alignment can be represented by one CIGAR string. Describes the mapped position and local alignment of the read to the reference.
func (*LinearAlignment) Descriptor ¶
func (*LinearAlignment) Descriptor() ([]byte, []int)
func (*LinearAlignment) GetCigar ¶
func (m *LinearAlignment) GetCigar() []*CigarUnit
func (*LinearAlignment) GetMappingQuality ¶
func (m *LinearAlignment) GetMappingQuality() int32
func (*LinearAlignment) GetPosition ¶
func (m *LinearAlignment) GetPosition() *Position
func (*LinearAlignment) ProtoMessage ¶
func (*LinearAlignment) ProtoMessage()
func (*LinearAlignment) Reset ¶
func (m *LinearAlignment) Reset()
func (*LinearAlignment) String ¶
func (m *LinearAlignment) String() string
type ListBasesRequest ¶
type ListBasesRequest struct { // The ID of the reference. ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId" json:"reference_id,omitempty"` // The start position (0-based) of this query. Defaults to 0. Start int64 `protobuf:"varint,2,opt,name=start" json:"start,omitempty"` // The end position (0-based, exclusive) of this query. Defaults to the length // of this reference. End int64 `protobuf:"varint,3,opt,name=end" json:"end,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of bases to return in a single page. If unspecified, // defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base // pairs). PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
func (*ListBasesRequest) Descriptor ¶
func (*ListBasesRequest) Descriptor() ([]byte, []int)
func (*ListBasesRequest) GetEnd ¶
func (m *ListBasesRequest) GetEnd() int64
func (*ListBasesRequest) GetPageSize ¶
func (m *ListBasesRequest) GetPageSize() int32
func (*ListBasesRequest) GetPageToken ¶
func (m *ListBasesRequest) GetPageToken() string
func (*ListBasesRequest) GetReferenceId ¶
func (m *ListBasesRequest) GetReferenceId() string
func (*ListBasesRequest) GetStart ¶
func (m *ListBasesRequest) GetStart() int64
func (*ListBasesRequest) ProtoMessage ¶
func (*ListBasesRequest) ProtoMessage()
func (*ListBasesRequest) Reset ¶
func (m *ListBasesRequest) Reset()
func (*ListBasesRequest) String ¶
func (m *ListBasesRequest) String() string
type ListBasesResponse ¶
type ListBasesResponse struct { // The offset position (0-based) of the given `sequence` from the // start of this `Reference`. This value will differ for each page // in a paginated request. Offset int64 `protobuf:"varint,1,opt,name=offset" json:"offset,omitempty"` // A substring of the bases that make up this reference. Sequence string `protobuf:"bytes,2,opt,name=sequence" json:"sequence,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*ListBasesResponse) Descriptor ¶
func (*ListBasesResponse) Descriptor() ([]byte, []int)
func (*ListBasesResponse) GetNextPageToken ¶
func (m *ListBasesResponse) GetNextPageToken() string
func (*ListBasesResponse) GetOffset ¶
func (m *ListBasesResponse) GetOffset() int64
func (*ListBasesResponse) GetSequence ¶
func (m *ListBasesResponse) GetSequence() string
func (*ListBasesResponse) ProtoMessage ¶
func (*ListBasesResponse) ProtoMessage()
func (*ListBasesResponse) Reset ¶
func (m *ListBasesResponse) Reset()
func (*ListBasesResponse) String ¶
func (m *ListBasesResponse) String() string
type ListCoverageBucketsRequest ¶
type ListCoverageBucketsRequest struct { // Required. The ID of the read group set over which coverage is requested. ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"` // The name of the reference to query, within the reference set associated // with this query. Optional. ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The start position of the range on the reference, 0-based inclusive. If // specified, `referenceName` must also be specified. Defaults to 0. Start int64 `protobuf:"varint,4,opt,name=start" json:"start,omitempty"` // The end position of the range on the reference, 0-based exclusive. If // specified, `referenceName` must also be specified. If unset or 0, defaults // to the length of the reference. End int64 `protobuf:"varint,5,opt,name=end" json:"end,omitempty"` // The desired width of each reported coverage bucket in base pairs. This // will be rounded down to the nearest precomputed bucket width; the value // of which is returned as `bucketWidth` in the response. Defaults // to infinity (each bucket spans an entire reference sequence) or the length // of the target range, if specified. The smallest precomputed // `bucketWidth` is currently 2048 base pairs; this is subject to // change. TargetBucketWidth int64 `protobuf:"varint,6,opt,name=target_bucket_width,json=targetBucketWidth" json:"target_bucket_width,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 1024. The maximum value is 2048. PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
func (*ListCoverageBucketsRequest) Descriptor ¶
func (*ListCoverageBucketsRequest) Descriptor() ([]byte, []int)
func (*ListCoverageBucketsRequest) GetEnd ¶
func (m *ListCoverageBucketsRequest) GetEnd() int64
func (*ListCoverageBucketsRequest) GetPageSize ¶
func (m *ListCoverageBucketsRequest) GetPageSize() int32
func (*ListCoverageBucketsRequest) GetPageToken ¶
func (m *ListCoverageBucketsRequest) GetPageToken() string
func (*ListCoverageBucketsRequest) GetReadGroupSetId ¶
func (m *ListCoverageBucketsRequest) GetReadGroupSetId() string
func (*ListCoverageBucketsRequest) GetReferenceName ¶
func (m *ListCoverageBucketsRequest) GetReferenceName() string
func (*ListCoverageBucketsRequest) GetStart ¶
func (m *ListCoverageBucketsRequest) GetStart() int64
func (*ListCoverageBucketsRequest) GetTargetBucketWidth ¶
func (m *ListCoverageBucketsRequest) GetTargetBucketWidth() int64
func (*ListCoverageBucketsRequest) ProtoMessage ¶
func (*ListCoverageBucketsRequest) ProtoMessage()
func (*ListCoverageBucketsRequest) Reset ¶
func (m *ListCoverageBucketsRequest) Reset()
func (*ListCoverageBucketsRequest) String ¶
func (m *ListCoverageBucketsRequest) String() string
type ListCoverageBucketsResponse ¶
type ListCoverageBucketsResponse struct { // The length of each coverage bucket in base pairs. Note that buckets at the // end of a reference sequence may be shorter. This value is omitted if the // bucket width is infinity (the default behaviour, with no range or // `targetBucketWidth`). BucketWidth int64 `protobuf:"varint,1,opt,name=bucket_width,json=bucketWidth" json:"bucket_width,omitempty"` // The coverage buckets. The list of buckets is sparse; a bucket with 0 // overlapping reads is not returned. A bucket never crosses more than one // reference sequence. Each bucket has width `bucketWidth`, unless // its end is the end of the reference sequence. CoverageBuckets []*CoverageBucket `protobuf:"bytes,2,rep,name=coverage_buckets,json=coverageBuckets" json:"coverage_buckets,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*ListCoverageBucketsResponse) Descriptor ¶
func (*ListCoverageBucketsResponse) Descriptor() ([]byte, []int)
func (*ListCoverageBucketsResponse) GetBucketWidth ¶
func (m *ListCoverageBucketsResponse) GetBucketWidth() int64
func (*ListCoverageBucketsResponse) GetCoverageBuckets ¶
func (m *ListCoverageBucketsResponse) GetCoverageBuckets() []*CoverageBucket
func (*ListCoverageBucketsResponse) GetNextPageToken ¶
func (m *ListCoverageBucketsResponse) GetNextPageToken() string
func (*ListCoverageBucketsResponse) ProtoMessage ¶
func (*ListCoverageBucketsResponse) ProtoMessage()
func (*ListCoverageBucketsResponse) Reset ¶
func (m *ListCoverageBucketsResponse) Reset()
func (*ListCoverageBucketsResponse) String ¶
func (m *ListCoverageBucketsResponse) String() string
type ListDatasetsRequest ¶
type ListDatasetsRequest struct { // Required. The Google Cloud project ID to list datasets for. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 50. The maximum value is 1024. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` }
The dataset list request.
func (*ListDatasetsRequest) Descriptor ¶
func (*ListDatasetsRequest) Descriptor() ([]byte, []int)
func (*ListDatasetsRequest) GetPageSize ¶
func (m *ListDatasetsRequest) GetPageSize() int32
func (*ListDatasetsRequest) GetPageToken ¶
func (m *ListDatasetsRequest) GetPageToken() string
func (*ListDatasetsRequest) GetProjectId ¶
func (m *ListDatasetsRequest) GetProjectId() string
func (*ListDatasetsRequest) ProtoMessage ¶
func (*ListDatasetsRequest) ProtoMessage()
func (*ListDatasetsRequest) Reset ¶
func (m *ListDatasetsRequest) Reset()
func (*ListDatasetsRequest) String ¶
func (m *ListDatasetsRequest) String() string
type ListDatasetsResponse ¶
type ListDatasetsResponse struct { // The list of matching Datasets. Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets" json:"datasets,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
The dataset list response.
func (*ListDatasetsResponse) Descriptor ¶
func (*ListDatasetsResponse) Descriptor() ([]byte, []int)
func (*ListDatasetsResponse) GetDatasets ¶
func (m *ListDatasetsResponse) GetDatasets() []*Dataset
func (*ListDatasetsResponse) GetNextPageToken ¶
func (m *ListDatasetsResponse) GetNextPageToken() string
func (*ListDatasetsResponse) ProtoMessage ¶
func (*ListDatasetsResponse) ProtoMessage()
func (*ListDatasetsResponse) Reset ¶
func (m *ListDatasetsResponse) Reset()
func (*ListDatasetsResponse) String ¶
func (m *ListDatasetsResponse) String() string
type MergeVariantsRequest ¶
type MergeVariantsRequest struct { // The destination variant set. VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId" json:"variant_set_id,omitempty"` // The variants to be merged with existing variants. Variants []*Variant `protobuf:"bytes,2,rep,name=variants" json:"variants,omitempty"` // A mapping between info field keys and the InfoMergeOperations to // be performed on them. InfoMergeConfig map[string]InfoMergeOperation `` /* 219-byte string literal not displayed */ }
func (*MergeVariantsRequest) Descriptor ¶
func (*MergeVariantsRequest) Descriptor() ([]byte, []int)
func (*MergeVariantsRequest) GetInfoMergeConfig ¶
func (m *MergeVariantsRequest) GetInfoMergeConfig() map[string]InfoMergeOperation
func (*MergeVariantsRequest) GetVariantSetId ¶
func (m *MergeVariantsRequest) GetVariantSetId() string
func (*MergeVariantsRequest) GetVariants ¶
func (m *MergeVariantsRequest) GetVariants() []*Variant
func (*MergeVariantsRequest) ProtoMessage ¶
func (*MergeVariantsRequest) ProtoMessage()
func (*MergeVariantsRequest) Reset ¶
func (m *MergeVariantsRequest) Reset()
func (*MergeVariantsRequest) String ¶
func (m *MergeVariantsRequest) String() string
type OperationEvent ¶
type OperationEvent struct { // Optional time of when event started. StartTime *google_protobuf6.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime" json:"start_time,omitempty"` // Optional time of when event finished. An event can have a start time and no // finish time. If an event has a finish time, there must be a start time. EndTime *google_protobuf6.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime" json:"end_time,omitempty"` // Required description of event. Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` }
An event that occurred during an [Operation][google.longrunning.Operation].
func (*OperationEvent) Descriptor ¶
func (*OperationEvent) Descriptor() ([]byte, []int)
func (*OperationEvent) GetDescription ¶
func (m *OperationEvent) GetDescription() string
func (*OperationEvent) GetEndTime ¶
func (m *OperationEvent) GetEndTime() *google_protobuf6.Timestamp
func (*OperationEvent) GetStartTime ¶
func (m *OperationEvent) GetStartTime() *google_protobuf6.Timestamp
func (*OperationEvent) ProtoMessage ¶
func (*OperationEvent) ProtoMessage()
func (*OperationEvent) Reset ¶
func (m *OperationEvent) Reset()
func (*OperationEvent) String ¶
func (m *OperationEvent) String() string
type OperationMetadata ¶
type OperationMetadata struct { // The Google Cloud Project in which the job is scoped. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // The time at which the job was submitted to the Genomics service. CreateTime *google_protobuf6.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime" json:"create_time,omitempty"` // The time at which the job began to run. StartTime *google_protobuf6.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"` // The time at which the job stopped running. EndTime *google_protobuf6.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime" json:"end_time,omitempty"` // The original request that started the operation. Note that this will be in // current version of the API. If the operation was started with v1beta2 API // and a GetOperation is performed on v1 API, a v1 request will be returned. Request *google_protobuf5.Any `protobuf:"bytes,5,opt,name=request" json:"request,omitempty"` // Optional event messages that were generated during the job's execution. // This also contains any warnings that were generated during import // or export. Events []*OperationEvent `protobuf:"bytes,6,rep,name=events" json:"events,omitempty"` // This field is deprecated. Use `labels` instead. Optionally provided by the // caller when submitting the request that creates the operation. ClientId string `protobuf:"bytes,7,opt,name=client_id,json=clientId" json:"client_id,omitempty"` // Runtime metadata on this Operation. RuntimeMetadata *google_protobuf5.Any `protobuf:"bytes,8,opt,name=runtime_metadata,json=runtimeMetadata" json:"runtime_metadata,omitempty"` // Optionally provided by the caller when submitting the request that creates // the operation. Labels map[string]string `` /* 132-byte string literal not displayed */ }
Metadata describing an [Operation][google.longrunning.Operation].
func (*OperationMetadata) Descriptor ¶
func (*OperationMetadata) Descriptor() ([]byte, []int)
func (*OperationMetadata) GetClientId ¶
func (m *OperationMetadata) GetClientId() string
func (*OperationMetadata) GetCreateTime ¶
func (m *OperationMetadata) GetCreateTime() *google_protobuf6.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (m *OperationMetadata) GetEndTime() *google_protobuf6.Timestamp
func (*OperationMetadata) GetEvents ¶
func (m *OperationMetadata) GetEvents() []*OperationEvent
func (*OperationMetadata) GetLabels ¶
func (m *OperationMetadata) GetLabels() map[string]string
func (*OperationMetadata) GetProjectId ¶
func (m *OperationMetadata) GetProjectId() string
func (*OperationMetadata) GetRequest ¶
func (m *OperationMetadata) GetRequest() *google_protobuf5.Any
func (*OperationMetadata) GetRuntimeMetadata ¶
func (m *OperationMetadata) GetRuntimeMetadata() *google_protobuf5.Any
func (*OperationMetadata) GetStartTime ¶
func (m *OperationMetadata) GetStartTime() *google_protobuf6.Timestamp
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) Reset ¶
func (m *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (m *OperationMetadata) String() string
type Position ¶
type Position struct { // The name of the reference in whatever reference set is being used. ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The 0-based offset from the start of the forward strand for that reference. Position int64 `protobuf:"varint,2,opt,name=position" json:"position,omitempty"` // Whether this position is on the reverse strand, as opposed to the forward // strand. ReverseStrand bool `protobuf:"varint,3,opt,name=reverse_strand,json=reverseStrand" json:"reverse_strand,omitempty"` }
An abstraction for referring to a genomic position, in relation to some already known reference. For now, represents a genomic position as a reference name, a base number on that reference (0-based), and a determination of forward or reverse strand.
func (*Position) Descriptor ¶
func (*Position) GetPosition ¶
func (*Position) GetReferenceName ¶
func (*Position) GetReverseStrand ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
type Range ¶
type Range struct { // The reference sequence name, for example `chr1`, // `1`, or `chrX`. ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The start position of the range on the reference, 0-based inclusive. Start int64 `protobuf:"varint,2,opt,name=start" json:"start,omitempty"` // The end position of the range on the reference, 0-based exclusive. End int64 `protobuf:"varint,3,opt,name=end" json:"end,omitempty"` }
A 0-based half-open genomic coordinate range for search requests.
func (*Range) Descriptor ¶
func (*Range) GetReferenceName ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
type Read ¶
type Read struct { // The server-generated read ID, unique across all reads. This is different // from the `fragmentName`. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The ID of the read group this read belongs to. A read belongs to exactly // one read group. This is a server-generated ID which is distinct from SAM's // RG tag (for that value, see // [ReadGroup.name][google.genomics.v1.ReadGroup.name]). ReadGroupId string `protobuf:"bytes,2,opt,name=read_group_id,json=readGroupId" json:"read_group_id,omitempty"` // The ID of the read group set this read belongs to. A read belongs to // exactly one read group set. ReadGroupSetId string `protobuf:"bytes,3,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"` // The fragment name. Equivalent to QNAME (query template name) in SAM. FragmentName string `protobuf:"bytes,4,opt,name=fragment_name,json=fragmentName" json:"fragment_name,omitempty"` // The orientation and the distance between reads from the fragment are // consistent with the sequencing protocol (SAM flag 0x2). ProperPlacement bool `protobuf:"varint,5,opt,name=proper_placement,json=properPlacement" json:"proper_placement,omitempty"` // The fragment is a PCR or optical duplicate (SAM flag 0x400). DuplicateFragment bool `protobuf:"varint,6,opt,name=duplicate_fragment,json=duplicateFragment" json:"duplicate_fragment,omitempty"` // The observed length of the fragment, equivalent to TLEN in SAM. FragmentLength int32 `protobuf:"varint,7,opt,name=fragment_length,json=fragmentLength" json:"fragment_length,omitempty"` // The read number in sequencing. 0-based and less than numberReads. This // field replaces SAM flag 0x40 and 0x80. ReadNumber int32 `protobuf:"varint,8,opt,name=read_number,json=readNumber" json:"read_number,omitempty"` // The number of reads in the fragment (extension to SAM flag 0x1). NumberReads int32 `protobuf:"varint,9,opt,name=number_reads,json=numberReads" json:"number_reads,omitempty"` // Whether this read did not pass filters, such as platform or vendor quality // controls (SAM flag 0x200). FailedVendorQualityChecks bool `` /* 135-byte string literal not displayed */ // The linear alignment for this alignment record. This field is null for // unmapped reads. Alignment *LinearAlignment `protobuf:"bytes,11,opt,name=alignment" json:"alignment,omitempty"` // Whether this alignment is secondary. Equivalent to SAM flag 0x100. // A secondary alignment represents an alternative to the primary alignment // for this read. Aligners may return secondary alignments if a read can map // ambiguously to multiple coordinates in the genome. By convention, each read // has one and only one alignment where both `secondaryAlignment` // and `supplementaryAlignment` are false. SecondaryAlignment bool `protobuf:"varint,12,opt,name=secondary_alignment,json=secondaryAlignment" json:"secondary_alignment,omitempty"` // Whether this alignment is supplementary. Equivalent to SAM flag 0x800. // Supplementary alignments are used in the representation of a chimeric // alignment. In a chimeric alignment, a read is split into multiple // linear alignments that map to different reference contigs. The first // linear alignment in the read will be designated as the representative // alignment; the remaining linear alignments will be designated as // supplementary alignments. These alignments may have different mapping // quality scores. In each linear alignment in a chimeric alignment, the read // will be hard clipped. The `alignedSequence` and // `alignedQuality` fields in the alignment record will only // represent the bases for its respective linear alignment. SupplementaryAlignment bool `protobuf:"varint,13,opt,name=supplementary_alignment,json=supplementaryAlignment" json:"supplementary_alignment,omitempty"` // The bases of the read sequence contained in this alignment record, // **without CIGAR operations applied** (equivalent to SEQ in SAM). // `alignedSequence` and `alignedQuality` may be // shorter than the full read sequence and quality. This will occur if the // alignment is part of a chimeric alignment, or if the read was trimmed. When // this occurs, the CIGAR for this read will begin/end with a hard clip // operator that will indicate the length of the excised sequence. AlignedSequence string `protobuf:"bytes,14,opt,name=aligned_sequence,json=alignedSequence" json:"aligned_sequence,omitempty"` // The quality of the read sequence contained in this alignment record // (equivalent to QUAL in SAM). // `alignedSequence` and `alignedQuality` may be shorter than the full read // sequence and quality. This will occur if the alignment is part of a // chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR // for this read will begin/end with a hard clip operator that will indicate // the length of the excised sequence. AlignedQuality []int32 `protobuf:"varint,15,rep,packed,name=aligned_quality,json=alignedQuality" json:"aligned_quality,omitempty"` // The mapping of the primary alignment of the // `(readNumber+1)%numberReads` read in the fragment. It replaces // mate position and mate strand in SAM. NextMatePosition *Position `protobuf:"bytes,16,opt,name=next_mate_position,json=nextMatePosition" json:"next_mate_position,omitempty"` // A map of additional read alignment information. This must be of the form // map<string, string[]> (string key mapping to a list of string values). Info map[string]*google_protobuf3.ListValue `` /* 129-byte string literal not displayed */ }
A read alignment describes a linear alignment of a string of DNA to a [reference sequence][google.genomics.v1.Reference], in addition to metadata about the fragment (the molecule of DNA sequenced) and the read (the bases which were read by the sequencer). A read is equivalent to a line in a SAM file. A read belongs to exactly one read group and exactly one [read group set][google.genomics.v1.ReadGroupSet].
For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
### Reverse-stranded reads
Mapped reads (reads having a non-null `alignment`) can be aligned to either the forward or the reverse strand of their associated reference. Strandedness of a mapped read is encoded by `alignment.position.reverseStrand`.
If we consider the reference to be a forward-stranded coordinate space of `[0, reference.length)` with `0` as the left-most position and `reference.length` as the right-most position, reads are always aligned left to right. That is, `alignment.position.position` always refers to the left-most reference coordinate and `alignment.cigar` describes the alignment of this read to the reference from left to right. All per-base fields such as `alignedSequence` and `alignedQuality` share this same left-to-right orientation; this is true of reads which are aligned to either strand. For reverse-stranded reads, this means that `alignedSequence` is the reverse complement of the bases that were originally reported by the sequencing machine.
### Generating a reference-aligned sequence string
When interacting with mapped reads, it's often useful to produce a string representing the local alignment of the read to reference. The following pseudocode demonstrates one way of doing this:
out = "" offset = 0 for c in read.alignment.cigar { switch c.operation { case "ALIGNMENT_MATCH", "SEQUENCE_MATCH", "SEQUENCE_MISMATCH": out += read.alignedSequence[offset:offset+c.operationLength] offset += c.operationLength break case "CLIP_SOFT", "INSERT": offset += c.operationLength break case "PAD": out += repeat("*", c.operationLength) break case "DELETE": out += repeat("-", c.operationLength) break case "SKIP": out += repeat(" ", c.operationLength) break case "CLIP_HARD": break } } return out
### Converting to SAM's CIGAR string
The following pseudocode generates a SAM CIGAR string from the `cigar` field. Note that this is a lossy conversion (`cigar.referenceSequence` is lost).
cigarMap = { "ALIGNMENT_MATCH": "M", "INSERT": "I", "DELETE": "D", "SKIP": "N", "CLIP_SOFT": "S", "CLIP_HARD": "H", "PAD": "P", "SEQUENCE_MATCH": "=", "SEQUENCE_MISMATCH": "X", } cigarStr = "" for c in read.alignment.cigar { cigarStr += c.operationLength + cigarMap[c.operation] } return cigarStr
func (*Read) Descriptor ¶
func (*Read) GetAlignedQuality ¶
func (*Read) GetAlignedSequence ¶
func (*Read) GetAlignment ¶
func (m *Read) GetAlignment() *LinearAlignment
func (*Read) GetDuplicateFragment ¶
func (*Read) GetFailedVendorQualityChecks ¶
func (*Read) GetFragmentLength ¶
func (*Read) GetFragmentName ¶
func (*Read) GetNextMatePosition ¶
func (*Read) GetNumberReads ¶
func (*Read) GetProperPlacement ¶
func (*Read) GetReadGroupId ¶
func (*Read) GetReadGroupSetId ¶
func (*Read) GetReadNumber ¶
func (*Read) GetSecondaryAlignment ¶
func (*Read) GetSupplementaryAlignment ¶
func (*Read) ProtoMessage ¶
func (*Read) ProtoMessage()
type ReadGroup ¶
type ReadGroup struct { // The server-generated read group ID, unique for all read groups. // Note: This is different than the @RG ID field in the SAM spec. For that // value, see [name][google.genomics.v1.ReadGroup.name]. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The dataset to which this read group belongs. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` // The read group name. This corresponds to the @RG ID field in the SAM spec. Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // A free-form text description of this read group. Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` // A client-supplied sample identifier for the reads in this read group. SampleId string `protobuf:"bytes,5,opt,name=sample_id,json=sampleId" json:"sample_id,omitempty"` // The experiment used to generate this read group. Experiment *ReadGroup_Experiment `protobuf:"bytes,6,opt,name=experiment" json:"experiment,omitempty"` // The predicted insert size of this read group. The insert size is the length // the sequenced DNA fragment from end-to-end, not including the adapters. PredictedInsertSize int32 `protobuf:"varint,7,opt,name=predicted_insert_size,json=predictedInsertSize" json:"predicted_insert_size,omitempty"` // The programs used to generate this read group. Programs are always // identical for all read groups within a read group set. For this reason, // only the first read group in a returned set will have this field // populated. Programs []*ReadGroup_Program `protobuf:"bytes,10,rep,name=programs" json:"programs,omitempty"` // The reference set the reads in this read group are aligned to. ReferenceSetId string `protobuf:"bytes,11,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"` // A map of additional read group information. This must be of the form // map<string, string[]> (string key mapping to a list of string values). Info map[string]*google_protobuf3.ListValue `` /* 129-byte string literal not displayed */ }
A read group is all the data that's processed the same way by the sequencer.
func (*ReadGroup) Descriptor ¶
func (*ReadGroup) GetDatasetId ¶
func (*ReadGroup) GetDescription ¶
func (*ReadGroup) GetExperiment ¶
func (m *ReadGroup) GetExperiment() *ReadGroup_Experiment
func (*ReadGroup) GetPredictedInsertSize ¶
func (*ReadGroup) GetPrograms ¶
func (m *ReadGroup) GetPrograms() []*ReadGroup_Program
func (*ReadGroup) GetReferenceSetId ¶
func (*ReadGroup) GetSampleId ¶
func (*ReadGroup) ProtoMessage ¶
func (*ReadGroup) ProtoMessage()
type ReadGroupSet ¶
type ReadGroupSet struct { // The server-generated read group set ID, unique for all read group sets. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The dataset to which this read group set belongs. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` // The reference set to which the reads in this read group set are aligned. ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"` // The read group set name. By default this will be initialized to the sample // name of the sequenced data contained in this set. Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` // The filename of the original source file for this read group set, if any. Filename string `protobuf:"bytes,5,opt,name=filename" json:"filename,omitempty"` // The read groups in this set. There are typically 1-10 read groups in a read // group set. ReadGroups []*ReadGroup `protobuf:"bytes,6,rep,name=read_groups,json=readGroups" json:"read_groups,omitempty"` // A map of additional read group set information. Info map[string]*google_protobuf3.ListValue `` /* 128-byte string literal not displayed */ }
A read group set is a logical collection of read groups, which are collections of reads produced by a sequencer. A read group set typically models reads corresponding to one sample, sequenced one way, and aligned one way.
* A read group set belongs to one dataset. * A read group belongs to one read group set. * A read belongs to one read group.
For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
func (*ReadGroupSet) Descriptor ¶
func (*ReadGroupSet) Descriptor() ([]byte, []int)
func (*ReadGroupSet) GetDatasetId ¶
func (m *ReadGroupSet) GetDatasetId() string
func (*ReadGroupSet) GetFilename ¶
func (m *ReadGroupSet) GetFilename() string
func (*ReadGroupSet) GetId ¶
func (m *ReadGroupSet) GetId() string
func (*ReadGroupSet) GetInfo ¶
func (m *ReadGroupSet) GetInfo() map[string]*google_protobuf3.ListValue
func (*ReadGroupSet) GetName ¶
func (m *ReadGroupSet) GetName() string
func (*ReadGroupSet) GetReadGroups ¶
func (m *ReadGroupSet) GetReadGroups() []*ReadGroup
func (*ReadGroupSet) GetReferenceSetId ¶
func (m *ReadGroupSet) GetReferenceSetId() string
func (*ReadGroupSet) ProtoMessage ¶
func (*ReadGroupSet) ProtoMessage()
func (*ReadGroupSet) Reset ¶
func (m *ReadGroupSet) Reset()
func (*ReadGroupSet) String ¶
func (m *ReadGroupSet) String() string
type ReadGroup_Experiment ¶
type ReadGroup_Experiment struct { // A client-supplied library identifier; a library is a collection of DNA // fragments which have been prepared for sequencing from a sample. This // field is important for quality control as error or bias can be introduced // during sample preparation. LibraryId string `protobuf:"bytes,1,opt,name=library_id,json=libraryId" json:"library_id,omitempty"` // The platform unit used as part of this experiment, for example // flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the // @RG PU field in the SAM spec. PlatformUnit string `protobuf:"bytes,2,opt,name=platform_unit,json=platformUnit" json:"platform_unit,omitempty"` // The sequencing center used as part of this experiment. SequencingCenter string `protobuf:"bytes,3,opt,name=sequencing_center,json=sequencingCenter" json:"sequencing_center,omitempty"` // The instrument model used as part of this experiment. This maps to // sequencing technology in the SAM spec. InstrumentModel string `protobuf:"bytes,4,opt,name=instrument_model,json=instrumentModel" json:"instrument_model,omitempty"` }
func (*ReadGroup_Experiment) Descriptor ¶
func (*ReadGroup_Experiment) Descriptor() ([]byte, []int)
func (*ReadGroup_Experiment) GetInstrumentModel ¶
func (m *ReadGroup_Experiment) GetInstrumentModel() string
func (*ReadGroup_Experiment) GetLibraryId ¶
func (m *ReadGroup_Experiment) GetLibraryId() string
func (*ReadGroup_Experiment) GetPlatformUnit ¶
func (m *ReadGroup_Experiment) GetPlatformUnit() string
func (*ReadGroup_Experiment) GetSequencingCenter ¶
func (m *ReadGroup_Experiment) GetSequencingCenter() string
func (*ReadGroup_Experiment) ProtoMessage ¶
func (*ReadGroup_Experiment) ProtoMessage()
func (*ReadGroup_Experiment) Reset ¶
func (m *ReadGroup_Experiment) Reset()
func (*ReadGroup_Experiment) String ¶
func (m *ReadGroup_Experiment) String() string
type ReadGroup_Program ¶
type ReadGroup_Program struct { // The command line used to run this program. CommandLine string `protobuf:"bytes,1,opt,name=command_line,json=commandLine" json:"command_line,omitempty"` // The user specified locally unique ID of the program. Used along with // `prevProgramId` to define an ordering between programs. Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` // The display name of the program. This is typically the colloquial name of // the tool used, for example 'bwa' or 'picard'. Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // The ID of the program run before this one. PrevProgramId string `protobuf:"bytes,4,opt,name=prev_program_id,json=prevProgramId" json:"prev_program_id,omitempty"` // The version of the program run. Version string `protobuf:"bytes,5,opt,name=version" json:"version,omitempty"` }
func (*ReadGroup_Program) Descriptor ¶
func (*ReadGroup_Program) Descriptor() ([]byte, []int)
func (*ReadGroup_Program) GetCommandLine ¶
func (m *ReadGroup_Program) GetCommandLine() string
func (*ReadGroup_Program) GetId ¶
func (m *ReadGroup_Program) GetId() string
func (*ReadGroup_Program) GetName ¶
func (m *ReadGroup_Program) GetName() string
func (*ReadGroup_Program) GetPrevProgramId ¶
func (m *ReadGroup_Program) GetPrevProgramId() string
func (*ReadGroup_Program) GetVersion ¶
func (m *ReadGroup_Program) GetVersion() string
func (*ReadGroup_Program) ProtoMessage ¶
func (*ReadGroup_Program) ProtoMessage()
func (*ReadGroup_Program) Reset ¶
func (m *ReadGroup_Program) Reset()
func (*ReadGroup_Program) String ¶
func (m *ReadGroup_Program) String() string
type ReadServiceV1Client ¶
type ReadServiceV1Client interface { // Creates read group sets by asynchronously importing the provided // information. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // The caller must have WRITE permissions to the dataset. // // ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import // // - Tags will be converted to strings - tag types are not preserved // - Comments (`@CO`) in the input file header will not be preserved // - Original header order of references (`@SQ`) will not be preserved // - Any reverse stranded unmapped reads will be reverse complemented, and // their qualities (also the "BQ" and "OQ" tags, if any) will be reversed // - Unmapped reads will be stripped of positional information (reference name // and position) ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // Exports a read group set to a BAM file in Google Cloud Storage. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Note that currently there may be some differences between exported BAM // files and the original BAM file at the time of import. See // [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets] // for caveats. ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // Searches for read group sets matching the criteria. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error) // Updates a read group set. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This method supports patch semantics. UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) // Deletes a read group set. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Gets a read group set by ID. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) // Lists fixed width coverage buckets for a read group set, each of which // correspond to a range of a reference sequence. Each bucket summarizes // coverage information across its corresponding genomic range. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Coverage is defined as the number of reads which are aligned to a given // base in the reference sequence. Coverage buckets are available at several // precomputed bucket widths, enabling retrieval of various coverage 'zoom // levels'. The caller must have READ permissions for the target read group // set. ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error) // Gets a list of reads for one or more read group sets. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Reads search operates over a genomic coordinate space of reference sequence // & position defined over the reference sequences to which the requested // read group sets are aligned. // // If a target positional range is specified, search returns all reads whose // alignment to the reference genome overlap the range. A query which // specifies only read group set IDs yields all reads in those read group // sets, including unmapped reads. // // All reads returned (including reads on subsequent pages) are ordered by // genomic coordinate (by reference sequence, then position). Reads with // equivalent genomic coordinates are returned in an unspecified order. This // order is consistent, such that two queries for the same content (regardless // of page size) yield reads in the same order across their respective streams // of paginated responses. // // Implements // [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error) }
func NewReadServiceV1Client ¶
func NewReadServiceV1Client(cc *grpc.ClientConn) ReadServiceV1Client
type ReadServiceV1Server ¶
type ReadServiceV1Server interface { // Creates read group sets by asynchronously importing the provided // information. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // The caller must have WRITE permissions to the dataset. // // ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import // // - Tags will be converted to strings - tag types are not preserved // - Comments (`@CO`) in the input file header will not be preserved // - Original header order of references (`@SQ`) will not be preserved // - Any reverse stranded unmapped reads will be reverse complemented, and // their qualities (also the "BQ" and "OQ" tags, if any) will be reversed // - Unmapped reads will be stripped of positional information (reference name // and position) ImportReadGroupSets(context.Context, *ImportReadGroupSetsRequest) (*google_longrunning.Operation, error) // Exports a read group set to a BAM file in Google Cloud Storage. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Note that currently there may be some differences between exported BAM // files and the original BAM file at the time of import. See // [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets] // for caveats. ExportReadGroupSet(context.Context, *ExportReadGroupSetRequest) (*google_longrunning.Operation, error) // Searches for read group sets matching the criteria. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). SearchReadGroupSets(context.Context, *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error) // Updates a read group set. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This method supports patch semantics. UpdateReadGroupSet(context.Context, *UpdateReadGroupSetRequest) (*ReadGroupSet, error) // Deletes a read group set. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteReadGroupSet(context.Context, *DeleteReadGroupSetRequest) (*google_protobuf1.Empty, error) // Gets a read group set by ID. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetReadGroupSet(context.Context, *GetReadGroupSetRequest) (*ReadGroupSet, error) // Lists fixed width coverage buckets for a read group set, each of which // correspond to a range of a reference sequence. Each bucket summarizes // coverage information across its corresponding genomic range. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Coverage is defined as the number of reads which are aligned to a given // base in the reference sequence. Coverage buckets are available at several // precomputed bucket widths, enabling retrieval of various coverage 'zoom // levels'. The caller must have READ permissions for the target read group // set. ListCoverageBuckets(context.Context, *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error) // Gets a list of reads for one or more read group sets. // // For the definitions of read group sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Reads search operates over a genomic coordinate space of reference sequence // & position defined over the reference sequences to which the requested // read group sets are aligned. // // If a target positional range is specified, search returns all reads whose // alignment to the reference genome overlap the range. A query which // specifies only read group set IDs yields all reads in those read group // sets, including unmapped reads. // // All reads returned (including reads on subsequent pages) are ordered by // genomic coordinate (by reference sequence, then position). Reads with // equivalent genomic coordinates are returned in an unspecified order. This // order is consistent, such that two queries for the same content (regardless // of page size) yield reads in the same order across their respective streams // of paginated responses. // // Implements // [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). SearchReads(context.Context, *SearchReadsRequest) (*SearchReadsResponse, error) }
type Reference ¶
type Reference struct { // The server-generated reference ID, unique across all references. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The length of this reference's sequence. Length int64 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"` // MD5 of the upper-case sequence excluding all whitespace characters (this // is equivalent to SQ:M5 in SAM). This value is represented in lower case // hexadecimal format. Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum" json:"md5checksum,omitempty"` // The name of this reference, for example `22`. Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` // The URI from which the sequence was obtained. Typically specifies a FASTA // format file. SourceUri string `protobuf:"bytes,5,opt,name=source_uri,json=sourceUri" json:"source_uri,omitempty"` // All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally // with a version number, for example `GCF_000001405.26`. SourceAccessions []string `protobuf:"bytes,6,rep,name=source_accessions,json=sourceAccessions" json:"source_accessions,omitempty"` // ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. NcbiTaxonId int32 `protobuf:"varint,7,opt,name=ncbi_taxon_id,json=ncbiTaxonId" json:"ncbi_taxon_id,omitempty"` }
A reference is a canonical assembled DNA sequence, intended to act as a reference coordinate space for other genomic annotations. A single reference might represent the human chromosome 1 or mitochandrial DNA, for instance. A reference belongs to one or more reference sets.
For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
func (*Reference) Descriptor ¶
func (*Reference) GetMd5Checksum ¶
func (*Reference) GetNcbiTaxonId ¶
func (*Reference) GetSourceAccessions ¶
func (*Reference) GetSourceUri ¶
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
type ReferenceBound ¶
type ReferenceBound struct { // The name of the reference associated with this reference bound. ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // An upper bound (inclusive) on the starting coordinate of any // variant in the reference sequence. UpperBound int64 `protobuf:"varint,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"` }
ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
func (*ReferenceBound) Descriptor ¶
func (*ReferenceBound) Descriptor() ([]byte, []int)
func (*ReferenceBound) GetReferenceName ¶
func (m *ReferenceBound) GetReferenceName() string
func (*ReferenceBound) GetUpperBound ¶
func (m *ReferenceBound) GetUpperBound() int64
func (*ReferenceBound) ProtoMessage ¶
func (*ReferenceBound) ProtoMessage()
func (*ReferenceBound) Reset ¶
func (m *ReferenceBound) Reset()
func (*ReferenceBound) String ¶
func (m *ReferenceBound) String() string
type ReferenceServiceV1Client ¶
type ReferenceServiceV1Client interface { // Searches for reference sets which match the given criteria. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error) // Gets a reference set. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error) // Searches for references which match the given criteria. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error) // Gets a reference. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error) // Lists the bases in a reference, optionally restricted to a range. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error) }
func NewReferenceServiceV1Client ¶
func NewReferenceServiceV1Client(cc *grpc.ClientConn) ReferenceServiceV1Client
type ReferenceServiceV1Server ¶
type ReferenceServiceV1Server interface { // Searches for reference sets which match the given criteria. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) SearchReferenceSets(context.Context, *SearchReferenceSetsRequest) (*SearchReferenceSetsResponse, error) // Gets a reference set. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). GetReferenceSet(context.Context, *GetReferenceSetRequest) (*ReferenceSet, error) // Searches for references which match the given criteria. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). SearchReferences(context.Context, *SearchReferencesRequest) (*SearchReferencesResponse, error) // Gets a reference. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). GetReference(context.Context, *GetReferenceRequest) (*Reference, error) // Lists the bases in a reference, optionally restricted to a range. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). ListBases(context.Context, *ListBasesRequest) (*ListBasesResponse, error) }
type ReferenceSet ¶
type ReferenceSet struct { // The server-generated reference set ID, unique across all reference sets. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The IDs of the reference objects that are part of this set. // `Reference.md5checksum` must be unique within this set. ReferenceIds []string `protobuf:"bytes,2,rep,name=reference_ids,json=referenceIds" json:"reference_ids,omitempty"` // Order-independent MD5 checksum which identifies this reference set. The // checksum is computed by sorting all lower case hexidecimal string // `reference.md5checksum` (for all reference in this set) in // ascending lexicographic order, concatenating, and taking the MD5 of that // value. The resulting value is represented in lower case hexadecimal format. Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum" json:"md5checksum,omitempty"` // ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) // indicating the species which this reference set is intended to model. Note // that contained references may specify a different `ncbiTaxonId`, as // assemblies may contain reference sequences which do not belong to the // modeled species, for example EBV in a human reference genome. NcbiTaxonId int32 `protobuf:"varint,4,opt,name=ncbi_taxon_id,json=ncbiTaxonId" json:"ncbi_taxon_id,omitempty"` // Free text description of this reference set. Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` // Public id of this reference set, such as `GRCh37`. AssemblyId string `protobuf:"bytes,6,opt,name=assembly_id,json=assemblyId" json:"assembly_id,omitempty"` // The URI from which the references were obtained. SourceUri string `protobuf:"bytes,7,opt,name=source_uri,json=sourceUri" json:"source_uri,omitempty"` // All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally // with a version number, for example `NC_000001.11`. SourceAccessions []string `protobuf:"bytes,8,rep,name=source_accessions,json=sourceAccessions" json:"source_accessions,omitempty"` }
A reference set is a set of references which typically comprise a reference assembly for a species, such as `GRCh38` which is representative of the human genome. A reference set defines a common coordinate space for comparing reference-aligned experimental data. A reference set contains 1 or more references.
For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
func (*ReferenceSet) Descriptor ¶
func (*ReferenceSet) Descriptor() ([]byte, []int)
func (*ReferenceSet) GetAssemblyId ¶
func (m *ReferenceSet) GetAssemblyId() string
func (*ReferenceSet) GetDescription ¶
func (m *ReferenceSet) GetDescription() string
func (*ReferenceSet) GetId ¶
func (m *ReferenceSet) GetId() string
func (*ReferenceSet) GetMd5Checksum ¶
func (m *ReferenceSet) GetMd5Checksum() string
func (*ReferenceSet) GetNcbiTaxonId ¶
func (m *ReferenceSet) GetNcbiTaxonId() int32
func (*ReferenceSet) GetReferenceIds ¶
func (m *ReferenceSet) GetReferenceIds() []string
func (*ReferenceSet) GetSourceAccessions ¶
func (m *ReferenceSet) GetSourceAccessions() []string
func (*ReferenceSet) GetSourceUri ¶
func (m *ReferenceSet) GetSourceUri() string
func (*ReferenceSet) ProtoMessage ¶
func (*ReferenceSet) ProtoMessage()
func (*ReferenceSet) Reset ¶
func (m *ReferenceSet) Reset()
func (*ReferenceSet) String ¶
func (m *ReferenceSet) String() string
type SearchAnnotationSetsRequest ¶
type SearchAnnotationSetsRequest struct { // Required. The dataset IDs to search within. Caller must have `READ` access // to these datasets. DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds" json:"dataset_ids,omitempty"` // If specified, only annotation sets associated with the given reference set // are returned. ReferenceSetId string `protobuf:"bytes,2,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"` // Only return annotations sets for which a substring of the name matches this // string (case insensitive). Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // If specified, only annotation sets that have any of these types are // returned. Types []AnnotationType `protobuf:"varint,4,rep,packed,name=types,enum=google.genomics.v1.AnnotationType" json:"types,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 128. The maximum value is 1024. PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
func (*SearchAnnotationSetsRequest) Descriptor ¶
func (*SearchAnnotationSetsRequest) Descriptor() ([]byte, []int)
func (*SearchAnnotationSetsRequest) GetDatasetIds ¶
func (m *SearchAnnotationSetsRequest) GetDatasetIds() []string
func (*SearchAnnotationSetsRequest) GetName ¶
func (m *SearchAnnotationSetsRequest) GetName() string
func (*SearchAnnotationSetsRequest) GetPageSize ¶
func (m *SearchAnnotationSetsRequest) GetPageSize() int32
func (*SearchAnnotationSetsRequest) GetPageToken ¶
func (m *SearchAnnotationSetsRequest) GetPageToken() string
func (*SearchAnnotationSetsRequest) GetReferenceSetId ¶
func (m *SearchAnnotationSetsRequest) GetReferenceSetId() string
func (*SearchAnnotationSetsRequest) GetTypes ¶
func (m *SearchAnnotationSetsRequest) GetTypes() []AnnotationType
func (*SearchAnnotationSetsRequest) ProtoMessage ¶
func (*SearchAnnotationSetsRequest) ProtoMessage()
func (*SearchAnnotationSetsRequest) Reset ¶
func (m *SearchAnnotationSetsRequest) Reset()
func (*SearchAnnotationSetsRequest) String ¶
func (m *SearchAnnotationSetsRequest) String() string
type SearchAnnotationSetsResponse ¶
type SearchAnnotationSetsResponse struct { // The matching annotation sets. AnnotationSets []*AnnotationSet `protobuf:"bytes,1,rep,name=annotation_sets,json=annotationSets" json:"annotation_sets,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*SearchAnnotationSetsResponse) Descriptor ¶
func (*SearchAnnotationSetsResponse) Descriptor() ([]byte, []int)
func (*SearchAnnotationSetsResponse) GetAnnotationSets ¶
func (m *SearchAnnotationSetsResponse) GetAnnotationSets() []*AnnotationSet
func (*SearchAnnotationSetsResponse) GetNextPageToken ¶
func (m *SearchAnnotationSetsResponse) GetNextPageToken() string
func (*SearchAnnotationSetsResponse) ProtoMessage ¶
func (*SearchAnnotationSetsResponse) ProtoMessage()
func (*SearchAnnotationSetsResponse) Reset ¶
func (m *SearchAnnotationSetsResponse) Reset()
func (*SearchAnnotationSetsResponse) String ¶
func (m *SearchAnnotationSetsResponse) String() string
type SearchAnnotationsRequest ¶
type SearchAnnotationsRequest struct { // Required. The annotation sets to search within. The caller must have // `READ` access to these annotation sets. // All queried annotation sets must have the same type. AnnotationSetIds []string `protobuf:"bytes,1,rep,name=annotation_set_ids,json=annotationSetIds" json:"annotation_set_ids,omitempty"` // Required. `reference_id` or `reference_name` must be set. // // Types that are valid to be assigned to Reference: // *SearchAnnotationsRequest_ReferenceId // *SearchAnnotationsRequest_ReferenceName Reference isSearchAnnotationsRequest_Reference `protobuf_oneof:"reference"` // The start position of the range on the reference, 0-based inclusive. If // specified, // [referenceId][google.genomics.v1.SearchAnnotationsRequest.reference_id] or // [referenceName][google.genomics.v1.SearchAnnotationsRequest.reference_name] // must be specified. Defaults to 0. Start int64 `protobuf:"varint,4,opt,name=start" json:"start,omitempty"` // The end position of the range on the reference, 0-based exclusive. If // [referenceId][google.genomics.v1.SearchAnnotationsRequest.reference_id] or // [referenceName][google.genomics.v1.SearchAnnotationsRequest.reference_name] // must be specified, Defaults to the length of the reference. End int64 `protobuf:"varint,5,opt,name=end" json:"end,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 256. The maximum value is 2048. PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
func (*SearchAnnotationsRequest) Descriptor ¶
func (*SearchAnnotationsRequest) Descriptor() ([]byte, []int)
func (*SearchAnnotationsRequest) GetAnnotationSetIds ¶
func (m *SearchAnnotationsRequest) GetAnnotationSetIds() []string
func (*SearchAnnotationsRequest) GetEnd ¶
func (m *SearchAnnotationsRequest) GetEnd() int64
func (*SearchAnnotationsRequest) GetPageSize ¶
func (m *SearchAnnotationsRequest) GetPageSize() int32
func (*SearchAnnotationsRequest) GetPageToken ¶
func (m *SearchAnnotationsRequest) GetPageToken() string
func (*SearchAnnotationsRequest) GetReference ¶
func (m *SearchAnnotationsRequest) GetReference() isSearchAnnotationsRequest_Reference
func (*SearchAnnotationsRequest) GetReferenceId ¶
func (m *SearchAnnotationsRequest) GetReferenceId() string
func (*SearchAnnotationsRequest) GetReferenceName ¶
func (m *SearchAnnotationsRequest) GetReferenceName() string
func (*SearchAnnotationsRequest) GetStart ¶
func (m *SearchAnnotationsRequest) GetStart() int64
func (*SearchAnnotationsRequest) ProtoMessage ¶
func (*SearchAnnotationsRequest) ProtoMessage()
func (*SearchAnnotationsRequest) Reset ¶
func (m *SearchAnnotationsRequest) Reset()
func (*SearchAnnotationsRequest) String ¶
func (m *SearchAnnotationsRequest) String() string
func (*SearchAnnotationsRequest) XXX_OneofFuncs ¶
func (*SearchAnnotationsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type SearchAnnotationsRequest_ReferenceId ¶
type SearchAnnotationsRequest_ReferenceId struct {
ReferenceId string `protobuf:"bytes,2,opt,name=reference_id,json=referenceId,oneof"`
}
type SearchAnnotationsRequest_ReferenceName ¶
type SearchAnnotationsRequest_ReferenceName struct {
ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName,oneof"`
}
type SearchAnnotationsResponse ¶
type SearchAnnotationsResponse struct { // The matching annotations. Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations" json:"annotations,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*SearchAnnotationsResponse) Descriptor ¶
func (*SearchAnnotationsResponse) Descriptor() ([]byte, []int)
func (*SearchAnnotationsResponse) GetAnnotations ¶
func (m *SearchAnnotationsResponse) GetAnnotations() []*Annotation
func (*SearchAnnotationsResponse) GetNextPageToken ¶
func (m *SearchAnnotationsResponse) GetNextPageToken() string
func (*SearchAnnotationsResponse) ProtoMessage ¶
func (*SearchAnnotationsResponse) ProtoMessage()
func (*SearchAnnotationsResponse) Reset ¶
func (m *SearchAnnotationsResponse) Reset()
func (*SearchAnnotationsResponse) String ¶
func (m *SearchAnnotationsResponse) String() string
type SearchCallSetsRequest ¶
type SearchCallSetsRequest struct { // Restrict the query to call sets within the given variant sets. At least one // ID must be provided. VariantSetIds []string `protobuf:"bytes,1,rep,name=variant_set_ids,json=variantSetIds" json:"variant_set_ids,omitempty"` // Only return call sets for which a substring of the name matches this // string. Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 1024. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
The call set search request.
func (*SearchCallSetsRequest) Descriptor ¶
func (*SearchCallSetsRequest) Descriptor() ([]byte, []int)
func (*SearchCallSetsRequest) GetName ¶
func (m *SearchCallSetsRequest) GetName() string
func (*SearchCallSetsRequest) GetPageSize ¶
func (m *SearchCallSetsRequest) GetPageSize() int32
func (*SearchCallSetsRequest) GetPageToken ¶
func (m *SearchCallSetsRequest) GetPageToken() string
func (*SearchCallSetsRequest) GetVariantSetIds ¶
func (m *SearchCallSetsRequest) GetVariantSetIds() []string
func (*SearchCallSetsRequest) ProtoMessage ¶
func (*SearchCallSetsRequest) ProtoMessage()
func (*SearchCallSetsRequest) Reset ¶
func (m *SearchCallSetsRequest) Reset()
func (*SearchCallSetsRequest) String ¶
func (m *SearchCallSetsRequest) String() string
type SearchCallSetsResponse ¶
type SearchCallSetsResponse struct { // The list of matching call sets. CallSets []*CallSet `protobuf:"bytes,1,rep,name=call_sets,json=callSets" json:"call_sets,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
The call set search response.
func (*SearchCallSetsResponse) Descriptor ¶
func (*SearchCallSetsResponse) Descriptor() ([]byte, []int)
func (*SearchCallSetsResponse) GetCallSets ¶
func (m *SearchCallSetsResponse) GetCallSets() []*CallSet
func (*SearchCallSetsResponse) GetNextPageToken ¶
func (m *SearchCallSetsResponse) GetNextPageToken() string
func (*SearchCallSetsResponse) ProtoMessage ¶
func (*SearchCallSetsResponse) ProtoMessage()
func (*SearchCallSetsResponse) Reset ¶
func (m *SearchCallSetsResponse) Reset()
func (*SearchCallSetsResponse) String ¶
func (m *SearchCallSetsResponse) String() string
type SearchReadGroupSetsRequest ¶
type SearchReadGroupSetsRequest struct { // Restricts this query to read group sets within the given datasets. At least // one ID must be provided. DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds" json:"dataset_ids,omitempty"` // Only return read group sets for which a substring of the name matches this // string. Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 256. The maximum value is 1024. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
The read group set search request.
func (*SearchReadGroupSetsRequest) Descriptor ¶
func (*SearchReadGroupSetsRequest) Descriptor() ([]byte, []int)
func (*SearchReadGroupSetsRequest) GetDatasetIds ¶
func (m *SearchReadGroupSetsRequest) GetDatasetIds() []string
func (*SearchReadGroupSetsRequest) GetName ¶
func (m *SearchReadGroupSetsRequest) GetName() string
func (*SearchReadGroupSetsRequest) GetPageSize ¶
func (m *SearchReadGroupSetsRequest) GetPageSize() int32
func (*SearchReadGroupSetsRequest) GetPageToken ¶
func (m *SearchReadGroupSetsRequest) GetPageToken() string
func (*SearchReadGroupSetsRequest) ProtoMessage ¶
func (*SearchReadGroupSetsRequest) ProtoMessage()
func (*SearchReadGroupSetsRequest) Reset ¶
func (m *SearchReadGroupSetsRequest) Reset()
func (*SearchReadGroupSetsRequest) String ¶
func (m *SearchReadGroupSetsRequest) String() string
type SearchReadGroupSetsResponse ¶
type SearchReadGroupSetsResponse struct { // The list of matching read group sets. ReadGroupSets []*ReadGroupSet `protobuf:"bytes,1,rep,name=read_group_sets,json=readGroupSets" json:"read_group_sets,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
The read group set search response.
func (*SearchReadGroupSetsResponse) Descriptor ¶
func (*SearchReadGroupSetsResponse) Descriptor() ([]byte, []int)
func (*SearchReadGroupSetsResponse) GetNextPageToken ¶
func (m *SearchReadGroupSetsResponse) GetNextPageToken() string
func (*SearchReadGroupSetsResponse) GetReadGroupSets ¶
func (m *SearchReadGroupSetsResponse) GetReadGroupSets() []*ReadGroupSet
func (*SearchReadGroupSetsResponse) ProtoMessage ¶
func (*SearchReadGroupSetsResponse) ProtoMessage()
func (*SearchReadGroupSetsResponse) Reset ¶
func (m *SearchReadGroupSetsResponse) Reset()
func (*SearchReadGroupSetsResponse) String ¶
func (m *SearchReadGroupSetsResponse) String() string
type SearchReadsRequest ¶
type SearchReadsRequest struct { // The IDs of the read groups sets within which to search for reads. All // specified read group sets must be aligned against a common set of reference // sequences; this defines the genomic coordinates for the query. Must specify // one of `readGroupSetIds` or `readGroupIds`. ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds" json:"read_group_set_ids,omitempty"` // The IDs of the read groups within which to search for reads. All specified // read groups must belong to the same read group sets. Must specify one of // `readGroupSetIds` or `readGroupIds`. ReadGroupIds []string `protobuf:"bytes,5,rep,name=read_group_ids,json=readGroupIds" json:"read_group_ids,omitempty"` // The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to // `*`, only unmapped reads are returned. If unspecified, all reads (mapped // and unmapped) are returned. ReferenceName string `protobuf:"bytes,7,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The start position of the range on the reference, 0-based inclusive. If // specified, `referenceName` must also be specified. Start int64 `protobuf:"varint,8,opt,name=start" json:"start,omitempty"` // The end position of the range on the reference, 0-based exclusive. If // specified, `referenceName` must also be specified. End int64 `protobuf:"varint,9,opt,name=end" json:"end,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 256. The maximum value is 2048. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
The read search request.
func (*SearchReadsRequest) Descriptor ¶
func (*SearchReadsRequest) Descriptor() ([]byte, []int)
func (*SearchReadsRequest) GetEnd ¶
func (m *SearchReadsRequest) GetEnd() int64
func (*SearchReadsRequest) GetPageSize ¶
func (m *SearchReadsRequest) GetPageSize() int32
func (*SearchReadsRequest) GetPageToken ¶
func (m *SearchReadsRequest) GetPageToken() string
func (*SearchReadsRequest) GetReadGroupIds ¶
func (m *SearchReadsRequest) GetReadGroupIds() []string
func (*SearchReadsRequest) GetReadGroupSetIds ¶
func (m *SearchReadsRequest) GetReadGroupSetIds() []string
func (*SearchReadsRequest) GetReferenceName ¶
func (m *SearchReadsRequest) GetReferenceName() string
func (*SearchReadsRequest) GetStart ¶
func (m *SearchReadsRequest) GetStart() int64
func (*SearchReadsRequest) ProtoMessage ¶
func (*SearchReadsRequest) ProtoMessage()
func (*SearchReadsRequest) Reset ¶
func (m *SearchReadsRequest) Reset()
func (*SearchReadsRequest) String ¶
func (m *SearchReadsRequest) String() string
type SearchReadsResponse ¶
type SearchReadsResponse struct { // The list of matching alignments sorted by mapped genomic coordinate, // if any, ascending in position within the same reference. Unmapped reads, // which have no position, are returned contiguously and are sorted in // ascending lexicographic order by fragment name. Alignments []*Read `protobuf:"bytes,1,rep,name=alignments" json:"alignments,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
The read search response.
func (*SearchReadsResponse) Descriptor ¶
func (*SearchReadsResponse) Descriptor() ([]byte, []int)
func (*SearchReadsResponse) GetAlignments ¶
func (m *SearchReadsResponse) GetAlignments() []*Read
func (*SearchReadsResponse) GetNextPageToken ¶
func (m *SearchReadsResponse) GetNextPageToken() string
func (*SearchReadsResponse) ProtoMessage ¶
func (*SearchReadsResponse) ProtoMessage()
func (*SearchReadsResponse) Reset ¶
func (m *SearchReadsResponse) Reset()
func (*SearchReadsResponse) String ¶
func (m *SearchReadsResponse) String() string
type SearchReferenceSetsRequest ¶
type SearchReferenceSetsRequest struct { // If present, return reference sets for which the // [md5checksum][google.genomics.v1.ReferenceSet.md5checksum] matches exactly. Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums" json:"md5checksums,omitempty"` // If present, return reference sets for which a prefix of any of // [sourceAccessions][google.genomics.v1.ReferenceSet.source_accessions] // match any of these strings. Accession numbers typically have a main number // and a version, for example `NC_000001.11`. Accessions []string `protobuf:"bytes,2,rep,name=accessions" json:"accessions,omitempty"` // If present, return reference sets for which a substring of their // `assemblyId` matches this string (case insensitive). AssemblyId string `protobuf:"bytes,3,opt,name=assembly_id,json=assemblyId" json:"assembly_id,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 1024. The maximum value is 4096. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
func (*SearchReferenceSetsRequest) Descriptor ¶
func (*SearchReferenceSetsRequest) Descriptor() ([]byte, []int)
func (*SearchReferenceSetsRequest) GetAccessions ¶
func (m *SearchReferenceSetsRequest) GetAccessions() []string
func (*SearchReferenceSetsRequest) GetAssemblyId ¶
func (m *SearchReferenceSetsRequest) GetAssemblyId() string
func (*SearchReferenceSetsRequest) GetMd5Checksums ¶
func (m *SearchReferenceSetsRequest) GetMd5Checksums() []string
func (*SearchReferenceSetsRequest) GetPageSize ¶
func (m *SearchReferenceSetsRequest) GetPageSize() int32
func (*SearchReferenceSetsRequest) GetPageToken ¶
func (m *SearchReferenceSetsRequest) GetPageToken() string
func (*SearchReferenceSetsRequest) ProtoMessage ¶
func (*SearchReferenceSetsRequest) ProtoMessage()
func (*SearchReferenceSetsRequest) Reset ¶
func (m *SearchReferenceSetsRequest) Reset()
func (*SearchReferenceSetsRequest) String ¶
func (m *SearchReferenceSetsRequest) String() string
type SearchReferenceSetsResponse ¶
type SearchReferenceSetsResponse struct { // The matching references sets. ReferenceSets []*ReferenceSet `protobuf:"bytes,1,rep,name=reference_sets,json=referenceSets" json:"reference_sets,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*SearchReferenceSetsResponse) Descriptor ¶
func (*SearchReferenceSetsResponse) Descriptor() ([]byte, []int)
func (*SearchReferenceSetsResponse) GetNextPageToken ¶
func (m *SearchReferenceSetsResponse) GetNextPageToken() string
func (*SearchReferenceSetsResponse) GetReferenceSets ¶
func (m *SearchReferenceSetsResponse) GetReferenceSets() []*ReferenceSet
func (*SearchReferenceSetsResponse) ProtoMessage ¶
func (*SearchReferenceSetsResponse) ProtoMessage()
func (*SearchReferenceSetsResponse) Reset ¶
func (m *SearchReferenceSetsResponse) Reset()
func (*SearchReferenceSetsResponse) String ¶
func (m *SearchReferenceSetsResponse) String() string
type SearchReferencesRequest ¶
type SearchReferencesRequest struct { // If present, return references for which the // [md5checksum][google.genomics.v1.Reference.md5checksum] matches exactly. Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums" json:"md5checksums,omitempty"` // If present, return references for which a prefix of any of // [sourceAccessions][google.genomics.v1.Reference.source_accessions] match // any of these strings. Accession numbers typically have a main number and a // version, for example `GCF_000001405.26`. Accessions []string `protobuf:"bytes,2,rep,name=accessions" json:"accessions,omitempty"` // If present, return only references which belong to this reference set. ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 1024. The maximum value is 4096. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
func (*SearchReferencesRequest) Descriptor ¶
func (*SearchReferencesRequest) Descriptor() ([]byte, []int)
func (*SearchReferencesRequest) GetAccessions ¶
func (m *SearchReferencesRequest) GetAccessions() []string
func (*SearchReferencesRequest) GetMd5Checksums ¶
func (m *SearchReferencesRequest) GetMd5Checksums() []string
func (*SearchReferencesRequest) GetPageSize ¶
func (m *SearchReferencesRequest) GetPageSize() int32
func (*SearchReferencesRequest) GetPageToken ¶
func (m *SearchReferencesRequest) GetPageToken() string
func (*SearchReferencesRequest) GetReferenceSetId ¶
func (m *SearchReferencesRequest) GetReferenceSetId() string
func (*SearchReferencesRequest) ProtoMessage ¶
func (*SearchReferencesRequest) ProtoMessage()
func (*SearchReferencesRequest) Reset ¶
func (m *SearchReferencesRequest) Reset()
func (*SearchReferencesRequest) String ¶
func (m *SearchReferencesRequest) String() string
type SearchReferencesResponse ¶
type SearchReferencesResponse struct { // The matching references. References []*Reference `protobuf:"bytes,1,rep,name=references" json:"references,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*SearchReferencesResponse) Descriptor ¶
func (*SearchReferencesResponse) Descriptor() ([]byte, []int)
func (*SearchReferencesResponse) GetNextPageToken ¶
func (m *SearchReferencesResponse) GetNextPageToken() string
func (*SearchReferencesResponse) GetReferences ¶
func (m *SearchReferencesResponse) GetReferences() []*Reference
func (*SearchReferencesResponse) ProtoMessage ¶
func (*SearchReferencesResponse) ProtoMessage()
func (*SearchReferencesResponse) Reset ¶
func (m *SearchReferencesResponse) Reset()
func (*SearchReferencesResponse) String ¶
func (m *SearchReferencesResponse) String() string
type SearchVariantSetsRequest ¶
type SearchVariantSetsRequest struct { // Exactly one dataset ID must be provided here. Only variant sets which // belong to this dataset will be returned. DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds" json:"dataset_ids,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 1024. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` }
The search variant sets request.
func (*SearchVariantSetsRequest) Descriptor ¶
func (*SearchVariantSetsRequest) Descriptor() ([]byte, []int)
func (*SearchVariantSetsRequest) GetDatasetIds ¶
func (m *SearchVariantSetsRequest) GetDatasetIds() []string
func (*SearchVariantSetsRequest) GetPageSize ¶
func (m *SearchVariantSetsRequest) GetPageSize() int32
func (*SearchVariantSetsRequest) GetPageToken ¶
func (m *SearchVariantSetsRequest) GetPageToken() string
func (*SearchVariantSetsRequest) ProtoMessage ¶
func (*SearchVariantSetsRequest) ProtoMessage()
func (*SearchVariantSetsRequest) Reset ¶
func (m *SearchVariantSetsRequest) Reset()
func (*SearchVariantSetsRequest) String ¶
func (m *SearchVariantSetsRequest) String() string
type SearchVariantSetsResponse ¶
type SearchVariantSetsResponse struct { // The variant sets belonging to the requested dataset. VariantSets []*VariantSet `protobuf:"bytes,1,rep,name=variant_sets,json=variantSets" json:"variant_sets,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
The search variant sets response.
func (*SearchVariantSetsResponse) Descriptor ¶
func (*SearchVariantSetsResponse) Descriptor() ([]byte, []int)
func (*SearchVariantSetsResponse) GetNextPageToken ¶
func (m *SearchVariantSetsResponse) GetNextPageToken() string
func (*SearchVariantSetsResponse) GetVariantSets ¶
func (m *SearchVariantSetsResponse) GetVariantSets() []*VariantSet
func (*SearchVariantSetsResponse) ProtoMessage ¶
func (*SearchVariantSetsResponse) ProtoMessage()
func (*SearchVariantSetsResponse) Reset ¶
func (m *SearchVariantSetsResponse) Reset()
func (*SearchVariantSetsResponse) String ¶
func (m *SearchVariantSetsResponse) String() string
type SearchVariantsRequest ¶
type SearchVariantsRequest struct { // At most one variant set ID must be provided. Only variants from this // variant set will be returned. If omitted, a call set id must be included in // the request. VariantSetIds []string `protobuf:"bytes,1,rep,name=variant_set_ids,json=variantSetIds" json:"variant_set_ids,omitempty"` // Only return variants which have exactly this name. VariantName string `protobuf:"bytes,2,opt,name=variant_name,json=variantName" json:"variant_name,omitempty"` // Only return variant calls which belong to call sets with these ids. // Leaving this blank returns all variant calls. If a variant has no // calls belonging to any of these call sets, it won't be returned at all. CallSetIds []string `protobuf:"bytes,3,rep,name=call_set_ids,json=callSetIds" json:"call_set_ids,omitempty"` // Required. Only return variants in this reference sequence. ReferenceName string `protobuf:"bytes,4,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The beginning of the window (0-based, inclusive) for which // overlapping variants should be returned. If unspecified, defaults to 0. Start int64 `protobuf:"varint,5,opt,name=start" json:"start,omitempty"` // The end of the window, 0-based exclusive. If unspecified or 0, defaults to // the length of the reference. End int64 `protobuf:"varint,6,opt,name=end" json:"end,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` // The maximum number of variants to return in a single page. If unspecified, // defaults to 5000. The maximum value is 10000. PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize" json:"page_size,omitempty"` // The maximum number of calls to return in a single page. Note that this // limit may be exceeded in the event that a matching variant contains more // calls than the requested maximum. If unspecified, defaults to 5000. The // maximum value is 10000. MaxCalls int32 `protobuf:"varint,9,opt,name=max_calls,json=maxCalls" json:"max_calls,omitempty"` }
The variant search request.
func (*SearchVariantsRequest) Descriptor ¶
func (*SearchVariantsRequest) Descriptor() ([]byte, []int)
func (*SearchVariantsRequest) GetCallSetIds ¶
func (m *SearchVariantsRequest) GetCallSetIds() []string
func (*SearchVariantsRequest) GetEnd ¶
func (m *SearchVariantsRequest) GetEnd() int64
func (*SearchVariantsRequest) GetMaxCalls ¶
func (m *SearchVariantsRequest) GetMaxCalls() int32
func (*SearchVariantsRequest) GetPageSize ¶
func (m *SearchVariantsRequest) GetPageSize() int32
func (*SearchVariantsRequest) GetPageToken ¶
func (m *SearchVariantsRequest) GetPageToken() string
func (*SearchVariantsRequest) GetReferenceName ¶
func (m *SearchVariantsRequest) GetReferenceName() string
func (*SearchVariantsRequest) GetStart ¶
func (m *SearchVariantsRequest) GetStart() int64
func (*SearchVariantsRequest) GetVariantName ¶
func (m *SearchVariantsRequest) GetVariantName() string
func (*SearchVariantsRequest) GetVariantSetIds ¶
func (m *SearchVariantsRequest) GetVariantSetIds() []string
func (*SearchVariantsRequest) ProtoMessage ¶
func (*SearchVariantsRequest) ProtoMessage()
func (*SearchVariantsRequest) Reset ¶
func (m *SearchVariantsRequest) Reset()
func (*SearchVariantsRequest) String ¶
func (m *SearchVariantsRequest) String() string
type SearchVariantsResponse ¶
type SearchVariantsResponse struct { // The list of matching Variants. Variants []*Variant `protobuf:"bytes,1,rep,name=variants" json:"variants,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
The variant search response.
func (*SearchVariantsResponse) Descriptor ¶
func (*SearchVariantsResponse) Descriptor() ([]byte, []int)
func (*SearchVariantsResponse) GetNextPageToken ¶
func (m *SearchVariantsResponse) GetNextPageToken() string
func (*SearchVariantsResponse) GetVariants ¶
func (m *SearchVariantsResponse) GetVariants() []*Variant
func (*SearchVariantsResponse) ProtoMessage ¶
func (*SearchVariantsResponse) ProtoMessage()
func (*SearchVariantsResponse) Reset ¶
func (m *SearchVariantsResponse) Reset()
func (*SearchVariantsResponse) String ¶
func (m *SearchVariantsResponse) String() string
type StreamReadsRequest ¶
type StreamReadsRequest struct { // The Google Cloud project ID which will be billed // for this access. The caller must have WRITE access to this project. // Required. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // The ID of the read group set from which to stream reads. ReadGroupSetId string `protobuf:"bytes,2,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"` // The reference sequence name, for example `chr1`, // `1`, or `chrX`. If set to *, only unmapped reads are // returned. ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The start position of the range on the reference, 0-based inclusive. If // specified, `referenceName` must also be specified. Start int64 `protobuf:"varint,4,opt,name=start" json:"start,omitempty"` // The end position of the range on the reference, 0-based exclusive. If // specified, `referenceName` must also be specified. End int64 `protobuf:"varint,5,opt,name=end" json:"end,omitempty"` // Restricts results to a shard containing approximately `1/totalShards` // of the normal response payload for this query. Results from a sharded // request are disjoint from those returned by all queries which differ only // in their shard parameter. A shard may yield 0 results; this is especially // likely for large values of `totalShards`. // // Valid values are `[0, totalShards)`. Shard int32 `protobuf:"varint,6,opt,name=shard" json:"shard,omitempty"` // Specifying `totalShards` causes a disjoint subset of the normal response // payload to be returned for each query with a unique `shard` parameter // specified. A best effort is made to yield equally sized shards. Sharding // can be used to distribute processing amongst workers, where each worker is // assigned a unique `shard` number and all workers specify the same // `totalShards` number. The union of reads returned for all sharded queries // `[0, totalShards)` is equal to those returned by a single unsharded query. // // Queries for different values of `totalShards` with common divisors will // share shard boundaries. For example, streaming `shard` 2 of 5 // `totalShards` yields the same results as streaming `shard`s 4 and 5 of 10 // `totalShards`. This property can be leveraged for adaptive retries. TotalShards int32 `protobuf:"varint,7,opt,name=total_shards,json=totalShards" json:"total_shards,omitempty"` }
The stream reads request.
func (*StreamReadsRequest) Descriptor ¶
func (*StreamReadsRequest) Descriptor() ([]byte, []int)
func (*StreamReadsRequest) GetEnd ¶
func (m *StreamReadsRequest) GetEnd() int64
func (*StreamReadsRequest) GetProjectId ¶
func (m *StreamReadsRequest) GetProjectId() string
func (*StreamReadsRequest) GetReadGroupSetId ¶
func (m *StreamReadsRequest) GetReadGroupSetId() string
func (*StreamReadsRequest) GetReferenceName ¶
func (m *StreamReadsRequest) GetReferenceName() string
func (*StreamReadsRequest) GetShard ¶
func (m *StreamReadsRequest) GetShard() int32
func (*StreamReadsRequest) GetStart ¶
func (m *StreamReadsRequest) GetStart() int64
func (*StreamReadsRequest) GetTotalShards ¶
func (m *StreamReadsRequest) GetTotalShards() int32
func (*StreamReadsRequest) ProtoMessage ¶
func (*StreamReadsRequest) ProtoMessage()
func (*StreamReadsRequest) Reset ¶
func (m *StreamReadsRequest) Reset()
func (*StreamReadsRequest) String ¶
func (m *StreamReadsRequest) String() string
type StreamReadsResponse ¶
type StreamReadsResponse struct {
Alignments []*Read `protobuf:"bytes,1,rep,name=alignments" json:"alignments,omitempty"`
}
func (*StreamReadsResponse) Descriptor ¶
func (*StreamReadsResponse) Descriptor() ([]byte, []int)
func (*StreamReadsResponse) GetAlignments ¶
func (m *StreamReadsResponse) GetAlignments() []*Read
func (*StreamReadsResponse) ProtoMessage ¶
func (*StreamReadsResponse) ProtoMessage()
func (*StreamReadsResponse) Reset ¶
func (m *StreamReadsResponse) Reset()
func (*StreamReadsResponse) String ¶
func (m *StreamReadsResponse) String() string
type StreamVariantsRequest ¶
type StreamVariantsRequest struct { // The Google Cloud project ID which will be billed // for this access. The caller must have WRITE access to this project. // Required. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"` // The variant set ID from which to stream variants. VariantSetId string `protobuf:"bytes,2,opt,name=variant_set_id,json=variantSetId" json:"variant_set_id,omitempty"` // Only return variant calls which belong to call sets with these IDs. // Leaving this blank returns all variant calls. CallSetIds []string `protobuf:"bytes,3,rep,name=call_set_ids,json=callSetIds" json:"call_set_ids,omitempty"` // Required. Only return variants in this reference sequence. ReferenceName string `protobuf:"bytes,4,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The beginning of the window (0-based, inclusive) for which // overlapping variants should be returned. Start int64 `protobuf:"varint,5,opt,name=start" json:"start,omitempty"` // The end of the window (0-based, exclusive) for which overlapping // variants should be returned. End int64 `protobuf:"varint,6,opt,name=end" json:"end,omitempty"` }
The stream variants request.
func (*StreamVariantsRequest) Descriptor ¶
func (*StreamVariantsRequest) Descriptor() ([]byte, []int)
func (*StreamVariantsRequest) GetCallSetIds ¶
func (m *StreamVariantsRequest) GetCallSetIds() []string
func (*StreamVariantsRequest) GetEnd ¶
func (m *StreamVariantsRequest) GetEnd() int64
func (*StreamVariantsRequest) GetProjectId ¶
func (m *StreamVariantsRequest) GetProjectId() string
func (*StreamVariantsRequest) GetReferenceName ¶
func (m *StreamVariantsRequest) GetReferenceName() string
func (*StreamVariantsRequest) GetStart ¶
func (m *StreamVariantsRequest) GetStart() int64
func (*StreamVariantsRequest) GetVariantSetId ¶
func (m *StreamVariantsRequest) GetVariantSetId() string
func (*StreamVariantsRequest) ProtoMessage ¶
func (*StreamVariantsRequest) ProtoMessage()
func (*StreamVariantsRequest) Reset ¶
func (m *StreamVariantsRequest) Reset()
func (*StreamVariantsRequest) String ¶
func (m *StreamVariantsRequest) String() string
type StreamVariantsResponse ¶
type StreamVariantsResponse struct {
Variants []*Variant `protobuf:"bytes,1,rep,name=variants" json:"variants,omitempty"`
}
func (*StreamVariantsResponse) Descriptor ¶
func (*StreamVariantsResponse) Descriptor() ([]byte, []int)
func (*StreamVariantsResponse) GetVariants ¶
func (m *StreamVariantsResponse) GetVariants() []*Variant
func (*StreamVariantsResponse) ProtoMessage ¶
func (*StreamVariantsResponse) ProtoMessage()
func (*StreamVariantsResponse) Reset ¶
func (m *StreamVariantsResponse) Reset()
func (*StreamVariantsResponse) String ¶
func (m *StreamVariantsResponse) String() string
type StreamingReadServiceClient ¶
type StreamingReadServiceClient interface { // Returns a stream of all the reads matching the search request, ordered // by reference name, position, and ID. StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error) }
func NewStreamingReadServiceClient ¶
func NewStreamingReadServiceClient(cc *grpc.ClientConn) StreamingReadServiceClient
type StreamingReadServiceServer ¶
type StreamingReadServiceServer interface { // Returns a stream of all the reads matching the search request, ordered // by reference name, position, and ID. StreamReads(*StreamReadsRequest, StreamingReadService_StreamReadsServer) error }
type StreamingReadService_StreamReadsClient ¶
type StreamingReadService_StreamReadsClient interface { Recv() (*StreamReadsResponse, error) grpc.ClientStream }
type StreamingReadService_StreamReadsServer ¶
type StreamingReadService_StreamReadsServer interface { Send(*StreamReadsResponse) error grpc.ServerStream }
type StreamingVariantServiceClient ¶
type StreamingVariantServiceClient interface { // Returns a stream of all the variants matching the search request, ordered // by reference name, position, and ID. StreamVariants(ctx context.Context, in *StreamVariantsRequest, opts ...grpc.CallOption) (StreamingVariantService_StreamVariantsClient, error) }
func NewStreamingVariantServiceClient ¶
func NewStreamingVariantServiceClient(cc *grpc.ClientConn) StreamingVariantServiceClient
type StreamingVariantServiceServer ¶
type StreamingVariantServiceServer interface { // Returns a stream of all the variants matching the search request, ordered // by reference name, position, and ID. StreamVariants(*StreamVariantsRequest, StreamingVariantService_StreamVariantsServer) error }
type StreamingVariantService_StreamVariantsClient ¶
type StreamingVariantService_StreamVariantsClient interface { Recv() (*StreamVariantsResponse, error) grpc.ClientStream }
type StreamingVariantService_StreamVariantsServer ¶
type StreamingVariantService_StreamVariantsServer interface { Send(*StreamVariantsResponse) error grpc.ServerStream }
type Transcript ¶
type Transcript struct { // The annotation ID of the gene from which this transcript is transcribed. GeneId string `protobuf:"bytes,1,opt,name=gene_id,json=geneId" json:"gene_id,omitempty"` // The <a href="http://en.wikipedia.org/wiki/Exon">exons</a> that compose // this transcript. This field should be unset for genomes where transcript // splicing does not occur, for example prokaryotes. // // Introns are regions of the transcript that are not included in the // spliced RNA product. Though not explicitly modeled here, intron ranges can // be deduced; all regions of this transcript that are not exons are introns. // // Exonic sequences do not necessarily code for a translational product // (amino acids). Only the regions of exons bounded by the // [codingSequence][google.genomics.v1.Transcript.coding_sequence] correspond // to coding DNA sequence. // // Exons are ordered by start position and may not overlap. Exons []*Transcript_Exon `protobuf:"bytes,2,rep,name=exons" json:"exons,omitempty"` // The range of the coding sequence for this transcript, if any. To determine // the exact ranges of coding sequence, intersect this range with those of the // [exons][google.genomics.v1.Transcript.exons], if any. If there are any // [exons][google.genomics.v1.Transcript.exons], the // [codingSequence][google.genomics.v1.Transcript.coding_sequence] must start // and end within them. // // Note that in some cases, the reference genome will not exactly match the // observed mRNA transcript e.g. due to variance in the source genome from // reference. In these cases, // [exon.frame][google.genomics.v1.Transcript.Exon.frame] will not necessarily // match the expected reference reading frame and coding exon reference bases // cannot necessarily be concatenated to produce the original transcript mRNA. CodingSequence *Transcript_CodingSequence `protobuf:"bytes,3,opt,name=coding_sequence,json=codingSequence" json:"coding_sequence,omitempty"` }
A transcript represents the assertion that a particular region of the reference genome may be transcribed as RNA.
func (*Transcript) Descriptor ¶
func (*Transcript) Descriptor() ([]byte, []int)
func (*Transcript) GetCodingSequence ¶
func (m *Transcript) GetCodingSequence() *Transcript_CodingSequence
func (*Transcript) GetExons ¶
func (m *Transcript) GetExons() []*Transcript_Exon
func (*Transcript) GetGeneId ¶
func (m *Transcript) GetGeneId() string
func (*Transcript) ProtoMessage ¶
func (*Transcript) ProtoMessage()
func (*Transcript) Reset ¶
func (m *Transcript) Reset()
func (*Transcript) String ¶
func (m *Transcript) String() string
type Transcript_CodingSequence ¶
type Transcript_CodingSequence struct { // The start of the coding sequence on this annotation's reference sequence, // 0-based inclusive. Note that this position is relative to the reference // start, and *not* the containing annotation start. Start int64 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // The end of the coding sequence on this annotation's reference sequence, // 0-based exclusive. Note that this position is relative to the reference // start, and *not* the containing annotation start. End int64 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` }
func (*Transcript_CodingSequence) Descriptor ¶
func (*Transcript_CodingSequence) Descriptor() ([]byte, []int)
func (*Transcript_CodingSequence) GetEnd ¶
func (m *Transcript_CodingSequence) GetEnd() int64
func (*Transcript_CodingSequence) GetStart ¶
func (m *Transcript_CodingSequence) GetStart() int64
func (*Transcript_CodingSequence) ProtoMessage ¶
func (*Transcript_CodingSequence) ProtoMessage()
func (*Transcript_CodingSequence) Reset ¶
func (m *Transcript_CodingSequence) Reset()
func (*Transcript_CodingSequence) String ¶
func (m *Transcript_CodingSequence) String() string
type Transcript_Exon ¶
type Transcript_Exon struct { // The start position of the exon on this annotation's reference sequence, // 0-based inclusive. Note that this is relative to the reference start, and // **not** the containing annotation start. Start int64 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // The end position of the exon on this annotation's reference sequence, // 0-based exclusive. Note that this is relative to the reference start, and // *not* the containing annotation start. End int64 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // The frame of this exon. Contains a value of 0, 1, or 2, which indicates // the offset of the first coding base of the exon within the reading frame // of the coding DNA sequence, if any. This field is dependent on the // strandedness of this annotation (see // [Annotation.reverse_strand][google.genomics.v1.Annotation.reverse_strand]). // For forward stranded annotations, this offset is relative to the // [exon.start][google.genomics.v1.Transcript.Exon.start]. For reverse // strand annotations, this offset is relative to the // [exon.end][google.genomics.v1.Transcript.Exon.end] `- 1`. // // Unset if this exon does not intersect the coding sequence. Upon creation // of a transcript, the frame must be populated for all or none of the // coding exons. Frame *google_protobuf4.Int32Value `protobuf:"bytes,3,opt,name=frame" json:"frame,omitempty"` }
func (*Transcript_Exon) Descriptor ¶
func (*Transcript_Exon) Descriptor() ([]byte, []int)
func (*Transcript_Exon) GetEnd ¶
func (m *Transcript_Exon) GetEnd() int64
func (*Transcript_Exon) GetFrame ¶
func (m *Transcript_Exon) GetFrame() *google_protobuf4.Int32Value
func (*Transcript_Exon) GetStart ¶
func (m *Transcript_Exon) GetStart() int64
func (*Transcript_Exon) ProtoMessage ¶
func (*Transcript_Exon) ProtoMessage()
func (*Transcript_Exon) Reset ¶
func (m *Transcript_Exon) Reset()
func (*Transcript_Exon) String ¶
func (m *Transcript_Exon) String() string
type UndeleteDatasetRequest ¶
type UndeleteDatasetRequest struct { // The ID of the dataset to be undeleted. DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` }
func (*UndeleteDatasetRequest) Descriptor ¶
func (*UndeleteDatasetRequest) Descriptor() ([]byte, []int)
func (*UndeleteDatasetRequest) GetDatasetId ¶
func (m *UndeleteDatasetRequest) GetDatasetId() string
func (*UndeleteDatasetRequest) ProtoMessage ¶
func (*UndeleteDatasetRequest) ProtoMessage()
func (*UndeleteDatasetRequest) Reset ¶
func (m *UndeleteDatasetRequest) Reset()
func (*UndeleteDatasetRequest) String ¶
func (m *UndeleteDatasetRequest) String() string
type UpdateAnnotationRequest ¶
type UpdateAnnotationRequest struct { // The ID of the annotation to be updated. AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId" json:"annotation_id,omitempty"` // The new annotation. Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation" json:"annotation,omitempty"` // An optional mask specifying which fields to update. Mutable fields are // [name][google.genomics.v1.Annotation.name], // [variant][google.genomics.v1.Annotation.variant], // [transcript][google.genomics.v1.Annotation.transcript], and // [info][google.genomics.v1.Annotation.info]. If unspecified, all mutable // fields will be updated. UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
func (*UpdateAnnotationRequest) Descriptor ¶
func (*UpdateAnnotationRequest) Descriptor() ([]byte, []int)
func (*UpdateAnnotationRequest) GetAnnotation ¶
func (m *UpdateAnnotationRequest) GetAnnotation() *Annotation
func (*UpdateAnnotationRequest) GetAnnotationId ¶
func (m *UpdateAnnotationRequest) GetAnnotationId() string
func (*UpdateAnnotationRequest) GetUpdateMask ¶
func (m *UpdateAnnotationRequest) GetUpdateMask() *google_protobuf2.FieldMask
func (*UpdateAnnotationRequest) ProtoMessage ¶
func (*UpdateAnnotationRequest) ProtoMessage()
func (*UpdateAnnotationRequest) Reset ¶
func (m *UpdateAnnotationRequest) Reset()
func (*UpdateAnnotationRequest) String ¶
func (m *UpdateAnnotationRequest) String() string
type UpdateAnnotationSetRequest ¶
type UpdateAnnotationSetRequest struct { // The ID of the annotation set to be updated. AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId" json:"annotation_set_id,omitempty"` // The new annotation set. AnnotationSet *AnnotationSet `protobuf:"bytes,2,opt,name=annotation_set,json=annotationSet" json:"annotation_set,omitempty"` // An optional mask specifying which fields to update. Mutable fields are // [name][google.genomics.v1.AnnotationSet.name], // [source_uri][google.genomics.v1.AnnotationSet.source_uri], and // [info][google.genomics.v1.AnnotationSet.info]. If unspecified, all // mutable fields will be updated. UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
func (*UpdateAnnotationSetRequest) Descriptor ¶
func (*UpdateAnnotationSetRequest) Descriptor() ([]byte, []int)
func (*UpdateAnnotationSetRequest) GetAnnotationSet ¶
func (m *UpdateAnnotationSetRequest) GetAnnotationSet() *AnnotationSet
func (*UpdateAnnotationSetRequest) GetAnnotationSetId ¶
func (m *UpdateAnnotationSetRequest) GetAnnotationSetId() string
func (*UpdateAnnotationSetRequest) GetUpdateMask ¶
func (m *UpdateAnnotationSetRequest) GetUpdateMask() *google_protobuf2.FieldMask
func (*UpdateAnnotationSetRequest) ProtoMessage ¶
func (*UpdateAnnotationSetRequest) ProtoMessage()
func (*UpdateAnnotationSetRequest) Reset ¶
func (m *UpdateAnnotationSetRequest) Reset()
func (*UpdateAnnotationSetRequest) String ¶
func (m *UpdateAnnotationSetRequest) String() string
type UpdateCallSetRequest ¶
type UpdateCallSetRequest struct { // The ID of the call set to be updated. CallSetId string `protobuf:"bytes,1,opt,name=call_set_id,json=callSetId" json:"call_set_id,omitempty"` // The new call set data. CallSet *CallSet `protobuf:"bytes,2,opt,name=call_set,json=callSet" json:"call_set,omitempty"` // An optional mask specifying which fields to update. At this time, the only // mutable field is [name][google.genomics.v1.CallSet.name]. The only // acceptable value is "name". If unspecified, all mutable fields will be // updated. UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
func (*UpdateCallSetRequest) Descriptor ¶
func (*UpdateCallSetRequest) Descriptor() ([]byte, []int)
func (*UpdateCallSetRequest) GetCallSet ¶
func (m *UpdateCallSetRequest) GetCallSet() *CallSet
func (*UpdateCallSetRequest) GetCallSetId ¶
func (m *UpdateCallSetRequest) GetCallSetId() string
func (*UpdateCallSetRequest) GetUpdateMask ¶
func (m *UpdateCallSetRequest) GetUpdateMask() *google_protobuf2.FieldMask
func (*UpdateCallSetRequest) ProtoMessage ¶
func (*UpdateCallSetRequest) ProtoMessage()
func (*UpdateCallSetRequest) Reset ¶
func (m *UpdateCallSetRequest) Reset()
func (*UpdateCallSetRequest) String ¶
func (m *UpdateCallSetRequest) String() string
type UpdateDatasetRequest ¶
type UpdateDatasetRequest struct { // The ID of the dataset to be updated. DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` // The new dataset data. Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset" json:"dataset,omitempty"` // An optional mask specifying which fields to update. At this time, the only // mutable field is [name][google.genomics.v1.Dataset.name]. The only // acceptable value is "name". If unspecified, all mutable fields will be // updated. UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
func (*UpdateDatasetRequest) Descriptor ¶
func (*UpdateDatasetRequest) Descriptor() ([]byte, []int)
func (*UpdateDatasetRequest) GetDataset ¶
func (m *UpdateDatasetRequest) GetDataset() *Dataset
func (*UpdateDatasetRequest) GetDatasetId ¶
func (m *UpdateDatasetRequest) GetDatasetId() string
func (*UpdateDatasetRequest) GetUpdateMask ¶
func (m *UpdateDatasetRequest) GetUpdateMask() *google_protobuf2.FieldMask
func (*UpdateDatasetRequest) ProtoMessage ¶
func (*UpdateDatasetRequest) ProtoMessage()
func (*UpdateDatasetRequest) Reset ¶
func (m *UpdateDatasetRequest) Reset()
func (*UpdateDatasetRequest) String ¶
func (m *UpdateDatasetRequest) String() string
type UpdateReadGroupSetRequest ¶
type UpdateReadGroupSetRequest struct { // The ID of the read group set to be updated. The caller must have WRITE // permissions to the dataset associated with this read group set. ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"` // The new read group set data. See `updateMask` for details on mutability of // fields. ReadGroupSet *ReadGroupSet `protobuf:"bytes,2,opt,name=read_group_set,json=readGroupSet" json:"read_group_set,omitempty"` // An optional mask specifying which fields to update. Supported fields: // // * [name][google.genomics.v1.ReadGroupSet.name]. // * [referenceSetId][google.genomics.v1.ReadGroupSet.reference_set_id]. // // Leaving `updateMask` unset is equivalent to specifying all mutable // fields. UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
func (*UpdateReadGroupSetRequest) Descriptor ¶
func (*UpdateReadGroupSetRequest) Descriptor() ([]byte, []int)
func (*UpdateReadGroupSetRequest) GetReadGroupSet ¶
func (m *UpdateReadGroupSetRequest) GetReadGroupSet() *ReadGroupSet
func (*UpdateReadGroupSetRequest) GetReadGroupSetId ¶
func (m *UpdateReadGroupSetRequest) GetReadGroupSetId() string
func (*UpdateReadGroupSetRequest) GetUpdateMask ¶
func (m *UpdateReadGroupSetRequest) GetUpdateMask() *google_protobuf2.FieldMask
func (*UpdateReadGroupSetRequest) ProtoMessage ¶
func (*UpdateReadGroupSetRequest) ProtoMessage()
func (*UpdateReadGroupSetRequest) Reset ¶
func (m *UpdateReadGroupSetRequest) Reset()
func (*UpdateReadGroupSetRequest) String ¶
func (m *UpdateReadGroupSetRequest) String() string
type UpdateVariantRequest ¶
type UpdateVariantRequest struct { // The ID of the variant to be updated. VariantId string `protobuf:"bytes,1,opt,name=variant_id,json=variantId" json:"variant_id,omitempty"` // The new variant data. Variant *Variant `protobuf:"bytes,2,opt,name=variant" json:"variant,omitempty"` // An optional mask specifying which fields to update. At this time, mutable // fields are [names][google.genomics.v1.Variant.names] and // [info][google.genomics.v1.Variant.info]. Acceptable values are "names" and // "info". If unspecified, all mutable fields will be updated. UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
func (*UpdateVariantRequest) Descriptor ¶
func (*UpdateVariantRequest) Descriptor() ([]byte, []int)
func (*UpdateVariantRequest) GetUpdateMask ¶
func (m *UpdateVariantRequest) GetUpdateMask() *google_protobuf2.FieldMask
func (*UpdateVariantRequest) GetVariant ¶
func (m *UpdateVariantRequest) GetVariant() *Variant
func (*UpdateVariantRequest) GetVariantId ¶
func (m *UpdateVariantRequest) GetVariantId() string
func (*UpdateVariantRequest) ProtoMessage ¶
func (*UpdateVariantRequest) ProtoMessage()
func (*UpdateVariantRequest) Reset ¶
func (m *UpdateVariantRequest) Reset()
func (*UpdateVariantRequest) String ¶
func (m *UpdateVariantRequest) String() string
type UpdateVariantSetRequest ¶
type UpdateVariantSetRequest struct { // The ID of the variant to be updated (must already exist). VariantSetId string `protobuf:"bytes,1,opt,name=variant_set_id,json=variantSetId" json:"variant_set_id,omitempty"` // The new variant data. Only the variant_set.metadata will be considered // for update. VariantSet *VariantSet `protobuf:"bytes,2,opt,name=variant_set,json=variantSet" json:"variant_set,omitempty"` // An optional mask specifying which fields to update. Supported fields: // // * [metadata][google.genomics.v1.VariantSet.metadata]. // * [name][google.genomics.v1.VariantSet.name]. // * [description][google.genomics.v1.VariantSet.description]. // // Leaving `updateMask` unset is equivalent to specifying all mutable // fields. UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
func (*UpdateVariantSetRequest) Descriptor ¶
func (*UpdateVariantSetRequest) Descriptor() ([]byte, []int)
func (*UpdateVariantSetRequest) GetUpdateMask ¶
func (m *UpdateVariantSetRequest) GetUpdateMask() *google_protobuf2.FieldMask
func (*UpdateVariantSetRequest) GetVariantSet ¶
func (m *UpdateVariantSetRequest) GetVariantSet() *VariantSet
func (*UpdateVariantSetRequest) GetVariantSetId ¶
func (m *UpdateVariantSetRequest) GetVariantSetId() string
func (*UpdateVariantSetRequest) ProtoMessage ¶
func (*UpdateVariantSetRequest) ProtoMessage()
func (*UpdateVariantSetRequest) Reset ¶
func (m *UpdateVariantSetRequest) Reset()
func (*UpdateVariantSetRequest) String ¶
func (m *UpdateVariantSetRequest) String() string
type Variant ¶
type Variant struct { // The ID of the variant set this variant belongs to. VariantSetId string `protobuf:"bytes,15,opt,name=variant_set_id,json=variantSetId" json:"variant_set_id,omitempty"` // The server-generated variant ID, unique across all variants. Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` // Names for the variant, for example a RefSNP ID. Names []string `protobuf:"bytes,3,rep,name=names" json:"names,omitempty"` // The date this variant was created, in milliseconds from the epoch. Created int64 `protobuf:"varint,12,opt,name=created" json:"created,omitempty"` // The reference on which this variant occurs. // (such as `chr20` or `X`) ReferenceName string `protobuf:"bytes,14,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"` // The position at which this variant occurs (0-based). // This corresponds to the first base of the string of reference bases. Start int64 `protobuf:"varint,16,opt,name=start" json:"start,omitempty"` // The end position (0-based) of this variant. This corresponds to the first // base after the last base in the reference allele. So, the length of // the reference allele is (end - start). This is useful for variants // that don't explicitly give alternate bases, for example large deletions. End int64 `protobuf:"varint,13,opt,name=end" json:"end,omitempty"` // The reference bases for this variant. They start at the given // position. ReferenceBases string `protobuf:"bytes,6,opt,name=reference_bases,json=referenceBases" json:"reference_bases,omitempty"` // The bases that appear instead of the reference bases. AlternateBases []string `protobuf:"bytes,7,rep,name=alternate_bases,json=alternateBases" json:"alternate_bases,omitempty"` // A measure of how likely this variant is to be real. // A higher value is better. Quality float64 `protobuf:"fixed64,8,opt,name=quality" json:"quality,omitempty"` // A list of filters (normally quality filters) this variant has failed. // `PASS` indicates this variant has passed all filters. Filter []string `protobuf:"bytes,9,rep,name=filter" json:"filter,omitempty"` // A map of additional variant information. This must be of the form // map<string, string[]> (string key mapping to a list of string values). Info map[string]*google_protobuf3.ListValue `` /* 129-byte string literal not displayed */ // The variant calls for this particular variant. Each one represents the // determination of genotype with respect to this variant. Calls []*VariantCall `protobuf:"bytes,11,rep,name=calls" json:"calls,omitempty"` }
A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set.
For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.
func (*Variant) Descriptor ¶
func (*Variant) GetAlternateBases ¶
func (*Variant) GetCalls ¶
func (m *Variant) GetCalls() []*VariantCall
func (*Variant) GetCreated ¶
func (*Variant) GetQuality ¶
func (*Variant) GetReferenceBases ¶
func (*Variant) GetReferenceName ¶
func (*Variant) GetVariantSetId ¶
func (*Variant) ProtoMessage ¶
func (*Variant) ProtoMessage()
type VariantAnnotation ¶
type VariantAnnotation struct { // Type has been adapted from ClinVar's list of variant types. Type VariantAnnotation_Type `protobuf:"varint,1,opt,name=type,enum=google.genomics.v1.VariantAnnotation_Type" json:"type,omitempty"` // Effect of the variant on the coding sequence. Effect VariantAnnotation_Effect `protobuf:"varint,2,opt,name=effect,enum=google.genomics.v1.VariantAnnotation_Effect" json:"effect,omitempty"` // The alternate allele for this variant. If multiple alternate alleles // exist at this location, create a separate variant for each one, as they // may represent distinct conditions. AlternateBases string `protobuf:"bytes,3,opt,name=alternate_bases,json=alternateBases" json:"alternate_bases,omitempty"` // Google annotation ID of the gene affected by this variant. This should // be provided when the variant is created. GeneId string `protobuf:"bytes,4,opt,name=gene_id,json=geneId" json:"gene_id,omitempty"` // Google annotation IDs of the transcripts affected by this variant. These // should be provided when the variant is created. TranscriptIds []string `protobuf:"bytes,5,rep,name=transcript_ids,json=transcriptIds" json:"transcript_ids,omitempty"` // The set of conditions associated with this variant. // A condition describes the way a variant influences human health. Conditions []*VariantAnnotation_ClinicalCondition `protobuf:"bytes,6,rep,name=conditions" json:"conditions,omitempty"` // Describes the clinical significance of a variant. // It is adapted from the ClinVar controlled vocabulary for clinical // significance described at: // http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ ClinicalSignificance VariantAnnotation_ClinicalSignificance `` /* 178-byte string literal not displayed */ }
func (*VariantAnnotation) Descriptor ¶
func (*VariantAnnotation) Descriptor() ([]byte, []int)
func (*VariantAnnotation) GetAlternateBases ¶
func (m *VariantAnnotation) GetAlternateBases() string
func (*VariantAnnotation) GetClinicalSignificance ¶
func (m *VariantAnnotation) GetClinicalSignificance() VariantAnnotation_ClinicalSignificance
func (*VariantAnnotation) GetConditions ¶
func (m *VariantAnnotation) GetConditions() []*VariantAnnotation_ClinicalCondition
func (*VariantAnnotation) GetEffect ¶
func (m *VariantAnnotation) GetEffect() VariantAnnotation_Effect
func (*VariantAnnotation) GetGeneId ¶
func (m *VariantAnnotation) GetGeneId() string
func (*VariantAnnotation) GetTranscriptIds ¶
func (m *VariantAnnotation) GetTranscriptIds() []string
func (*VariantAnnotation) GetType ¶
func (m *VariantAnnotation) GetType() VariantAnnotation_Type
func (*VariantAnnotation) ProtoMessage ¶
func (*VariantAnnotation) ProtoMessage()
func (*VariantAnnotation) Reset ¶
func (m *VariantAnnotation) Reset()
func (*VariantAnnotation) String ¶
func (m *VariantAnnotation) String() string
type VariantAnnotation_ClinicalCondition ¶
type VariantAnnotation_ClinicalCondition struct { // A set of names for the condition. Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` // The set of external IDs for this condition. ExternalIds []*ExternalId `protobuf:"bytes,2,rep,name=external_ids,json=externalIds" json:"external_ids,omitempty"` // The MedGen concept id associated with this gene. // Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ ConceptId string `protobuf:"bytes,3,opt,name=concept_id,json=conceptId" json:"concept_id,omitempty"` // The OMIM id for this condition. // Search for these IDs at http://omim.org/ OmimId string `protobuf:"bytes,4,opt,name=omim_id,json=omimId" json:"omim_id,omitempty"` }
func (*VariantAnnotation_ClinicalCondition) Descriptor ¶
func (*VariantAnnotation_ClinicalCondition) Descriptor() ([]byte, []int)
func (*VariantAnnotation_ClinicalCondition) GetConceptId ¶
func (m *VariantAnnotation_ClinicalCondition) GetConceptId() string
func (*VariantAnnotation_ClinicalCondition) GetExternalIds ¶
func (m *VariantAnnotation_ClinicalCondition) GetExternalIds() []*ExternalId
func (*VariantAnnotation_ClinicalCondition) GetNames ¶
func (m *VariantAnnotation_ClinicalCondition) GetNames() []string
func (*VariantAnnotation_ClinicalCondition) GetOmimId ¶
func (m *VariantAnnotation_ClinicalCondition) GetOmimId() string
func (*VariantAnnotation_ClinicalCondition) ProtoMessage ¶
func (*VariantAnnotation_ClinicalCondition) ProtoMessage()
func (*VariantAnnotation_ClinicalCondition) Reset ¶
func (m *VariantAnnotation_ClinicalCondition) Reset()
func (*VariantAnnotation_ClinicalCondition) String ¶
func (m *VariantAnnotation_ClinicalCondition) String() string
type VariantAnnotation_ClinicalSignificance ¶
type VariantAnnotation_ClinicalSignificance int32
const ( VariantAnnotation_CLINICAL_SIGNIFICANCE_UNSPECIFIED VariantAnnotation_ClinicalSignificance = 0 // `OTHER` should be used when no other clinical significance // value will suffice. VariantAnnotation_CLINICAL_SIGNIFICANCE_OTHER VariantAnnotation_ClinicalSignificance = 1 VariantAnnotation_UNCERTAIN VariantAnnotation_ClinicalSignificance = 2 VariantAnnotation_BENIGN VariantAnnotation_ClinicalSignificance = 3 VariantAnnotation_LIKELY_BENIGN VariantAnnotation_ClinicalSignificance = 4 VariantAnnotation_LIKELY_PATHOGENIC VariantAnnotation_ClinicalSignificance = 5 VariantAnnotation_PATHOGENIC VariantAnnotation_ClinicalSignificance = 6 VariantAnnotation_DRUG_RESPONSE VariantAnnotation_ClinicalSignificance = 7 VariantAnnotation_HISTOCOMPATIBILITY VariantAnnotation_ClinicalSignificance = 8 VariantAnnotation_CONFERS_SENSITIVITY VariantAnnotation_ClinicalSignificance = 9 VariantAnnotation_RISK_FACTOR VariantAnnotation_ClinicalSignificance = 10 VariantAnnotation_ASSOCIATION VariantAnnotation_ClinicalSignificance = 11 VariantAnnotation_PROTECTIVE VariantAnnotation_ClinicalSignificance = 12 // `MULTIPLE_REPORTED` should be used when multiple clinical // signficances are reported for a variant. The original clinical // significance values may be provided in the `info` field. VariantAnnotation_MULTIPLE_REPORTED VariantAnnotation_ClinicalSignificance = 13 )
func (VariantAnnotation_ClinicalSignificance) EnumDescriptor ¶
func (VariantAnnotation_ClinicalSignificance) EnumDescriptor() ([]byte, []int)
func (VariantAnnotation_ClinicalSignificance) String ¶
func (x VariantAnnotation_ClinicalSignificance) String() string
type VariantAnnotation_Effect ¶
type VariantAnnotation_Effect int32
const ( VariantAnnotation_EFFECT_UNSPECIFIED VariantAnnotation_Effect = 0 // `EFFECT_OTHER` should be used when no other Effect // will suffice. VariantAnnotation_EFFECT_OTHER VariantAnnotation_Effect = 1 // `FRAMESHIFT` indicates a mutation in which the insertion or // deletion of nucleotides resulted in a frameshift change. VariantAnnotation_FRAMESHIFT VariantAnnotation_Effect = 2 // `FRAME_PRESERVING_INDEL` indicates a mutation in which a // multiple of three nucleotides has been inserted or deleted, resulting // in no change to the reading frame of the coding sequence. VariantAnnotation_FRAME_PRESERVING_INDEL VariantAnnotation_Effect = 3 // `SYNONYMOUS_SNP` indicates a single nucleotide polymorphism // mutation that results in no amino acid change. VariantAnnotation_SYNONYMOUS_SNP VariantAnnotation_Effect = 4 // `NONSYNONYMOUS_SNP` indicates a single nucleotide // polymorphism mutation that results in an amino acid change. VariantAnnotation_NONSYNONYMOUS_SNP VariantAnnotation_Effect = 5 // `STOP_GAIN` indicates a mutation that leads to the creation // of a stop codon at the variant site. Frameshift mutations creating // downstream stop codons do not count as `STOP_GAIN`. VariantAnnotation_STOP_GAIN VariantAnnotation_Effect = 6 // `STOP_LOSS` indicates a mutation that eliminates a // stop codon at the variant site. VariantAnnotation_STOP_LOSS VariantAnnotation_Effect = 7 // `SPLICE_SITE_DISRUPTION` indicates that this variant is // found in a splice site for the associated transcript, and alters the // normal splicing pattern. VariantAnnotation_SPLICE_SITE_DISRUPTION VariantAnnotation_Effect = 8 )
func (VariantAnnotation_Effect) EnumDescriptor ¶
func (VariantAnnotation_Effect) EnumDescriptor() ([]byte, []int)
func (VariantAnnotation_Effect) String ¶
func (x VariantAnnotation_Effect) String() string
type VariantAnnotation_Type ¶
type VariantAnnotation_Type int32
const ( VariantAnnotation_TYPE_UNSPECIFIED VariantAnnotation_Type = 0 // `TYPE_OTHER` should be used when no other Type will suffice. // Further explanation of the variant type may be included in the // [info][google.genomics.v1.Annotation.info] field. VariantAnnotation_TYPE_OTHER VariantAnnotation_Type = 1 // `INSERTION` indicates an insertion. VariantAnnotation_INSERTION VariantAnnotation_Type = 2 // `DELETION` indicates a deletion. VariantAnnotation_DELETION VariantAnnotation_Type = 3 // `SUBSTITUTION` indicates a block substitution of // two or more nucleotides. VariantAnnotation_SUBSTITUTION VariantAnnotation_Type = 4 // `SNP` indicates a single nucleotide polymorphism. VariantAnnotation_SNP VariantAnnotation_Type = 5 // `STRUCTURAL` indicates a large structural variant, // including chromosomal fusions, inversions, etc. VariantAnnotation_STRUCTURAL VariantAnnotation_Type = 6 // `CNV` indicates a variation in copy number. VariantAnnotation_CNV VariantAnnotation_Type = 7 )
func (VariantAnnotation_Type) EnumDescriptor ¶
func (VariantAnnotation_Type) EnumDescriptor() ([]byte, []int)
func (VariantAnnotation_Type) String ¶
func (x VariantAnnotation_Type) String() string
type VariantCall ¶
type VariantCall struct { // The ID of the call set this variant call belongs to. CallSetId string `protobuf:"bytes,8,opt,name=call_set_id,json=callSetId" json:"call_set_id,omitempty"` // The name of the call set this variant call belongs to. CallSetName string `protobuf:"bytes,9,opt,name=call_set_name,json=callSetName" json:"call_set_name,omitempty"` // The genotype of this variant call. Each value represents either the value // of the `referenceBases` field or a 1-based index into // `alternateBases`. If a variant had a `referenceBases` // value of `T` and an `alternateBases` // value of `["A", "C"]`, and the `genotype` was // `[2, 1]`, that would mean the call // represented the heterozygous value `CA` for this variant. // If the `genotype` was instead `[0, 1]`, the // represented value would be `TA`. Ordering of the // genotype values is important if the `phaseset` is present. // If a genotype is not called (that is, a `.` is present in the // GT string) -1 is returned. Genotype []int32 `protobuf:"varint,7,rep,packed,name=genotype" json:"genotype,omitempty"` // If this field is present, this variant call's genotype ordering implies // the phase of the bases and is consistent with any other variant calls in // the same reference sequence which have the same phaseset value. // When importing data from VCF, if the genotype data was phased but no // phase set was specified this field will be set to `*`. Phaseset string `protobuf:"bytes,5,opt,name=phaseset" json:"phaseset,omitempty"` // The genotype likelihoods for this variant call. Each array entry // represents how likely a specific genotype is for this call. The value // ordering is defined by the GL tag in the VCF spec. // If Phred-scaled genotype likelihood scores (PL) are available and // log10(P) genotype likelihood scores (GL) are not, PL scores are converted // to GL scores. If both are available, PL scores are stored in `info`. GenotypeLikelihood []float64 `protobuf:"fixed64,6,rep,packed,name=genotype_likelihood,json=genotypeLikelihood" json:"genotype_likelihood,omitempty"` // A map of additional variant call information. This must be of the form // map<string, string[]> (string key mapping to a list of string values). Info map[string]*google_protobuf3.ListValue `` /* 128-byte string literal not displayed */ }
A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.
func (*VariantCall) Descriptor ¶
func (*VariantCall) Descriptor() ([]byte, []int)
func (*VariantCall) GetCallSetId ¶
func (m *VariantCall) GetCallSetId() string
func (*VariantCall) GetCallSetName ¶
func (m *VariantCall) GetCallSetName() string
func (*VariantCall) GetGenotype ¶
func (m *VariantCall) GetGenotype() []int32
func (*VariantCall) GetGenotypeLikelihood ¶
func (m *VariantCall) GetGenotypeLikelihood() []float64
func (*VariantCall) GetInfo ¶
func (m *VariantCall) GetInfo() map[string]*google_protobuf3.ListValue
func (*VariantCall) GetPhaseset ¶
func (m *VariantCall) GetPhaseset() string
func (*VariantCall) ProtoMessage ¶
func (*VariantCall) ProtoMessage()
func (*VariantCall) Reset ¶
func (m *VariantCall) Reset()
func (*VariantCall) String ¶
func (m *VariantCall) String() string
type VariantServiceV1Client ¶
type VariantServiceV1Client interface { // Creates variant data by asynchronously importing the provided information. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // The variants for import will be merged with any existing variant that // matches its reference sequence, start, end, reference bases, and // alternative bases. If no such variant exists, a new one will be created. // // When variants are merged, the call information from the new variant // is added to the existing variant, and Variant info fields are merged // as specified in // [infoMergeConfig][google.genomics.v1.ImportVariantsRequest.info_merge_config]. // As a special case, for single-sample VCF files, QUAL and FILTER fields will // be moved to the call level; these are sometimes interpreted in a // call-specific context. // Imported VCF headers are appended to the metadata already in a variant set. ImportVariants(ctx context.Context, in *ImportVariantsRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // Creates a new variant set. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // The provided variant set must have a valid `datasetId` set - all other // fields are optional. Note that the `id` field will be ignored, as this is // assigned by the server. CreateVariantSet(ctx context.Context, in *CreateVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) // Exports variant set data to an external destination. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) ExportVariantSet(ctx context.Context, in *ExportVariantSetRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // Gets a variant set by ID. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetVariantSet(ctx context.Context, in *GetVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) // Returns a list of all variant sets matching search criteria. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). SearchVariantSets(ctx context.Context, in *SearchVariantSetsRequest, opts ...grpc.CallOption) (*SearchVariantSetsResponse, error) // Deletes a variant set including all variants, call sets, and calls within. // This is not reversible. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteVariantSet(ctx context.Context, in *DeleteVariantSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Updates a variant set using patch semantics. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) UpdateVariantSet(ctx context.Context, in *UpdateVariantSetRequest, opts ...grpc.CallOption) (*VariantSet, error) // Gets a list of variants matching the criteria. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126). SearchVariants(ctx context.Context, in *SearchVariantsRequest, opts ...grpc.CallOption) (*SearchVariantsResponse, error) // Creates a new variant. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) CreateVariant(ctx context.Context, in *CreateVariantRequest, opts ...grpc.CallOption) (*Variant, error) // Updates a variant. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This method supports patch semantics. Returns the modified variant without // its calls. UpdateVariant(ctx context.Context, in *UpdateVariantRequest, opts ...grpc.CallOption) (*Variant, error) // Deletes a variant. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteVariant(ctx context.Context, in *DeleteVariantRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Gets a variant by ID. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetVariant(ctx context.Context, in *GetVariantRequest, opts ...grpc.CallOption) (*Variant, error) // Merges the given variants with existing variants. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Each variant will be // merged with an existing variant that matches its reference sequence, // start, end, reference bases, and alternative bases. If no such variant // exists, a new one will be created. // // When variants are merged, the call information from the new variant // is added to the existing variant. Variant info fields are merged as // specified in the // [infoMergeConfig][google.genomics.v1.MergeVariantsRequest.info_merge_config] // field of the MergeVariantsRequest. // // Please exercise caution when using this method! It is easy to introduce // mistakes in existing variants and difficult to back out of them. For // example, // suppose you were trying to merge a new variant with an existing one and // both // variants contain calls that belong to callsets with the same callset ID. // // // Existing variant - irrelevant fields trimmed for clarity // { // "variantSetId": "10473108253681171589", // "referenceName": "1", // "start": "10582", // "referenceBases": "G", // "alternateBases": [ // "A" // ], // "calls": [ // { // "callSetId": "10473108253681171589-0", // "callSetName": "CALLSET0", // "genotype": [ // 0, // 1 // ], // } // ] // } // // // New variant with conflicting call information // { // "variantSetId": "10473108253681171589", // "referenceName": "1", // "start": "10582", // "referenceBases": "G", // "alternateBases": [ // "A" // ], // "calls": [ // { // "callSetId": "10473108253681171589-0", // "callSetName": "CALLSET0", // "genotype": [ // 1, // 1 // ], // } // ] // } // // The resulting merged variant would overwrite the existing calls with those // from the new variant: // // { // "variantSetId": "10473108253681171589", // "referenceName": "1", // "start": "10582", // "referenceBases": "G", // "alternateBases": [ // "A" // ], // "calls": [ // { // "callSetId": "10473108253681171589-0", // "callSetName": "CALLSET0", // "genotype": [ // 1, // 1 // ], // } // ] // } // // This may be the desired outcome, but it is up to the user to determine if // if that is indeed the case. MergeVariants(ctx context.Context, in *MergeVariantsRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Gets a list of call sets matching the criteria. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178). SearchCallSets(ctx context.Context, in *SearchCallSetsRequest, opts ...grpc.CallOption) (*SearchCallSetsResponse, error) // Creates a new call set. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) CreateCallSet(ctx context.Context, in *CreateCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) // Updates a call set. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This method supports patch semantics. UpdateCallSet(ctx context.Context, in *UpdateCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) // Deletes a call set. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteCallSet(ctx context.Context, in *DeleteCallSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) // Gets a call set by ID. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetCallSet(ctx context.Context, in *GetCallSetRequest, opts ...grpc.CallOption) (*CallSet, error) }
func NewVariantServiceV1Client ¶
func NewVariantServiceV1Client(cc *grpc.ClientConn) VariantServiceV1Client
type VariantServiceV1Server ¶
type VariantServiceV1Server interface { // Creates variant data by asynchronously importing the provided information. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // The variants for import will be merged with any existing variant that // matches its reference sequence, start, end, reference bases, and // alternative bases. If no such variant exists, a new one will be created. // // When variants are merged, the call information from the new variant // is added to the existing variant, and Variant info fields are merged // as specified in // [infoMergeConfig][google.genomics.v1.ImportVariantsRequest.info_merge_config]. // As a special case, for single-sample VCF files, QUAL and FILTER fields will // be moved to the call level; these are sometimes interpreted in a // call-specific context. // Imported VCF headers are appended to the metadata already in a variant set. ImportVariants(context.Context, *ImportVariantsRequest) (*google_longrunning.Operation, error) // Creates a new variant set. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // The provided variant set must have a valid `datasetId` set - all other // fields are optional. Note that the `id` field will be ignored, as this is // assigned by the server. CreateVariantSet(context.Context, *CreateVariantSetRequest) (*VariantSet, error) // Exports variant set data to an external destination. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) ExportVariantSet(context.Context, *ExportVariantSetRequest) (*google_longrunning.Operation, error) // Gets a variant set by ID. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetVariantSet(context.Context, *GetVariantSetRequest) (*VariantSet, error) // Returns a list of all variant sets matching search criteria. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). SearchVariantSets(context.Context, *SearchVariantSetsRequest) (*SearchVariantSetsResponse, error) // Deletes a variant set including all variants, call sets, and calls within. // This is not reversible. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteVariantSet(context.Context, *DeleteVariantSetRequest) (*google_protobuf1.Empty, error) // Updates a variant set using patch semantics. // // For the definitions of variant sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) UpdateVariantSet(context.Context, *UpdateVariantSetRequest) (*VariantSet, error) // Gets a list of variants matching the criteria. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126). SearchVariants(context.Context, *SearchVariantsRequest) (*SearchVariantsResponse, error) // Creates a new variant. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) CreateVariant(context.Context, *CreateVariantRequest) (*Variant, error) // Updates a variant. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This method supports patch semantics. Returns the modified variant without // its calls. UpdateVariant(context.Context, *UpdateVariantRequest) (*Variant, error) // Deletes a variant. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteVariant(context.Context, *DeleteVariantRequest) (*google_protobuf1.Empty, error) // Gets a variant by ID. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetVariant(context.Context, *GetVariantRequest) (*Variant, error) // Merges the given variants with existing variants. // // For the definitions of variants and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Each variant will be // merged with an existing variant that matches its reference sequence, // start, end, reference bases, and alternative bases. If no such variant // exists, a new one will be created. // // When variants are merged, the call information from the new variant // is added to the existing variant. Variant info fields are merged as // specified in the // [infoMergeConfig][google.genomics.v1.MergeVariantsRequest.info_merge_config] // field of the MergeVariantsRequest. // // Please exercise caution when using this method! It is easy to introduce // mistakes in existing variants and difficult to back out of them. For // example, // suppose you were trying to merge a new variant with an existing one and // both // variants contain calls that belong to callsets with the same callset ID. // // // Existing variant - irrelevant fields trimmed for clarity // { // "variantSetId": "10473108253681171589", // "referenceName": "1", // "start": "10582", // "referenceBases": "G", // "alternateBases": [ // "A" // ], // "calls": [ // { // "callSetId": "10473108253681171589-0", // "callSetName": "CALLSET0", // "genotype": [ // 0, // 1 // ], // } // ] // } // // // New variant with conflicting call information // { // "variantSetId": "10473108253681171589", // "referenceName": "1", // "start": "10582", // "referenceBases": "G", // "alternateBases": [ // "A" // ], // "calls": [ // { // "callSetId": "10473108253681171589-0", // "callSetName": "CALLSET0", // "genotype": [ // 1, // 1 // ], // } // ] // } // // The resulting merged variant would overwrite the existing calls with those // from the new variant: // // { // "variantSetId": "10473108253681171589", // "referenceName": "1", // "start": "10582", // "referenceBases": "G", // "alternateBases": [ // "A" // ], // "calls": [ // { // "callSetId": "10473108253681171589-0", // "callSetName": "CALLSET0", // "genotype": [ // 1, // 1 // ], // } // ] // } // // This may be the desired outcome, but it is up to the user to determine if // if that is indeed the case. MergeVariants(context.Context, *MergeVariantsRequest) (*google_protobuf1.Empty, error) // Gets a list of call sets matching the criteria. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178). SearchCallSets(context.Context, *SearchCallSetsRequest) (*SearchCallSetsResponse, error) // Creates a new call set. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) CreateCallSet(context.Context, *CreateCallSetRequest) (*CallSet, error) // Updates a call set. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // This method supports patch semantics. UpdateCallSet(context.Context, *UpdateCallSetRequest) (*CallSet, error) // Deletes a call set. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) DeleteCallSet(context.Context, *DeleteCallSetRequest) (*google_protobuf1.Empty, error) // Gets a call set by ID. // // For the definitions of call sets and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) GetCallSet(context.Context, *GetCallSetRequest) (*CallSet, error) }
type VariantSet ¶
type VariantSet struct { // The dataset to which this variant set belongs. DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"` // The server-generated variant set ID, unique across all variant sets. Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` // The reference set to which the variant set is mapped. The reference set // describes the alignment provenance of the variant set, while the // `referenceBounds` describe the shape of the actual variant data. The // reference set's reference names are a superset of those found in the // `referenceBounds`. // // For example, given a variant set that is mapped to the GRCh38 reference set // and contains a single variant on reference 'X', `referenceBounds` would // contain only an entry for 'X', while the associated reference set // enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. ReferenceSetId string `protobuf:"bytes,6,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"` // A list of all references used by the variants in a variant set // with associated coordinate upper bounds for each one. ReferenceBounds []*ReferenceBound `protobuf:"bytes,5,rep,name=reference_bounds,json=referenceBounds" json:"reference_bounds,omitempty"` // The metadata associated with this variant set. Metadata []*VariantSetMetadata `protobuf:"bytes,4,rep,name=metadata" json:"metadata,omitempty"` // User-specified, mutable name. Name string `protobuf:"bytes,7,opt,name=name" json:"name,omitempty"` // A textual description of this variant set. Description string `protobuf:"bytes,8,opt,name=description" json:"description,omitempty"` }
A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
func (*VariantSet) Descriptor ¶
func (*VariantSet) Descriptor() ([]byte, []int)
func (*VariantSet) GetDatasetId ¶
func (m *VariantSet) GetDatasetId() string
func (*VariantSet) GetDescription ¶
func (m *VariantSet) GetDescription() string
func (*VariantSet) GetId ¶
func (m *VariantSet) GetId() string
func (*VariantSet) GetMetadata ¶
func (m *VariantSet) GetMetadata() []*VariantSetMetadata
func (*VariantSet) GetName ¶
func (m *VariantSet) GetName() string
func (*VariantSet) GetReferenceBounds ¶
func (m *VariantSet) GetReferenceBounds() []*ReferenceBound
func (*VariantSet) GetReferenceSetId ¶
func (m *VariantSet) GetReferenceSetId() string
func (*VariantSet) ProtoMessage ¶
func (*VariantSet) ProtoMessage()
func (*VariantSet) Reset ¶
func (m *VariantSet) Reset()
func (*VariantSet) String ¶
func (m *VariantSet) String() string
type VariantSetMetadata ¶
type VariantSetMetadata struct { // The top-level key. Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` // The value field for simple metadata Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // User-provided ID field, not enforced by this API. // Two or more pieces of structured metadata with identical // id and key fields are considered equivalent. Id string `protobuf:"bytes,4,opt,name=id" json:"id,omitempty"` // The type of data. Possible types include: Integer, Float, // Flag, Character, and String. Type VariantSetMetadata_Type `protobuf:"varint,5,opt,name=type,enum=google.genomics.v1.VariantSetMetadata_Type" json:"type,omitempty"` // The number of values that can be included in a field described by this // metadata. Number string `protobuf:"bytes,8,opt,name=number" json:"number,omitempty"` // A textual description of this metadata. Description string `protobuf:"bytes,7,opt,name=description" json:"description,omitempty"` // Remaining structured metadata key-value pairs. This must be of the form // map<string, string[]> (string key mapping to a list of string values). Info map[string]*google_protobuf3.ListValue `` /* 128-byte string literal not displayed */ }
Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
func (*VariantSetMetadata) Descriptor ¶
func (*VariantSetMetadata) Descriptor() ([]byte, []int)
func (*VariantSetMetadata) GetDescription ¶
func (m *VariantSetMetadata) GetDescription() string
func (*VariantSetMetadata) GetId ¶
func (m *VariantSetMetadata) GetId() string
func (*VariantSetMetadata) GetInfo ¶
func (m *VariantSetMetadata) GetInfo() map[string]*google_protobuf3.ListValue
func (*VariantSetMetadata) GetKey ¶
func (m *VariantSetMetadata) GetKey() string
func (*VariantSetMetadata) GetNumber ¶
func (m *VariantSetMetadata) GetNumber() string
func (*VariantSetMetadata) GetType ¶
func (m *VariantSetMetadata) GetType() VariantSetMetadata_Type
func (*VariantSetMetadata) GetValue ¶
func (m *VariantSetMetadata) GetValue() string
func (*VariantSetMetadata) ProtoMessage ¶
func (*VariantSetMetadata) ProtoMessage()
func (*VariantSetMetadata) Reset ¶
func (m *VariantSetMetadata) Reset()
func (*VariantSetMetadata) String ¶
func (m *VariantSetMetadata) String() string
type VariantSetMetadata_Type ¶
type VariantSetMetadata_Type int32
const ( VariantSetMetadata_TYPE_UNSPECIFIED VariantSetMetadata_Type = 0 VariantSetMetadata_INTEGER VariantSetMetadata_Type = 1 VariantSetMetadata_FLOAT VariantSetMetadata_Type = 2 VariantSetMetadata_FLAG VariantSetMetadata_Type = 3 VariantSetMetadata_CHARACTER VariantSetMetadata_Type = 4 VariantSetMetadata_STRING VariantSetMetadata_Type = 5 )
func (VariantSetMetadata_Type) EnumDescriptor ¶
func (VariantSetMetadata_Type) EnumDescriptor() ([]byte, []int)
func (VariantSetMetadata_Type) String ¶
func (x VariantSetMetadata_Type) String() string