Originally posted by dpryan
View Post
Oops... I guess the number of empty I got (24914546) might be too large. Is there a way to check which step went wrong? Here I detailed the steps I used:
(1) I got BAM files for each of the 2 lanes of the samples, and I used samtools to merge the BAM files into a single one:
samtools merge combined.bam accepted_hits_from_L1.bam accepted_hits_from_L2.bam
(2) I used the Python script to generate GFF file:
python dexseq_prepare_annotation.py Homo_sapiens.GRCh37.72_norm.gtf HS.GRCh37.72_norm.DEXSeq.gff
(3) I counted the reads of exons using another Python script to generate TXT files:
samtools view combined.bam | sort -k1,1 -k2,2n | dexseq_count.py -p yes HS.GRCh37.72_norm.DEXSeq.gff - combined.txt
(4) I switched to R to use the read.HTSeqCounts() function to include those TXT files, and then do the analyses.
Interestingly, I did get results for testing differential exon usage (~400 genes are involved by FDR<0.1), and the results "seem" to be reasonable... Just wanna confirm if this is not "garbage in, garbage out"...
Thank you so much!!
Leave a comment: