Index
Modules:
readfx
,
readfx/oligoutils
,
readfx/seqtypes
,
readfx/sequtils
.
API symbols
`$`:
readfx: proc `$`(rec: FQRecord): string
readfx: proc `$`(rec: FQRecordPtr): string
avgQuality:
sequtils: proc avgQuality(record: FQRecord; offset: int = 33): float
sequtils: proc avgQuality(quality: string; offset: int = 33): float
Bufio:
readfx: tuple Bufio
close:
readfx: proc close[T](f: var Bufio[T]): int
composition:
sequtils: proc composition(record: FQRecord): SeqComp
eof:
readfx: proc eof[T](f: Bufio[T]): bool
fafmt:
readfx: proc fafmt(rec: FQRecord; width: int = 60): string
filtPolyX:
sequtils: proc filtPolyX(read: FQRecord; minLen: int = 10; trackStats: bool = false): FQRecord
findOligoMatches:
oligoutils: proc findOligoMatches(sequence, primer: string; threshold: float; max_mismatches = 0; min_matches = 6): seq[int]
findPrimerMatches:
oligoutils: proc findPrimerMatches(sequence, primer: string; threshold: float; max_mismatches = 0; min_matches = 6): seq[seq[int]]
FQPair:
seqtypes: object FQPair
FQRecord:
seqtypes: object FQRecord
FQRecordPtr:
seqtypes: object FQRecordPtr
gcContent:
sequtils: proc gcContent(record: FQRecord): float
sequtils: proc gcContent(sequence: string): float
GzFile:
readfx: type GzFile
index:
readfx: proc index[S, T](a: var seq[Interval[S, T]]): int
Interval:
readfx: tuple Interval
kseq_init:
readfx: proc kseq_init(fp: gzFile): ptr kseq_t
kseq_read:
readfx: proc kseq_read(seq: ptr kseq_t): int
kseq_rewind:
readfx: proc kseq_rewind(seq: ptr kseq_t)
maskLowQuality:
sequtils: proc maskLowQuality(record: var FQRecord; minQual: int; offset: int = 33; maskChar: char = 'N')
matchIUPAC:
oligoutils: proc matchIUPAC(primerBase, referenceBase: char): bool
open:
readfx: proc open[T](f: var Bufio[T]; fn: string; mode: FileMode = fmRead; sz: int = 0x00010000): int
overlap:
readfx: iterator overlap[S, T](a: seq[Interval[S, T]]; st: S; en: S): Interval[S, T]
qualCharToInt:
sequtils: proc qualCharToInt(c: char; offset: int = 33): int
qualIntToChar:
sequtils: proc qualIntToChar(q: int; offset: int = 33): char
qualityTrim:
sequtils: proc qualityTrim(record: var FQRecord; minQual: int; offset: int = 33)
read:
readfx: proc read[T](f: var Bufio[T]; buf: var string; sz: int; offset: int = 0): int
readByte:
readfx: proc readByte[T](f: var Bufio[T]): int
readFastx:
readfx: proc readFastx[T](f: var Bufio[T]; r: var FQRecord): bool
readFQ:
readfx: iterator readFQ(path: string): FQRecord
readFQPair:
readfx: iterator readFQPair(path1: string; path2: string; checkNames: bool = false): FQPair
readFQPtr:
readfx: iterator readFQPtr(path: string): FQRecordPtr
readLine:
readfx: proc readLine[T](f: var Bufio[T]; buf: var string): bool
readUntil:
readfx: proc readUntil[T](f: var Bufio[T]; buf: var string; dret: var char; delim: int = -1; offset: int = 0): int
revCompl:
sequtils: proc revCompl(record: var FQRecord)
sequtils: proc revCompl(record: FQRecord): FQRecord
sequtils: proc revCompl(sequence: string): string
SeqComp:
seqtypes: object SeqComp
sort:
readfx: proc sort[S, T](a: var seq[Interval[S, T]])
subSequence:
sequtils: proc subSequence(record: FQRecord; start: int; length: int = -1): FQRecord
trimEnd:
sequtils: proc trimEnd(record: FQRecord; bases: int): FQRecord
trimQuality:
sequtils: proc trimQuality(quality: string; minQual: int; offset: int = 33): string
trimStart:
sequtils: proc trimStart(record: FQRecord; bases: int): FQRecord
xopen:
readfx: proc xopen[T](fn: string; mode: FileMode = fmRead; sz: int = 0x00010000): Bufio[T]