Removing Host Contaminants
Sometimes host DNA is present. For example, in tomato microbiome studies, remove tomato DNA using Bowtie2:
Download host genome (e.g., tomato) from NCBI.
Index the host genome:
bowtie2-build Solanaceae.fna Solanaceae --threads 20
Remove host reads:
bowtie2 -x 0_Host_genome/Solanaceae/Solanaceae \
-1 S28_R1.gz -2 S28_R2.gz --un-conc-gz S28_removed_Solanaceae \
-S Mapped_and_unmapped_Solanaceae.sam -p 20 --very-sensitive-local
Rename files for downstream processing:
mv S28_removed_Solanaceae.1 S28_host_removed_R1.fastq.gz
mv S28_removed_Solanaceae.2 S28_host_removed_R2.fastq.gz