analysis

package
v0.0.0-...-522cb6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnalysisService_CreateBlastDb_FullMethodName = "/dictybase.analysis.AnalysisService/CreateBlastDb"
)

Variables

View Source
var AnalysisService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dictybase.analysis.AnalysisService",
	HandlerType: (*AnalysisServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "CreateBlastDb",
			Handler:       _AnalysisService_CreateBlastDb_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "dictybase/analysis/analysis.proto",
}

AnalysisService_ServiceDesc is the grpc.ServiceDesc for AnalysisService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_dictybase_analysis_analysis_proto protoreflect.FileDescriptor

Functions

func RegisterAnalysisServiceServer

func RegisterAnalysisServiceServer(s grpc.ServiceRegistrar, srv AnalysisServiceServer)

Types

type AnalysisServiceClient

type AnalysisServiceClient interface {
	// Create a blast database from the provided sequence
	CreateBlastDb(ctx context.Context, opts ...grpc.CallOption) (AnalysisService_CreateBlastDbClient, error)
}

AnalysisServiceClient is the client API for AnalysisService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AnalysisServiceServer

type AnalysisServiceServer interface {
	// Create a blast database from the provided sequence
	CreateBlastDb(AnalysisService_CreateBlastDbServer) error
	// contains filtered or unexported methods
}

AnalysisServiceServer is the server API for AnalysisService service. All implementations must embed UnimplementedAnalysisServiceServer for forward compatibility

type AnalysisService_CreateBlastDbClient

type AnalysisService_CreateBlastDbClient interface {
	Send(*BlastDbRequest) error
	CloseAndRecv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type AnalysisService_CreateBlastDbServer

type AnalysisService_CreateBlastDbServer interface {
	SendAndClose(*emptypb.Empty) error
	Recv() (*BlastDbRequest, error)
	grpc.ServerStream
}

type BlastDbParams

type BlastDbParams struct {

	// name of the sequence file
	FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// ncbi taxonid of the organism
	TaxonId string `protobuf:"bytes,2,opt,name=taxon_id,json=taxonId,proto3" json:"taxon_id,omitempty"`
	// name of the database
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// human readable description of the database
	Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	// Type of sequence, nucleotide or protein
	Seqtype string `protobuf:"bytes,6,opt,name=seqtype,proto3" json:"seqtype,omitempty"`
	// contains filtered or unexported fields
}

Similar to the BlastDbParams except the sequence chunks

func (*BlastDbParams) Descriptor deprecated

func (*BlastDbParams) Descriptor() ([]byte, []int)

Deprecated: Use BlastDbParams.ProtoReflect.Descriptor instead.

func (*BlastDbParams) GetFileName

func (x *BlastDbParams) GetFileName() string

func (*BlastDbParams) GetName

func (x *BlastDbParams) GetName() string

func (*BlastDbParams) GetSeqtype

func (x *BlastDbParams) GetSeqtype() string

func (*BlastDbParams) GetTaxonId

func (x *BlastDbParams) GetTaxonId() string

func (*BlastDbParams) GetTitle

func (x *BlastDbParams) GetTitle() string

func (*BlastDbParams) ProtoMessage

func (*BlastDbParams) ProtoMessage()

func (*BlastDbParams) ProtoReflect

func (x *BlastDbParams) ProtoReflect() protoreflect.Message

func (*BlastDbParams) Reset

func (x *BlastDbParams) Reset()

func (*BlastDbParams) String

func (x *BlastDbParams) String() string

func (*BlastDbParams) Validate

func (this *BlastDbParams) Validate() error

type BlastDbRequest

type BlastDbRequest struct {

	// sequence needed for database, provided in chunks
	SeqChunk []byte `protobuf:"bytes,1,opt,name=seq_chunk,json=seqChunk,proto3" json:"seq_chunk,omitempty"`
	// ncbi taxonid of the organism
	TaxonId string `protobuf:"bytes,2,opt,name=taxon_id,json=taxonId,proto3" json:"taxon_id,omitempty"`
	// name of the database
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// human readable description of the database
	Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	// Type of sequence, nucleotide or protein
	Seqtype string `protobuf:"bytes,5,opt,name=seqtype,proto3" json:"seqtype,omitempty"`
	// contains filtered or unexported fields
}

Various parameters required for creating a blast database

func (*BlastDbRequest) Descriptor deprecated

func (*BlastDbRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlastDbRequest.ProtoReflect.Descriptor instead.

func (*BlastDbRequest) GetName

func (x *BlastDbRequest) GetName() string

func (*BlastDbRequest) GetSeqChunk

func (x *BlastDbRequest) GetSeqChunk() []byte

func (*BlastDbRequest) GetSeqtype

func (x *BlastDbRequest) GetSeqtype() string

func (*BlastDbRequest) GetTaxonId

func (x *BlastDbRequest) GetTaxonId() string

func (*BlastDbRequest) GetTitle

func (x *BlastDbRequest) GetTitle() string

func (*BlastDbRequest) ProtoMessage

func (*BlastDbRequest) ProtoMessage()

func (*BlastDbRequest) ProtoReflect

func (x *BlastDbRequest) ProtoReflect() protoreflect.Message

func (*BlastDbRequest) Reset

func (x *BlastDbRequest) Reset()

func (*BlastDbRequest) String

func (x *BlastDbRequest) String() string

func (*BlastDbRequest) Validate

func (this *BlastDbRequest) Validate() error

type UnimplementedAnalysisServiceServer

type UnimplementedAnalysisServiceServer struct {
}

UnimplementedAnalysisServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAnalysisServiceServer) CreateBlastDb

type UnsafeAnalysisServiceServer

type UnsafeAnalysisServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAnalysisServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalysisServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL