Description Usage Arguments Details Value Author(s) See Also Examples
The function calculates the genomic gc3 for an multifasta genomic CDS file. The function first concatenated all the CDS sequences in the file into one long CDS string, than calculated the gc3 from the GC3 function in seqinr package. You can also use the function to calculate the gc3 for a single gene, or a set of genes, depends what content you put in the input file.
1 | genomic_gc3(inputfile)
|
inputfile |
a character vector for the filepath of the whole genome cds file |
The function calculates the genomic gc3 for an multifasta genomic CDS file. The function first concatenated all the CDS sequences in the file into one long CDS string, than calculated the gc3 from the GC3 function in seqinr package. You can also use the function to calculate the gc3 for a single gene, or a set of genes, depends what content you put in the input file. The result can be used as input for the s_index calculation.
a numeric vector genomic_gc3 is returned
Yu Sun
GC3
in seqinr library
1 2 3 4 5 6 7 | # ----------------------------------------------- #
# Lactobacillus kunkeei example #
# ----------------------------------------------- #
# Here is an example to calculate the genomic gc3
# input the one multifasta files to calculate genomic gc3
genomic_gc3(system.file("sequences/L_kunkeei_genome_cds.ffn",package="sscu"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.