Closed ChristinaXu2017 closed 1 year ago
it can't load cram file, unless Change index file handle from bamidx to hts_idx_t on AliParser.*.
AliParser.hh
hts_idx_t *index; //bam_index_t *index;
AliParser.cpp
if (loadIndex) {
//index = bam_index_load(fileName.c_str());
samFile *hts = sam_open(fileName.c_str());
index = sam_index_load2( hts, fileName.c_str(), NULL);
...
The reason is
Hi, thanks for the info. Perhaps, it would be better to switch to CNVpytor (https://github.com/abyzovlab/CNVpytor) as it is better maintained.
Mayo Clinic, 200 1st street SW, Harwick 7-91 Rochester, MN 55905 www.abyzovlab.org tel: +1-(507)-538-0978
thanks, will try it.
According to GitHub issues #33 and #34. the latest CNVnator can read CRAM files. Yes, it can read the CRAM file but not the CRAM index file. I got below error message:
Can't load index file for '/path/test.cram'.
The command line I used is
The index file is created by samtools and renamed to
I doubt the error occurs on AliParser.cpp