Top Level Namespace
Included Modules
- CurationTool
- Klib
Extended Modules
- CurationTool
- Klib
Defined in:
Method Summary
-
av(l : Array(Float64)) : Float64
Returns the arithmetic mean of a Float64 array.
-
av(l : Array(Int32)) : Float64
Returns the arithmetic mean of an Int32 array as Float64.
-
get_ave(h, l : Array(String)) : Float64
Returns the mean value from hash h for the keys in l.
-
length_and_gc(f) : Tuple(Hash(String, Int32), Hash(String, Float64), Hash(String, Float64), Hash(String, Float64))
Computes per-sequence statistics from a gzipped FASTA file.
-
parse_bed_file(f) : Array(String)
Parses a
.contamination.bedfile and returns the sequence IDs marked asREMOVE. -
parse_decon_file(f) : Array(String)
Parses a
.contaminationfile and returns the sequence IDs marked asREMOVE.
Instance methods inherited from module CurationTool
build_release(y) : Nil
build_release,
copy_qc(y) : Nil
copy_qc,
setup_local(y) : Nil
setup_local,
setup_tol(y) : Nil
setup_tol
Method Detail
def length_and_gc(f) : Tuple(Hash(String, Int32), Hash(String, Float64), Hash(String, Float64), Hash(String, Float64))
#
Computes per-sequence statistics from a gzipped FASTA file. Returns a tuple of hashes keyed by sequence name:
- sequence length
- GC content (fraction of G/C bases)
- repeat fraction (fraction of lowercase/soft-masked bases)
- stop codon density (occurrences of stop codons per base)
def parse_bed_file(f) : Array(String)
#
Parses a .contamination.bed file and returns the sequence IDs marked as REMOVE.
def parse_decon_file(f) : Array(String)
#
Parses a .contamination file and returns the sequence IDs marked as REMOVE.