- Using unsigned LenSq in loops.
- fixed incorrect codons
- add explicit casting of alphabet during construction of sequence prototype (fixes issues with new implementation of
union()) - add skips for tests that use not available packages from "Suggests"
write_fasta()andfind_motifs()acceptdata.framearguments now; sequences and their names are taken from specified two columns- more descriptive error messages for non-existing generics that print out classes of the first parameter
- return to automatically exported
Rcppcatch declaration
- added tests and adjusted vignettes for the changes
- replaced deprecated use of
iterator
- adjusted declaration of function autoexported by
Rcppto match newtestthatstandards
- early return now works correctly for
remove_ambiguous() - ensured correct order of operations during sequence packing
- changed some values to
unsignedwherever there was a mismatch
Updates for the CRAN god. Fixed random_sq() out-of-bounds possible problem, so there may be differences in sequences generated using the same seed in this and previous versions.
- upper bound for
random_sq()correctly ignores now "*" and "-" values while computing number of letters to draw from - removed default move/copy constructors/assignment operators for
SequenceandProtoSequenceclasses - lots of technical files cleanup
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.
- dropped argument
interpret_as_stopfromtranslate()function, as it is not feasible to implement well-working translation rules for tables with ambiguous codons (27, 28 & 31)
- implemented
paste()(a method forsqclass) - implemented
collapse() - added support for classes from
bioseqpackage, i.e.bioseq_aa,bioseq_dnaandbioseq_rna
- remade
translate()to have codon tables created in compile time; this reduced execution time oftranslate()by 95% - remade
complement()to have tables created in compile time; this reduced execution time ofcomplement()by 85%
- made
random_sq()actually useseedparameter while generating sequences
Initial stable release.