Skip to content

No need to copy, just paste

Compare
Choose a tag to compare
@ErdaradunGaztea ErdaradunGaztea released this 26 Feb 22:37
· 106 commits to master since this release

Expanded on v1.0.0, having implemented functions paste() and collapse() that allow the user to connect multiple sequences into one. Also made some optimization within C++ using templates, speeding up translate() and complement() functions significantly. Lastly, added support for object from bioseq package.

Breaking changes:

  • dropped argument interpret_as_stop from translate() function, as it is not feasible to implement well-working translation rules for tables with ambiguous codons (27, 28 & 31)

New features:

  • implemented paste() (a method for sq class)
  • implemented collapse()
  • added support for classes from bioseq package, i.e. bioseq_aa, bioseq_dna and bioseq_rna

Improved:

  • remade translate() to have codon tables created in compile time; this reduced execution time of translate() by 95%
  • remade complement() to have tables created in compile time; this reduced execution time of complement() by 85%

Fixed:

  • made random_sq() actually use seed parameter while generating sequences