Hi there,
In the latest version Rsubread package, I run the featurecounts analysis on a few samples but the output has changed the underscores in the sample names into dots, which is very inconvenient.
For example,
the original bam file name: sample_1.bam
the new sample name: sample.1.bam
Is there any way to avoid this conversion?
Many thanks,
Tom
featureCounts()
ofRsubread
does not generatebam
files but uses them as input.You are probably using the
align()
function from the said package. If that is the case, you might want to check theoutput_file
argument. Just change the defaultoutput_file = paste(readfile1,"subread",output_format,sep=".")
tooutput_file = paste(readfile1,"subread",output_format,sep="_")
.OP uses featureCounts and the issue is real, it replaces underscore by dot. The output (column) name in the count matrix is the name of the bam file. Will move this to comment.