codon_filter | R Documentation |
Filter sequences containing stop codons
codon_filter(x, genetic_code = NULL, tryrc = TRUE, resolve_draws = "majority")
x |
Sequences in DNAStringset or DNAbin format |
genetic_code |
A genetic code for the Amino acid translation. set to 'SGC4' for Invertebrate mitochondrial or see all known codes at Biostrings::GENETIC_CODE_TABLE |
tryrc |
Whether the reverse complemement should be evaluated if no frame without stop codons was found in the forward orientation. |
resolve_draws |
How draws should be resolved when multiple possible frames produce sequences with no stop codons. Options are "remove" to completely remove the sequence, or "majority" to pick the most common frame from the entire alignment. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.