Preprocessing pipeline for cleaning metagenomes sequenced on Illumina HiSeq. Steps are: (1) index trimming, low-quality discarding, and removing of short reads; (2) host contaminants removal; (3) splitting and sorting of reads into R1, R2, and UN sets of reads.