Documentation
¶
Overview ¶
Copyright © 2023 Christian Diener <mail(a)cdiener.com>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func AddLineage[K any](taxids map[string]K, data_dir string, format string) map[string]*Lineage
- func Confidence(abundances map[string]uint32, classification string) float64
- func CountLines(path string) (int, error)
- func Entropy(abundances map[string]uint32) float64
- func FilterReads(k2path string, out string, data_dir string, format string, named bool, ...) error
- func GetFormat(filename string) (string, bool)
- func GetLeaf(lin *Lineage) (int, string)
- func GetRanks(format string) []string
- func HasTaxonkit() (string, bool)
- func Multiplicity(abundances map[string]uint32) uint32
- func ParseMapping(k2map Mapping, line string, named bool) error
- func SampleAppend(files []string, out string, sep rune) error
- func SaveMapping(k2map Mapping, filepath string, sample_id string) error
- func ScoreReadsToFile(k2path string, out string, data_dir string, format string, named bool) error
- func SimpleAppend(files []string, out string, header bool) error
- func TaxID(token string, named bool) string
- func TaxonDB(filepath string, data_dir string, format string, named bool) (map[string]*Lineage, int)
- func UpdateMapping(entry *Taxon, kmer_taxid string, count int)
- type Lineage
- type Mapping
- type Node
- type ReadScore
- type Taxon
- type Tree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLineage ¶
func FilterReads ¶
func HasTaxonkit ¶
func Multiplicity ¶
func ScoreReadsToFile ¶
func UpdateMapping ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.