### Matrix File with Header Lines Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Example of a matrix file containing multiple header lines, which requires the -fh parameter. ```text # resultName mESCs-female-PGK-day2-Replicate1 # # # REV_2|mm9|chrX:98831149-98834145 REV_4|mm9|chrX:98837507-98840771 REV_6|mm9|chrX:98841228-98843248 REV_12|mm9|chrX:98855723-98862021 936.010581657246 743.499513378904 241.956223702097 23.2451328286973 69.8831429744098 513.412096905019 747.143877424081 7.1902317648089 ``` -------------------------------- ### Standard Hi-C/5C Matrix Format Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Example of a standard matrix file where the first line is ignored by default. ```text Bin1 Bin2 Bin3 Bin4 Bin5 Bin6 7.85957 4.80329 11.4766 9.57416 4.5288 8.55022 8.61621 4.98956 2.35654 5.69483 11.1187 10.1322 4.06803 4.07801 7.98047 2.59144 6.3851 7.74306 4.52869 2.70624 8.94544 4.29185 8.29491 8.38257 2.91472 3.84658 1.56752 4.48515 7.4955 8.77461 3.08096 2.96487 7.23623 2.33142 3.08529 5.5379 3.12141 3.06905 4.97247 2.39298 5.03621 7.22344 3.4037 2.26455 1.48176 1.41958 3.40252 7.7027 3.8696 1.41425 7.68872 2.21027 5.06846 3.20063 ``` -------------------------------- ### BED File Format and Conversion Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Example of BED file format and the command to convert it to a matrix file. ```text chr6 80000_120000 120000_160000 10.278 chr6 80000_120000 160000_200000 3.648 chr6 80000_120000 200000_240000 4.204 ``` ```bash run python bedToMatrix.py [file_name] ``` -------------------------------- ### Running HiCPlotter with Triplet Sparse Data Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Example command to run HiCPlotter using the -tri parameter and a bin-annotation file. ```bash python HiCPlotter.py -f GSE35156_GSM892306_hESC.40000.matrix -chr chr7 -o Example -r 40000 -tri 1 -bed GSE35156_GSM892306_hESC.40000_ord.bed -n hES -s 650 -e 700 ``` -------------------------------- ### Triplet Sparse Format and Annotation Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Example of HiC-Pro triplet sparse format and the corresponding bin-annotation BED file. ```text 1050 1586 1 1050 1589 1 1050 1590 1 (jumps to 1612) 1050 1612 2 ``` ```text chr1 20960000 20980000 1049 chr1 20980000 21000000 1050 chr1 21000000 21020000 1051 chr1 21020000 21040000 1052 chr1 21040000 21060000 1053 chr1 21060000 21080000 1054 chr1 21080000 21100000 1055 ``` -------------------------------- ### Focusing on a Chromosomal Region Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Visualizes a specific region using bin numbers for start (-s) and end (-e) parameters, with options for TAD visualization. ```bash python HiCPlotter.py -f data/HiC/Human/hES-nij.chr21.2 -n hES -chr chr21 -r 40000 -o default2 -ptd 1 -pptd 1 -s 600 -e 900 -fh 0 -w 8 -tr 10 -pi 1 ``` ```bash python HiCPlotter.py -f data/HiC/Human/hES-nij.chr21.2 -n hES -chr chr21 -r 40000 -o default2 -ptd 1 -pptd 1 -s 600 -e 900 -fh 0 -w 8 -tr 10 -pi 1 -pdb 1 ``` -------------------------------- ### Basic HiCPlotter Execution Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md General command structure for running HiCPlotter with input files and output naming. ```bash python HiCPlotter.py -f file1 file2 -n name1 name2 -chr chrX -o output ``` -------------------------------- ### Prepare data matrix via command line Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Use the cut command to isolate data columns from a matrix file before processing. ```bash cut -f N- matrix > new_matrix (where N is the ith column data values start) ``` -------------------------------- ### Run HiCPlotter Visualization Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Execute the HiCPlotter script with specified input files, genomic ranges, and track configurations. ```bash python HiCPlotter.py -f HUVEC.txt NHEK.txt -r 25000 -chr chr16 -n HUVEC NHEK -da 1 -o TOX3 -mm 6 -spi 1 -t HUVEC.E122.states.bed NHEK.E127.states.bed -tl States States -s 1940 -e 2156 -hist HUVEC.H3K9me3.bedGraph,Huvec.CTCF.bedGraph NHEK.H3K9me3.bedGraph,Nhek.CTCF.bedGraph -hl H3K9me3,CTCF H3K9me3,CTCF -si 1 -hc FF78B7,85d8e6 FF78B7,85d8e6 -fhist 1,0 1,0 -hm 18,600 18,600 -c 1 -a HUVEC.Arrowhead.txt NHEK.Arrowhead.txt -al Domains Domains -ac cecece cecece -g Sox9genes.sorted.bed ``` -------------------------------- ### Run basic HiCPlotter visualization Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Executes a basic plot using multiple Hi-C matrix files for a specific chromosome and resolution. ```bash python HiCPlotter.py -f data/HiC/Human/GM12878-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/K562-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/HUVEC-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/NHEK-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/IMR90-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt -n GM12878 K562 HUVEC NHEK IMR90 -chr chr10 -r 25000 -s 3000 -e 3250 -o Figure1 -fh 0 ``` -------------------------------- ### Perform pair-wise matrix comparisons Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Plots comparison matrices for each pair of input matrices using the -c and -p parameters. Note that this can be memory inefficient for high-resolution matrices. ```bash python HiCPlotter.py -f HUVEC-chr21_25kb.RAWobserved_KRnormalizedMatrix.txt NHEK-chr21_25kb.RAWobserved_KRnormalizedMatrix.txt HMEC-chr21_25kb.RAWobserved_KRnormalizedMatrix.txt -n HUVEC NHEK HMEC -chr chr21 -r 25000 -o pair -c 1 -p 1 -spi 1 -mm 8 -s 650 -e 1210 -t HUVEC.E122.states.bed NHEK.E127.states.bed HMEC.E119.states.bed -tl States States States ``` -------------------------------- ### Generate Epilogos Plots with HiCPlotter Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Visualize chromatin state model data using the -ep parameter. Ensure qcat files are sourced from the imputed or observed folders as colors are hard-coded. ```bash python HiCPlotter.py -f data/HiC/Human/GM12878-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt -chr chr10 -fh 0 -n GM12878 -o Epilogos -r 25000 -ep qcat -hist RepliSeq.bedGraph -hl RepliSeq -fhist 1 -s 2500 -e 5000 -mm 8 ``` -------------------------------- ### Visualizing Multiple Hi-C Datasets Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Compares multiple Hi-C datasets in a single view, with customizable heatmap colors using the -hmc parameter. ```bash python HiCPlotter.py -f data/HiC/Human/GSM1081526_TEV_r1_cis.index.chr6.txt_matrix.txt data/HiC/Human/GSM1081528_HRV_r1_cis.index.chr6.txt_matrix.txt data/HiC/Human/GSM1081530_CTRL_r1_cis.index.chr6.txt_matrix.txt data/HiC/Human/GSM1081533_CTCF_r2_cis.index.chr6.txt_matrix.txt -n WT RAD21-Depleted siControl CTCF-Depleted -chr chr6 -r 40000 -fh 0 -pi 0 -sn 0.35 -o Rad21.CTCF -s 2800 -e 2950 -hmc 5 ``` -------------------------------- ### Handle missing Python dependencies Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Comment out missing imports and adjust HiCPlotter parameters accordingly. ```python Original : from scipy.signal import argrelextrema (line 20) Try this : #from scipy.signal import argrelextrema (line 20). Use HiCPlotter with the -pi 0 and -ptd 0 ``` -------------------------------- ### Plot whole genome with triple sparse files Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Generates whole genome interaction plots using triple sparse files and BED files. ```bash python HiCPlotter.py -f triple.sparse -tri 1 -bed triple.bed -wg 1 -chr chrY -o WholeGenome -n hES ``` ```bash python HiCPlotter.py -f triple.sparse -tri 1 -bed triple.bed -wg 1 -chr chr11 -o WholeGenome -n hES ``` -------------------------------- ### Compare Hi-C matrices Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Generates a log2 comparison matrix for two input Hi-C matrices using the -c parameter. ```bash python HiCPlotter.py -f data/HiC/Human/HUVEC-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/IMR90-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt -chr chr10 -n HUVEC IMR90 -o comparison -s 4850 -e 5400 -mm 8 -r 25000 -c 1 -t data/HiC/Human/HUVEC_18_core_K27ac_dense2.bed data/HiC/Human/IMR90_18_core_K27ac_dense2.bed -tl States States -spi 1 -hist data/HiC/Human/wgEncodeUwRepliSeqHuvecWaveSignalRep1.bedGraph data/HiC/Human/wgEncodeUwRepliSeqImr90WaveSignalRep1.bedGraph -hl RepliSeq RepliSeq -fhist 1 1 ``` -------------------------------- ### Plot whole genome interactions Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Activates whole genome plotting using the -wg parameter with standard matrix files. ```bash python HiCPlotter.py -f data/HiC/Human/GSM1184323-HiCMYZ-Tcell-Rad21WT-R1.mm9.NA.L-1400000-wDiag-noSS-iced.2.matrix data/HiC/Human/GSM1184321-HiCMYZ-Tcell-Rad21KO-R1.mm9.NA.L-1400000-wDiag-noSS-iced.2.matrix -n Tcell_WT Tcell_Rad21KO -chr Genome -r 1400000 -o Tcell -pi 0 -ptr 0 -wg 1 -hmc 5 -fh 4 ``` -------------------------------- ### Visualize Hi-C data with additional genomic tracks Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Generates a complex plot including histograms, domain lists, and ChromHMM tracks for multiple samples. ```bash python HiCPlotter.py -f data/HiC/Human/GM12878-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/K562-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/HUVEC-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/NHEK-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/IMR90-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt -n GM12878 K562 HUVEC NHEK IMR90 -chr chr10 -r 25000 -s 3000 -e 3500 -o Figure2 -hist data/HiC/Human/wgEncodeUwDnaseGm12878RawRep2.chr10.bedGraph,data/HiC/Human/wgEncodeBroadHistoneGm12878CtcfStdSig.chr10.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqGm12878WaveSignalRep1.bedGraph data/HiC/Human/wgEncodeUwDnaseK562RawRep2.chr10.bedGraph,data/HiC/Human/wgEncodeBroadHistoneK562CtcfStdSig.chr10.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqK562WaveSignalRep1.bedGraph data/HiC/Human/wgEncodeUwDnaseHuvecRawRep2.chr10.bedGraph,data/HiC/Human/wgEncodeBroadHistoneHuvecCtcfStdSig.chr10.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqHuvecWaveSignalRep1.bedGraph data/HiC/Human/wgEncodeUwDnaseNhekRawRep2.chr10.bedGraph,data/HiC/Human/wgEncodeBroadHistoneNhekCtcfStdSig.chr10.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqNhekWaveSignalRep1.bedGraph data/HiC/Human/wgEncodeOpenChromDnaseImr90BaseOverlapSignal.chr10.bedGraph,data/HiC/Human/wgEncodeSydhTfbsImr90CtcfbIggrabSig.chr10.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqImr90WaveSignalRep1.bedGraph -fh 0 -fhist 0,0,1 0,0,1 0,0,1 0,0,1 0,0,1 -hl DNAse,CTCF,RepliSeq DNAse,CTCF,RepliSeq DNAse,CTCF,RepliSeq DNAse,CTCF,RepliSeq DNAse,CTCF,RepliSeq -hm 400,600,100 400,600,100 400,600,100 400,600,100 400,600,100 -pcd 1 -pcdf data/HiC/Human/GM12878_Arrowhead_domainlist.bed data/HiC/Human/K562_Arrowhead_domainlist.bed data/HiC/Human/HUVEC_Arrowhead_domainlist.bed data/HiC/Human/NHEK_Arrowhead_domainlist.bed data/HiC/Human/IMR90_Arrowhead_domainlist.txt -t data/HiC/Human/GM12878_18_core_K27ac_dense2.bed data/HiC/Human/K562_18_core_K27ac_dense2.bed data/HiC/Human/HUVEC_18_core_K27ac_dense2.bed data/HiC/Human/NHEK_18_core_K27ac_dense2.bed data/HiC/Human/IMR90_18_core_K27ac_dense2.bed -tl ChromHMM ChromHMM ChromHMM ChromHMM ChromHMM -pptd 1 -high 1 -hf data/HiC/Human/fig2.bed ``` -------------------------------- ### Plotting Multiple Histograms Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Overlays multiple histogram tracks on a Hi-C matrix. Multiple inputs for histograms and labels must be comma-separated. ```bash python HiCPlotter.py -f data/HiC/Mouse/mES.chr2 -n mES -chr chr2 -r 40000 -o HoxD -hist data/HiC/Mouse/GSM1334415_4C_Mouse_EScells_Hoxd4_smoothed_11windows.bedGraph,data/HiC/Mouse/GSM1334440_4C_Mouse_E9.5TB_Hoxd4_smoothed_11windows.bedGraph,data/HiC/Mouse/GSM1334412_4C_Mouse_EScells_Hoxd13_smoothed_11windows.bedGraph,data/HiC/Mouse/GSM1334437_4C_Mouse_E9.5TB_Hoxd13_smoothed_11windows.bedGraph,data/HiC/Mouse/GSM747534_ChIPseq_CTCF_ES_rep1.chr2.bedGraph -hl Hoxd4-ES,Hoxd4-Tail,Hoxd13-ES,Hoxd13-Tail,CTCF-ES -s 1830 -e 1880 -fh 0 -pi 0 -pcd 1 -pcdf data/mES_domains_mm9.bed -fhist 1,1,1,1,0 -hm 2000,2000,2000,2000,50 ``` -------------------------------- ### Generate Arc Plots with HiCPlotter Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Creates an arc plot visualizing chromatin interactions and histone modifications from bedGraph and bed files. ```bash python HiCPlotter.py -f data/HiC/Mouse/mES.chr3 -n mES -chr chr3 -o Bhlhe22 -r 40000 -s 400 -e 500 -a data/HiC/Mouse/mESC_SMC_ChIPPet.bed -al SMC -hist data/HiC/Mouse/GSM747534_chr3.bedGraph,data/HiC/Mouse/wgEncodeLicrHistoneEsb4H3k27me3ME0C57bl6StdSig.chr3.bedGraph -hl CTCF,H3K27me3 -pi 0 -ptr 0 -t data/HiC/Mouse/mm9_Polycomb_domains.bed -tl Polycomb -tc 00CCFF -ac B4B4B4 -fh 0 ``` -------------------------------- ### Highlighting loci with HiCPlotter Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Use the -high 1 flag combined with the -hf parameter to specify a BED file containing the loci to highlight. ```bash python HiCPlotter.py -f data/HiC/Human/GM12878-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/K562-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt -n GM12878 K562 -chr chr10 -r 25000 -pi 0 -fh 0 -o ChIA -a data/HiC/Human/GM12878.Rad21.bed data/HiC/Human/K562.Rad21.bed -al ChIA-PET ChIA-PET -s 3000 -e 3500 -pcd 1 -pcdf data/HiC/Human/GM12878_Arrowhead_domainlist.bed data/HiC/Human/K562_Arrowhead_domainlist.bed -hist data/HiC/Human/wgEncodeUwDnaseGm12878RawRep2.chr10.bedGraph,data/HiC/Human/wgEncodeBroadHistoneGm12878CtcfStdSig.chr10.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqGm12878WaveSignalRep1.bedGraph data/HiC/Human/wgEncodeUwDnaseK562RawRep2.chr10.bedGraph,data/HiC/Human/wgEncodeBroadHistoneK562CtcfStdSig.chr10.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqK562WaveSignalRep1.bedGraph -hl DNAse,CTCF,RepliSeq DNAse,CTCF,RepliSeq -fhist 0,0,1 0,0,1 -pptd 1 -high 1 -hf data/HiC/Human/highlight.bed ``` -------------------------------- ### Generate Cohesin ChIA-PET interaction plot Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Visualizes Hi-C data for chromosome 15 with multiple tracks including DNase, CTCF, and RepliSeq. ```bash python HiCPlotter.py -f data/HiC/Human/GM12878-chr15_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/K562-chr15_25kb.RAWobserved_KRnormalizedMatrix.txt -n GM12878 K562 -chr chr15 -r 25000 -s 1800 -e 2250 -o Figure3 -hist data/HiC/Human/wgEncodeUwDnaseGm12878RawRep1.chr15.bedGraph,data/HiC/Human/wgEncodeBroadHistoneGm12878CtcfStdSig.chr15.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqGm12878WaveSignalRep1.bedGraph data/HiC/Human/wgEncodeUwDnaseK562RawRep1.chr15.bedGraph,data/HiC/Human/wgEncodeBroadHistoneK562CtcfStdSig.chr15.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqK562WaveSignalRep1.bedGraph -fh 0 -fhist 0,0,1 0,0,1 -hl DNase,CTCF,RepliSeq DNase,CTCF,RepliSeq -hm 400,400,100 400,400,100 -t data/HiC/Human/GM12878_Enhancer.bed,data/HiC/Human/GM12878_Txn.bed,data/HiC/Human/GM12878_Het.bed data/HiC/Human/K562_Enhancer.bed,data/HiC/Human/K562_Txn.bed,data/HiC/Human/K562_Het.bed -tl Enhancer,Transcribed,Heterochromatin Enhancer,Transcribed,Heterochromatin -a data/HiC/Human/GM12878.Rad21.bed data/HiC/Human/K562.Rad21.bed -al RAD21 RAD21 -ptr 0 -high 1 -hf data/HiC/Human/fig3.bed ``` -------------------------------- ### Plotting Genes with HiCPlotter Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Generates a plot including gene annotations. Saving as a PDF is recommended for higher quality output. ```bash python HiCPlotter.py -f data/HiC/Human/IMR90-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt -o genes -n IMR90 -chr chr17 -g genes.sorted.bed -r 25000 -s 1800 -e 1850 -hist data/HiC/Human/IMR90.Rad21.bedGraph -hl Rad21 -hm 500 -ext pdf ``` -------------------------------- ### Annotate interaction matrix with peaks Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Use the -peak parameter to overlay interaction loci from BED files onto the generated Hi-C plots. ```bash python HiCPlotter.py -f data/HiC/Human/GM12878-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/KBM7-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/K562-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/HUVEC-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/IMR90-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/HMEC-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/NHEK-chr10_25kb.RAWobserved_KRnormalizedMatrix.txt -n GM12878 KBM7 K562 HUVEC IMR90 HMEC NHEK -r 25000 -pi 0 -fh 0 -o Loops -chr chr10 -peak data/HiC/Human/GSE63525_GM12878_replicate_HiCCUPS_looplist.bed data/HiC/Human/GSE63525_KBM7_HiCCUPS_looplist.bed data/HiC/Human/GSE63525_K562_HiCCUPS_looplist.bed data/HiC/Human/GSE63525_HUVEC_HiCCUPS_looplist.bed data/HiC/Human/GSE63525_IMR90_HiCCUPS_looplist.bed data/HiC/Human/GSE63525_HMEC_HiCCUPS_looplist.bed data/HiC/Human/GSE63525_NHEK_HiCCUPS_looplist.bed -s 3600 -e 3675 -ptr 0 ``` -------------------------------- ### Visualize 5C data Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Generates plots for 5C data using the -rb parameter for random binned plotting. Limited to matrix and triangular plot types. ```bash python HiCPlotter.py -f data/5C/GSM873926_mESCs-female-PGK12.1-day2-Replicate1.txt data/5C/GSM873932_femaleXO-mESCs-DXTX-replicate-1.matrix.txt data/5C/GSM873924_female-MEFs-replicate-1.matrix.txt -n mESC mESC_XO MEF -fh 8 -chr chrX -o 5C -sn 2 -pi 0 -rb 1 -e 300 -hmc 5 ``` -------------------------------- ### Generate lincRNA locus chromatin formation plot Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Visualizes Hi-C data for chromosome 19 with tracks for DNAse, RNASeq, and RepliSeq. ```bash python HiCPlotter.py -f data/HiC/Human/GM-chr19_25kb.RAWobserved_KRnormalizedMatrix.txt data/HiC/Human/K562-chr19_25kb.RAWobserved_KRnormalizedMatrix.txt -n GM12878 K562 -r 25000 -chr chr19 -hist data/HiC/Human/GM12878.DNAse.chr19.2.bedGraph,data/HiC/Human/GM12878.RnaSeq.chr19.2.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqGm12878WaveSignalRep1.bedGraph data/HiC/Human/K562.DNAse.chr19.2.bedGraph,data/HiC/Human/K562.RnaSeq.chr19.2.bedGraph,data/HiC/Human/wgEncodeUwRepliSeqK562WaveSignalRep1.bedGraph -hl DNAse,RNASeq,RepliSeq DNAse,RNASeq,RepliSeq -t data/HiC/Human/GM12878_TSS+Trx.2.bed data/HiC/Human/K562_TSS+Trx.2.bed -tl ChromHMM ChromHMM -high 1 -hf data/HiC/Human/region.bed -o Figure4 -s 1100 -e 1302 -hm 300,300,100 300,300,100 -fh 0 -fhist 0,0,1 0,0,1 -ptr 0 ``` -------------------------------- ### Generate Bar Plots with HiCPlotter Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Creates a bar plot for gene expression data using a specified bedGraph file and hexadecimal color code. ```bash python HiCPlotter.py -f data/HiC/Mouse/mES.chr6 -n mES -chr chr6 -r 40000 -o HoxDb -b data/HiC/Mouse/GSE39522_rnaseq_gene_expression.bedGraph -bl GeneExpression -s 2900 -e 3075 -fh 0 -pi 0 -bc 9ACD32 -bm 500 -mm 8 -spi 1 ``` -------------------------------- ### Generate Tile Plots with HiCPlotter Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Use the -tt parameter to plot features above tiles when the bedGraph file contains text in the 6th column. ```bash python HiCPlotter.py -f data/HiC/Mouse/mES.chr6 -n mES -chr chr6 -r 40000 -o Digit.vs.GT -s 1295 -e 1338 -hist data/HiC/Mouse/GSM1524258_segToFrag_4C_Digits_WT_E12-5_HoxA13_smoothed_11FragsPerWin.bedGraph,data/HiC/Mouse/GSM1524259_segToFrag_4C_GT_WT_E15-5_HoxA13_smoothed_11FragsPerWin.bedGraph -hl Digits,GT -fhist 1,1 -fh 0 -pi 0 -hm 1500,1500 -pcd 1 -pcdf data/mES_domains_mm9.bed -sn 0.4 -t data/HiC/Mouse/primers.bedGraph -tl Enhancers -tt 1 ``` -------------------------------- ### Creating Frameless Histogram Tracks Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Removes frames from histogram tracks using the --spine (-spi) 1 parameter. ```bash python HiCPlotter.py -f data/HiC/Mouse/mES.chr2 -n mES -chr chr2 -r 40000 -o HoxDcs -hist data/HiC/Mouse/GSM1334415_4C_Mouse_EScells_Hoxd4_smoothed_11windows.bedGraph,data/HiC/Mouse/GSM1334412_4C_Mouse_EScells_Hoxd13_smoothed_11windows.bedGraph -hl Hoxd4-ES,Hoxd13-ES -s 1830 -e 1880 -fh 0 -pi 0 -pcd 1 -pcdf data/mES_domains_mm9.bed -fhist 1,1 -hm 2000,2000 -hc 143D52,9ACD32 -spi 1 ``` -------------------------------- ### Applying Custom Histogram Colors Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Uses the -hc parameter to specify hexadecimal colors for the area under the curve in histogram tracks. ```bash python HiCPlotter.py -f data/HiC/Mouse/mES.chr2 -n mES -chr chr2 -r 40000 -o HoxDc -hist data/HiC/Mouse/GSM1334415_4C_Mouse_EScells_Hoxd4_smoothed_11windows.bedGraph,data/HiC/Mouse/GSM1334412_4C_Mouse_EScells_Hoxd13_smoothed_11windows.bedGraph -hl Hoxd4-ES,Hoxd13-ES -s 1830 -e 1880 -fh 0 -pi 0 -pcd 1 -pcdf data/mES_domains_mm9.bed -fhist 1,1 -hm 2000,2000 -hc 143D52,9ACD32 ``` -------------------------------- ### Plotting Whole Chromosome Source: https://github.com/akdemirlab/hicplotter/blob/master/README.md Generates a plot for an entire chromosome. The -fh 0 flag is required when the input matrix lacks a header. ```bash python HiCPlotter.py -f data/HiC/Human/hES-nij.chr21.2 -n hES -chr chr21 -r 40000 -o default1 -fh 0 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.