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?
• 201 views
•
link
0 answers
No answers yet.
Log in to answer this question.
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.
Is the job ended successfully ?