powered by
check_cds performs quality control of CDS sequences by filtering some peculiar sequences and optionally remove start or stop codons.
check_cds
check_cds( seqs, codon_table = get_codon_table(), min_len = 6, check_len = TRUE, check_start = TRUE, check_stop = TRUE, check_istop = TRUE, rm_start = TRUE, rm_stop = TRUE, start_codons = c("ATG") )
DNAStringSet of filtered (and trimmed) CDS sequences
input CDS sequences
codon table matching the genetic code of seqs
seqs
minimum CDS length in nt
check whether CDS length is divisible by 3
check whether CDSs have start codons
check whether CDSs have stop codons
check internal stop codons
whether to remove start codons
whether to remove stop codons
vector of start codons
# CDS sequence QC for a sample of yeast genes s <- head(yeast_cds, 10) print(s) check_cds(s)
Run the code above in your browser using DataLab