You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the bam_index_load_local function from bam_index.c fails to find index files named my_file.bai if the substring "bam" is present anywhere in the path. For example, the following file pair fails to be recognized:
This is because when looking for the "bam" suffix, bam_index_load_local uses strstr, and fails if the returned index does not correspond to the last three characters. This could be fixed by looping while s is different than 0 when looking for the suffix (something like this, untested):
Hello,
the bam_index_load_local function from bam_index.c fails to find index files named my_file.bai if the substring "bam" is present anywhere in the path. For example, the following file pair fails to be recognized:
This is because when looking for the "bam" suffix, bam_index_load_local uses strstr, and fails if the returned index does not correspond to the last three characters. This could be fixed by looping while s is different than 0 when looking for the suffix (something like this, untested):
Cheers,
-Eric
The text was updated successfully, but these errors were encountered: