updateLength: In the score mode "busco" the tool must calculate the length...

Description Usage Arguments Value

View source: R/busco.R

Description

In the score mode "busco" the tool must calculate the length of the founded ortholog sequence to classify it into "complete" or "fragmented". The function will take the phylogenetic profile and the extended fasta file of the interested genome as the input. Based on the common ID of the sequence in each file, the function will calculate the length of the sequence in the fasta file and update it into the phylogenetic profile as a new column.

Usage

1
updateLength(pp, exFasta)

Arguments

pp

the phylogenetic profile of the interested genome in data.frame

exFasta

the extended fasta file in form of a vector, with each element is a line of the file

Value

the phylogenetic profile of the interested genome with updated length for each ortholog (or for each line)


giangnguyen0709/fCAT documentation built on Feb. 10, 2021, 4:31 a.m.