Skip to content

plot_virtual_4C

Concepts

plot_virtual_4C is used for visualizing chromatin interactions, similar to what the 4C (Circular Chromosome Conformation Capture) technique does. However, instead of performing a wet-lab 4C experiment, the tool uses processed data to virtually generate a 4C profile focused on interactions of a specific genomic region (viewpoint) with the rest of the genome.

One sample analysis

In this example, the sample range has been normalized using inherent normalization and the black triangle indicates our viewpoint chr1:40400000.

pv4c_1

Interpreting the histogram

pv4c_2

Changing the --width parameter

The bins used to create the histogram can be expanded by supplying a value with the --width parameter. The default --width value is 0.

pv4c_3

Two-sample delta analyses

pv4c_4

Changing the --height parameter

pv4c_5

Usage

Usage and Option Summary

Terminal window
plot_virtual_4C
-A H2K27ac \
-G hg38 \
-R chr1:40280000:40530000 \
-V chr1:40400000

(or):

Terminal window
plot_virtual_4C
-A H3K27ac \
-B H3K27me3 \
-G hg38 \
-R chr1:40280000:40530000 \
-V chr1:40400000

Required

Short OptionLong OptionDescription
-A--sample1Name of the sample as it appears on the Tinkerbox
-G--genomeGenome build used for sample processing
-R--rangeThe genomic range to plot in chr:start:end format; -R chr1:40280000:40530000
-V--viewpointThe viewpoint to consider in chr:start format; -V chr1:40400000

Optional

Short OptionLong OptionDescription
-B--sample2For two sample analyses, name of the second sample as it appears on the Tinkerbox
--sample1_dirIf not using the tinkerbox, specify the full path to the directory containing sample data
--sample2_dirIf not using the tinkerbox, full path to the second sample directory
-Q--normWhich normalization to use: none, cpm, or aqua in lower case
-r--resolutionResolution of sample in basepairs. Default 5000
-O--output_nameOptional name for the plot
--quant_cutCap matrix values at a given percentile (0.00-1.00). Default 1.00
--max_capCap matrix values by adjusting the maximum value, modifies color intensity
--widthNumber of bins up/downstream of viewpoint included in profile. Default 0
--heightValue to control the height of the profile. Default calculated automatically
-i--inherentIf TRUE, normalize using inherent normalization. Default FALSE
--inh_col_floor: Contact color for inherent values < 0, in RGB hexadecimal. Default FFFFFF
--inh_col_off: Contact color for inherent values ~ 0, in RGB hexadecimal. Default D4E4FB
--inh_col_on: Contact color for inherent values ~ 1, in RGB hexadecimal. Default FF0000
--inh_col_ceil: Contact color for inherent values > 1, in RGB hexadecimal. Default FF8D4A
-h--helpHelp message