Exon-level counts via featureCounts
1
0
Entering edit mode
20 days ago
n_navy • 0

Hello, I'm doing RNA-seq analyses and now I wanna use edgeR's diffSpliceDGE function, but as I understand I need and exon-level count data because I get the error:

> deu <- diffSpliceDGE(lrt, geneid="GeneID")
Total number of exons:  78932
Total number of genes:  78932
Number of genes with 1 exon:  78932
Mean number of exons in a gene:  1
Max number of exons in a gene:  1
Error in diffSpliceDGE(lrt, geneid = "GeneID") :
  No genes with more than one exon

My current featureCounts codes:

#!/bin/bash

/home/user/subread-2.0.2-Linux-x86_64/bin/featureCounts -p \
 -g gene_id \
 -s 2 \
 -a /home/user/rnaseq/gencode.v47.primary_assembly.annotation.gtf \
 -t exon \
 -o /home/user/rnaseq/fcounts.txt \
 -T 8 /home/user/rnaseq/*.bam \
 -M \
 --fraction \

How can I get the proper format? Thank you.

diffSpliceDGE exon RNASeq featureCounts edgeR • 484 views
ADD COMMENT
1
Entering edit mode
20 days ago
GenoMax 151k

I understand I need and exon-level count data

Then you should use

# Level of summarization

  -f                  Perform read counting at feature level (eg. counting 
                      reads for exons rather than genes).
ADD COMMENT
0
Entering edit mode

When I use -f parameter, Successfully assigned alignments is being extremely low.

ADD REPLY
0
Entering edit mode

Perhaps you have not also allowed multi-overlapping? (exons from different transcripts of the same gene will overlap each other)

ADD REPLY

Login before adding your answer.

Traffic: 2053 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6