Hi,
I am trying the biobakery tools for the first time. I have installed humann3 using pip install humann --user and tried to run with demo data demo.fastq. its returns the the below error.
bowtie2 version is =bowtie2-2.3.5.1; MetaPhlAn version 3.0 (20 Mar 2020)
Any clue what I am doing wrong here.?
$ humann -i demo.fastq -o sample_results --nucleotide-database humann3_database_downloads/ chocophlan/ --protein-database humann3_database_downloads/uniref/
Output files will be written to: /local_scratch/sajan86/Oslo/sample_results
This appears to be an error thrown by bowtie2 during the initial MetaPhlAn profiling step within HUMAnN. Are you able to use bowtie2 to complete other tasks? It seems like there might be something wrong with bowtie2 specifically.
You should check if /users/sajan86/.local/lib/python3.7/site-packages/metaphlan/metaphlan_databases/ contains 6 .bt2 files with non zero size.
The error indicates that the index may be corrupted, deleting all the .bt2 files and running again metaphlan --install may resolve this.
Are you sure the process was finished when you did the ll command above? Another option would be to delete the .bt2 files again and manually build the index from mpa_v30_CHOCOPhlAn_201901.fna. I believe the command would be…
Thank you. I tried to build the index as you mentioned. here is what I got. Seems like storage issue?
Returning block of 1197454432 for bucket 1
Exited Ebwt loop
fchr[A]: 0
fchr[C]: 308078315
fchr[G]: 602122540
fchr[T]: 916414569
fchr[$]: 1197454431
Exiting Ebwt::buildToDisk()
An error occurred writing the index to disk. Please check if the disk is full.
Total time for backward call to driver() for mirror index: 00:10:12
Error: Encountered internal Bowtie 2 exception (#1)
Command: /appl/soft/bio/bowtie2/bowtie2-2.3.5.1-linux-x86_64/bowtie2-build-s --wrapper basic-0 -f mpa_v30_CHOCOPhlAn_201901.fna mpa_v30_CHOCOPhlAn_201901
Deleting "mpa_v30_CHOCOPhlAn_201901.3.bt2" file written during aborted indexing attempt.
Deleting "mpa_v30_CHOCOPhlAn_201901.4.bt2" file written during aborted indexing attempt.
Deleting "mpa_v30_CHOCOPhlAn_201901.1.bt2" file written during aborted indexing attempt.
Deleting "mpa_v30_CHOCOPhlAn_201901.2.bt2" file written during aborted indexing attempt.
Deleting "mpa_v30_CHOCOPhlAn_201901.rev.1.bt2" file written during aborted indexing attempt.
Deleting "mpa_v30_CHOCOPhlAn_201901.rev.2.bt2" file written during aborted indexing attempt.
[sajan86@puhti-login1 metaphlan_databases]$
I’m having the same issue, where the first 4 bt2 files build but files 5 and 6 seem to be missing. I’ve tried re-building the bowtie index with bowtie2-build and reinstalling humann with no success.
I’m also having this same error message, but only when I include in my database long sequences (> 200000 bp). You can find attached a file which I got an error message after using the command:
However, I have no error message if the long sequences is removed from the file, or if it is put at the beginning of the file (it is a bit strange that I can solve the problem by changing the position of the long sequence).