Hi, I ran the following command, but when I compared the resulting count matrix to the BAM file in IGV, I noticed an issue. In some regions, despite the presence of several reads, the feature counts show zero.
I would greatly appreciate your feedback or suggestions on this matter.
# Run featureCounts for Genebody
featureCounts -p --countReadPairs -a "$GENEBODY_SAF" -F SAF -o “$OUTPUT_DIR/${SAMPLE_NAME}_Genebody_counts_new.txt" \
"$BAM"
A complete example focusing on few genes with IGV captures and extraction of the mentioned reads from the BAM file, would be helpful to solve your question.
Probably the reads you see in IGV are antisense or the other pair of the fragment is missing.