In my case, I had created an environment and then installed humann2 v2.9 from source at first. Running command humann2_test
returned ok at last.
Then I installed metaphlan2 v2.9.22 by conda with command conda install metaphlan2=2.9
. After the installation of metaphlan2 v2.96.22, rerunning command humann2_test
returned 5 errors. All the 5 errors concerned about blastx:
test_blastx_coverage (advanced_tests_blastx_coverage.TestBasicHumann2Blastx_CoverageFunctions) … ERROR
test_blastx_coverage_gene_names_chocophlan_annoation (advanced_tests_blastx_coverage.TestBasicHumann2Blastx_CoverageFunctions) … ERROR
test_blastx_coverage_gene_names_custom_annotation (advanced_tests_blastx_coverage.TestBasicHumann2Blastx_CoverageFunctions) … ERROR
test_blastx_coverage_gene_names_default (advanced_tests_blastx_coverage.TestBasicHumann2Blastx_CoverageFunctions) … ERROR
test_blastx_coverage_gene_names_id_mapping (advanced_tests_blastx_coverage.TestBasicHumann2Blastx_CoverageFunctions) …ERROR
Command humann2 --input *.fastq --output DIR
still work in this situation, but it seems that the step in the log file “translated alignment post-processing” was strangely shorter compared with the same sample processed by Humann2 v2.8.1 (1.5h vs 6.7h).