Log2FC track Visualization in IGV
1
Hello,
Recently i have done some RNASeq analysis.
Now i need to visualize the alignments in IGV.
For reference I have this figure 7-A
from the paper The Fusarium graminearum Histone H3 K27 Methyltransferase KMT6 Regulates Development and Expression of Secondary Metabolite Gene Clusters

I want to create something similar to this. Specifically the log2 kmt6/WT track.
What I Have:
- Ref genome.fasta + genome.fasta.fai + genome.gtf/gff
- mut_aln.bam + mut_aln.bam.bai
- wt_aln.bam + wt_aln.bam.bai
What I have tried:
Generated the bigwig format tracks from both bam files using this command from deepTools
package
bamCoverage -b flask_wt.bam -o $out_dir/flask_wt.bam.bw --normalizeUsing CPM --binSize 10 --extendReads -p 64
then i loaded them in IGV and everything works.
How to create the other track (putple one in figure above) which shows the log2kmt6/WT.
I cannot seem to find any hints in the paper.
Thank you
visualization
IGV
RNASeq
• 763 views
the bars are going Up and Down the axis, and labeled as Log2 kmt6/wt, my guess is that its based on the foldchange ?
With chatGpt i was able to find that its just based on comparison between the .bam.bw (bigwig) files.
bamCoverage --bam merged_flask_wt.bam --outFileName merged_flask_wt.bam.bw \
--normalizeUsing CPM --binSize 10 --extendReads --numberOfProcessors 64
bamCoverage --bam merged_plant_wt.bam --outFileName merged_plant_wt.bam.bw \
--normalizeUsing CPM --binSize 10 --extendReads --numberOfProcessors 64
bigwigCompare \
--bigwig1 "$out_dir/merged_plant_wt.bam.bw" \
--bigwig2 "$out_dir/merged_flask_wt.bam.bw" \
--operation log2 --pseudocount 1 --numberOfProcessors 64\
--outFileName "$out_dir/log2FC_CPM_flask_wt_vs_plants_wt.bw"
but I am not sure if this is the right thing to do.
Login before adding your answer.
Traffic: 3588 users visited in the last hour
So as per my understanding and alot of back and forth Q&A with chatGPT this is what i found
samtools merge
works here.bigwig
tracks foe bothTreatment.bam
andControl.bam
bamCoverage
fromdeeptools
package with normalization (you want) and bin-size of choice. I used following commandbigwigCompare
fromdeeptools
. I used follwoing command.Thank you.
From the figure legend:
There is no info about the magnification in the figure above so one would assume that bars are all in the gene models.