The documentation for VOCAL details nicely the use of the selector.py function to generate a table of mutation that is VOCAL compatible from a covsonar match table (VOCAL tool/Ecosystem section)
However the Script_VOCAL_unified.R function should make use of the metadata that is usually in the covsonar file: sample ID, geolocation, sampling date and lineage annotation.
My quick fix for the moment is to use a awk script to generate another metadata table
The new preprocessing step checks if a metadata file contains at least the ID and LINEAGE column. If not, it checks if the header fits a covsonar file and runs this command if it does.
The documentation for VOCAL details nicely the use of the
selector.py
function to generate a table of mutation that is VOCAL compatible from a covsonar match table (VOCAL tool/Ecosystem section)However the
Script_VOCAL_unified.R
function should make use of the metadata that is usually in the covsonar file: sample ID, geolocation, sampling date and lineage annotation. My quick fix for the moment is to use a awk script to generate another metadata tableThe best thing would be to do that directly in the Selector.py function such that it can output two table files.