Trim not working for amino acid sequences

Issue #109 resolved
Timothy Sundell created an issue

Hi,

When using the aminoAcidProperties() function, I noticed that the trim option is not used when setting nt = FALSE, only if nt = TRUE will it be considered. I don’t know if this is by design, but from reading the documentation of the trim option, it sounds like this is by mistake:

trim

if TRUE remove the first and last codon/amino acids from each sequence before calculating properties. If FALSE do not modify input sequences.

See line 545 and line 546 in the AminoAcids.R file on Github for reference.

Thank you.

Comments (2)

  1. Log in to comment