src/bioseq/structure

  Source   Edit

Consts

diploidStructureChar: array[DiploidBiallelic, string] = [" 0", " 1", " 2", "-9",
    "-9"]
  Source   Edit
haploidStructureChar: array[HaploidBiallelic, string] = [" 0", " 1", "-9", "-9"]
  Source   Edit

Procs

proc toStructureCharStr(n: DiploidBiallelic): string {....raises: [], tags: [].}
  Source   Edit
proc toStructureCharStr(n: HaploidBiallelic): string {....raises: [], tags: [].}
  Source   Edit
proc toStructureFile(a: Alignment[Biallelic]; path: string)
Write data to file in Structure format.   Source   Edit
proc toStructureString[T: Biallelic](a: Alignment[T]): string
Write data to string in Structure format.   Source   Edit

Iterators

iterator toStructure[T: Biallelic](a: Alignment[T]): string
  Source   Edit