Troubleshooting
Failure 1: An Error Occurs During the Bowtie Installation
Symptom
When running the make command to perform compilation during Bowtie installation, an error occurs. The error message is "narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]".
Possible Causes
There is a narrowing conversion error.
Procedure
Run the following commands to modify the alphabet.cpp file:
- Open alphabet.cpp.
vi /path/to/BOWTIE/bowtie-1.2.3/alphabet.cpp
- Press i to enter the insert mode and modify line 276 of the file.Before the modification:
char mask2iupac[16] = {...}After the modification:signed char mask2iupac[16] = {...} - Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: Bowtie 1.2.3 Porting Guide (CentOS 7.6)