Hi I’m performing dual RNAseq. I have my transcript aligned to human genome and the resulting Sam file converted to bam file. I’m using samtools version 0.1.19. Now I want to sort the bam file and each time I run the program using the command: (samtools sort accepted_hits.bam -o host_sorted)
The program keeps producing weird figures on the screen and runs for hours unending. Please what can I do to solve this mystery
It is not a mystery. Your samtools version is ancient, therefore your command does not recognize the -o option after the input file, sending everything to stdout (so to your screen) and as BAMs are binary, it looks messy / non-human readable. Upgrade your samtools and do samtools sort -o out_sorted.bam in.bam. By the way, as you seem to be a beginner in NGS analysis (which is totally fine, no offense), please spend quality time reading online material, such as blogs and tutorials and use google and the search function if you encounter problems. Most of the typical problems have been encountered many times before and you will find answers for most situations ;-) For the future, please use Question when posting questions. For general guidelines on posting questions, also see Brief Reminder On How To Ask A Good Question