powered by
summarize sequences in a fasta file
fa_summary(x)
data.frame with one row: n_seq, min_len, max_len, mean_len, GC_pct and ambiguous_pct
n_seq
min_len
max_len
mean_len
GC_pct
ambiguous_pct
fasta file or XStringSet object
Guangchuang Yu
Compute number of sequences, length distribution, GC content and proportion of ambiguous characters (anything other than A/C/G/T/U, including gaps).
fa_file <- system.file("extdata/HA.fas", package="seqmagick") fa_summary(fa_file)
Run the code above in your browser using DataLab