Rate This Document
Findability
Accuracy
Completeness
Readability

Error "could not detect bam" Reported During Cufflinks Compilation

Symptom

The error message "error:we could not detect bam" is displayed during Cufflinks compilation.

Key Process and Cause Analysis

  • The configure file is incorrectly configured.
  • <bam/version.hpp> is used to determine the BAM version in the configure file.

Conclusion and Solution

  • If the configure file is incorrectly configured:
    Modify the configure file.
    1. Open the configure file.

      vi configure

    2. Press i to enter the insert mode and change no to yes in line 5380 of the configure file.
      succeeded=yes
    3. Press Esc, type :wq!, and press Enter to save the settings and exit.
  • If <bam/version.hpp> is used to determine the BAM version in the configure file (actually version.h is the version file of the BAM):
    Modify the configure file.
    1. Open the configure file.

      vi configure

    2. Press i to enter the insert mode and change bam/version.hpp to bam/version.h.
      bam/version.h
    3. Press Esc, type :wq!, and press Enter to save the settings and exit.