quality_controller

package
v0.0.0-...-0778f37 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	// Process performs the work defined by a specific controller implementation. Since processes occurs on
	// sequence files, the paths to the newly generated quality controlled files is returned, along with
	// and error, in case there is one
	Process() (string, error)
}

Controller represents the interface of the quality control process

func NewAdapterTrimming

func NewAdapterTrimming(ctx context.Context, dockerCli *client.Client, config *config_parser.Config) Controller

NewAdapterTrimming function creates a adapterTrimming instance containing necessary config for adapter trimming job

func NewDecontamination

func NewDecontamination(ctx context.Context, dockerCli *client.Client, config *config_parser.Config, fileToDecontaminate string) Controller

NewDecontamination constructs and returns a new decontamination struct, which implements the Controller interface

func NewErrorCorrection

func NewErrorCorrection(ctx context.Context, dockerCli *client.Client, config *config_parser.Config, fileToCorrect string) Controller

NewErrorCorrection constructs and returns an errorCorrection struct, which implements the Controller interface

func NewQualityController

func NewQualityController(c *config_parser.Config) Controller

NewQualityController constructs a new qualityController instances that implements the Controller interface

Jump to

Keyboard shortcuts

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