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.
Index of sam-file
Index of mapped virus
Before using the function
consensus_sequence, the functions
extract_information_from_reference_genome must be executed.
consensus_sequence ( i = 1 , j = 3 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.