Documentation ¶
Overview ¶
Package quality provides support for manipulation of quality data in generic Phred format.
Index ¶
- func Trim(q QualityFeature, limit float64) (start, end int)
- type Appender
- type Phred
- func (self *Phred) Append(a ...alphabet.Qphred)
- func (self *Phred) At(pos seq.Position) alphabet.Qphred
- func (self *Phred) Circular(c bool)
- func (self *Phred) Compose(f feat.FeatureSet) (err error)
- func (self *Phred) Copy() seq.Quality
- func (self *Phred) Description() *string
- func (self *Phred) EAt(pos seq.Position) float64
- func (self *Phred) Encoding() alphabet.Encoding
- func (self *Phred) End() int
- func (self *Phred) IsCircular() bool
- func (self *Phred) Join(p *Phred, where int) (err error)
- func (self *Phred) Len() int
- func (self *Phred) Location() *string
- func (self *Phred) Name() *string
- func (self *Phred) Offset(o int)
- func (self *Phred) QDecode(l byte) alphabet.Qphred
- func (self *Phred) QEncode(pos seq.Position) byte
- func (self *Phred) Raw() interface{}
- func (self *Phred) Reverse()
- func (self *Phred) Set(pos seq.Position, q alphabet.Qphred)
- func (self *Phred) SetE(pos seq.Position, e float64)
- func (self *Phred) SetEncoding(e alphabet.Encoding)
- func (self *Phred) Start() int
- func (self *Phred) Stitch(f feat.FeatureSet) (err error)
- func (self *Phred) String() string
- func (self *Phred) Subseq(start int, end int) (sub seq.Quality, err error)
- func (self *Phred) Truncate(start int, end int) (err error)
- type QualityFeature
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Trim ¶
func Trim(q QualityFeature, limit float64) (start, end int)
Trim uses the modified-Mott trimming function to determine the start and end positions of good sequence.
Types ¶
type Phred ¶
type Phred struct { ID string Desc string Loc string S []alphabet.Qphred Stringify seq.Stringify Meta interface{} // No operation implicitly copies or changes the contents of Meta. // contains filtered or unexported fields }
func (*Phred) Description ¶
Description returns a pointer to the Desc string of the sequence.
func (*Phred) IsCircular ¶
func (*Phred) QDecode ¶
Decode a quality letter to a phred score based on the sequence encoding setting.
func (*Phred) QEncode ¶
Encode the quality at position pos to a letter based on the sequence encoding setting.
func (*Phred) Raw ¶
func (self *Phred) Raw() interface{}
Raw returns the underlying []alphabet.Qphred slice.
func (*Phred) SetEncoding ¶
Set the quality encoding type to e.
Directories ¶
Path | Synopsis |
---|---|
Package illumina provides support for manipulation of quality data in Illumina format.
|
Package illumina provides support for manipulation of quality data in Illumina format. |
Package sanger provides support for manipulation of quality data in Sanger format.
|
Package sanger provides support for manipulation of quality data in Sanger format. |
Package solexa provides support for manipulation of quality data in Solexa format.
|
Package solexa provides support for manipulation of quality data in Solexa format. |
Click to show internal directories.
Click to hide internal directories.