Entering edit mode
4.4 years ago
javanokendo
▴
60
I am trying to visualize the volcano plot with the EnhancedVolcano plot package and the plot looks strange and I do not know what is causing this problem. I sent my data to the sequencing facility and they just gave me the BAM files and I do not know which version of the mouse reference genome plus the annotation file. I generated the count matrix from the BAM file using featureCounts.
The figure with the details can be found here: volcanoplot.png.
You can use Samtools to figure out the command used by the facility to generate the bam file. Look at the @PG tag might see the genome/annotation file names which might give you a clue of the reference used for alignment.
You generated a Count matrix and then what? What did you use to perform the gene expression stats to create the volcano plot? Is very hard to know what is going on with only this information. More information is needed to reproduce your error and understand the problem.
I have tried to extract the gene counts from BAM file using featureCounts and I keep on getting an error: "address (nil), cause 'memory not mapped". I have tried to run this both on HPC and on my local machine and I get this error. I have a total of 20 BAM files and I used the following command'
Are there tools out there which I can use to extract the count matrix from these bam files?
featureCounts
will generate a table of read counts per gene per sample. That means 1 value per gene per sample.EnhancedVolcano
typically expects exactly 1 logFC value and 1 p-value per gene in total, which is usually calculated by comparing the read counts of subsets of samples to each other, e.g. viaDESeq2
.featureCounts
from within R, I always use it straight on the command line, as detailed in the documentation)