Documentation
¶
Overview ¶
Package seqio contains custom types and methods for holding and processing sequence data
Index ¶
Constants ¶
const FASTQ_ENCODING = 33
FASTQ_ENCODING used by the FASTQ file
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FASTQread ¶
FASTQread is a type that holds a single FASTQ read, along with the locations it mapped to
func NewFASTQread ¶
NewFASTQread is the constructor function, which takes 4 lines of a fastq entry and returns the FASTQread object TODO: this is garbage - needs replacing
func (*FASTQread) QualityTrim ¶
QualityTrim is a method to quality trim the sequence held by a FASTQread
the algorithm is based on bwa/cutadapt read quality trim functions:
-1. for each index position, subtract qual cutoff from the quality score -2. sum these values across the read and trim at the index where the sum in minimal -3. return the high-quality region
func (*FASTQread) ReverseComplement ¶
func (FASTQread *FASTQread) ReverseComplement()
ReverseComplement is a method to reverse complement a sequence held by a FASTQread