count_constant_sites 0.1.1

Compute the count of cases in constant sites in a (FASTA) multiple sequence alignment
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 29.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.64 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 27s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • pvanheus

count_constant_sites

Given a FASTA file with a multiple sequence alignment of nucleotides, this tool counts the sites in the alignment that are constant. The output is a line suitable for use in IQTREE's -fconst, thus 4 numbers with commas expressing the count of As, Cs, Gs and Ts.

A constant site is one where the entire column of the alignment is one nucleotide. This tool is not case sensitive. Only As, Cs, Ts and Gs are considered (i.e. gaps and ambiguous nucleotides are not considered).

TODO:

  • extend to work with protein alphabets