So I have metagenome bam files which contain reads for both human and bacteria. I would like to remove all the human reads so I can focus on the bacterial reads. Has anyone been able to remove human reads from their RNA-seq data using samtools or any other software?
You have it in a bam file, meaning it's already aligned? To what?
It was aligned to a metagenome database for human and bacteria.