This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to get rid of the temp files while using "featureCounts" for extracting readcounts from bam files?

I used this command for extracting read counts for almost 60 samples using featureCounts.

featureCounts -a /gencode.v27.primary_assembly.annotation_nochr.gtf -F GTF -p -s 2 -T 8 -o counts.txt sample.sorted.bam

I see many "temp-core-100373-A4BF0116E148.sam-TH00-BK004414.tmp" files like this in my directory. How to get rid of these tmp files from my directory while using the command?

rna-seq featurecounts counts bam hisat2

If featureCounts is still running, it's normal, it creates temporary files to process your data. Just let it finish is job and check if your temporary files are deleted when the process ends.

No .tmp files are not deleted. I manually deleted them.

0 answers

No answers yet.

Log in to answer this question.