cds2aa: Translate CDS file to Amino Acids file

View source: R/utils.R

cds2aaR Documentation

Translate CDS file to Amino Acids file

Description

This function takes a data.table object as input and translates the cds sequences stored as seqs column into the corresponding amino acid sequence.

Usage

cds2aa(dt, delete_corrupt_cds = TRUE)

Arguments

dt

a data.table object storing cds sequences in a column named seqs.

delete_corrupt_cds

a logical value indicating whether sequences with corrupt base triplets should be removed from the input file. This is the case when the length of coding sequences cannot be divided by 3 and thus the coding sequence contains at least one corrupt base triplet.


HajkD/orthologr documentation built on Oct. 13, 2023, 12:11 a.m.