Documentation
¶
Overview ¶
Package amplicons performs the amplicon scheme validation, handling and filtering for Archer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoSchemeName is returned when primer scheme name is not provided ErrNoSchemeName = errors.New("no primer scheme name provided") // ErrNoSchemeVersion is returned when a bad or non-existent scheme version is provided ErrNoSchemeVersion = errors.New("request scheme version must be >= 0") )
Functions ¶
func CheckManifest ¶
func CheckManifest(manifest *api.Manifest, requestedScheme string, requestedVersion int32) (string, error)
CheckManifest will check a scheme and version are found in the manifest. It will return the scheme tag to use to download this scheme, or any error in checking the manifest.
Types ¶
type Amplicon ¶
type Amplicon struct {
// contains filtered or unexported fields
}
Amplicon stores the minimal information needed by Archer to perform FASTQ filtering for amplicon enrichment.
type AmpliconSet ¶
AmpliconSet is a collection amplicons produced by a primer scheme.
func NewAmpliconSet ¶
func NewAmpliconSet(manifest *api.Manifest, requestedScheme string, requestedVersion int32) (*AmpliconSet, error)
NewAmpliconSet downloads the primer set and reference sequence for a primer scheme in the manifest and returns an AmpliconSet.
func (AmpliconSet) GetMeanSize ¶
func (as AmpliconSet) GetMeanSize() int
GetMeanSize returns the mean amplicon size. Primers and inserts are included.
Click to show internal directories.
Click to hide internal directories.