Subread_to_DEXSeq icon indicating copy to clipboard operation
Subread_to_DEXSeq copied to clipboard

problem for DEXseq

Open wilburnguo opened this issue 2 years ago • 2 comments

dear sir, when i used the function, DEXSeqDataSetFromFeatureCounts(), i got the error :Error in DEXSeqDataSetFromFeatureCounts("results.txt", flattenedfile = flattenedfile, : Count files do not correspond to the flattened annotation file my code followed: source("~/biosoft/Subread_to_DEXSeq-master//load_SubreadOutput.R") genotype<-read.table('~/gse132508/data/genotype.txt',header = T) flattenedfile<-'~/alzheimer/annotation/dexseq_counts.gff' samp <- data.frame(row.names = genotype$Run, condition = genotype$LibrarySource) dxd.fc <- DEXSeqDataSetFromFeatureCounts("results.txt", flattenedfile = flattenedfile,sampleData = samp) all the file used here are following your support funtion,dexseq_prepare_annotation2.py,

wilburnguo avatar Oct 13 '21 16:10 wilburnguo

For me changing 255 to 254 in substr(aggregates$gene_id,1,255) line of DEXSeqDataSetFromFeatureCounts() solved the issue. Because in my case featurecounts cropped aggregate geneIDs of massively overlapped exons to 254 characters.

Polyalineli avatar Mar 04 '22 10:03 Polyalineli

Same problem for me. Unfortunately changing 255 to 254 in substr(aggregates$gene_id,1,255) does not seem to fix it either. Has somebody found another fix? Thank you.

LorenzoLF avatar Nov 04 '22 00:11 LorenzoLF