consensus_sequence: Calculate consensus sequence of all original reads

Description Usage Arguments Details Value Examples

Description

In order to visualise the simulation of read sequences, this function produces a four-coloured graphic in which the colours blue, green, red and yellow represent the nucleotides A, C, G and T. The read sequences of the original sam-file are plotted in rows whereupon each column corresponds to a base position of the reference genome. Below the mapped read sequences, the consensus sequence is displayed and at the bottom the subsection of the reference genome belonging to the reads. The graphic is stored in the temporary directory.

Usage

1

Arguments

i

Index of sam-file

j

Index of mapped virus

Details

Before using the function consensus_sequence, the functions create_directories_and_file_paths and extract_information_from_reference_genome must be executed.

Value

None

Examples

1
consensus_sequence ( i = 1 , j = 3 )

Moritz-Kohls/virDisco2 documentation built on Feb. 13, 2020, 12:32 a.m.