- 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.frame
arguments 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
Rcpp
catch declaration
- added tests and adjusted vignettes for the changes
- replaced deprecated use of
iterator
- adjusted declaration of function autoexported by
Rcpp
to match newtestthat
standards
- early return now works correctly for
remove_ambiguous()
- ensured correct order of operations during sequence packing
- changed some values to
unsigned
wherever 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
Sequence
andProtoSequence
classes - 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_stop
fromtranslate()
function, as it is not feasible to implement well-working translation rules for tables with ambiguous codons (27, 28 & 31)
- implemented
paste()
(a method forsq
class) - implemented
collapse()
- added support for classes from
bioseq
package, i.e.bioseq_aa
,bioseq_dna
andbioseq_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 useseed
parameter while generating sequences
Initial stable release.