pufferfish icon indicating copy to clipboard operation
pufferfish copied to clipboard

Cedar segfaults with SAM files

Open hermidalc opened this issue 2 years ago • 1 comments

I cannot seem to get Cedar to properly work without segfaulting. My input SAM is produced by PuffAligner against a CAMI example paired-end FASTQ and a Pufferfish index of 100 genomes. I'm using the Cedar --flat option. No matter what I try it always segfaults. @fataltes do you have any idea?

$ /home/hermidalc/projects/github/hermidalc/pufferfish/bin/pufferfish/c4db524/linux-x64/cedar --flat --sam results/pufferfish/cami/cami1/CAMI_low/CAMI_low_RL_S001__insert_270_pufferfish.sam.gz --output quant.sf
[2022-10-24 05:17:37.424] [console] [info] Cedar: Construct ..
[2022-10-24 05:17:37.425] [console] [info] Cedar: Load Mapping File ..
[2022-10-24 05:17:37.425] [console] [info] Mapping Output File: results/pufferfish/cami/cami1/CAMI_low/CAMI_low_RL_S001__insert_270_pufferfish.sam.gz
[2022-10-24 05:17:37.433] [console] [info] # of targets: 6260
0 0 | RL|S1|R0 | 150 | 1 | -1 | -1 | 0
1 0 | RL|S1|R0 | 150 | 1 | -1 | -1 | 0
2 0 | RL|S1|R1 | 150 | 1 | -1 | -1 | 0
3 0 | RL|S1|R1 | 150 | 1 | -1 | -1 | 0
4 0 | RL|S1|R2 | 150 | 1 | -1 | -1 | 0
5 0 | RL|S1|R2 | 150 | 1 | -1 | -1 | 0
6 0 | RL|S1|R3 | 150 | 1 | -1 | -1 | 0
7 0 | RL|S1|R3 | 150 | 1 | -1 | -1 | 0
8 0 | RL|S1|R4 | 150 | 1 | -1 | -1 | 0
9 0 | RL|S1|R4 | 150 | 1 | -1 | -1 | 0
...
6390 0 | RL|S1|R3195 | 150 | 1 | -1 | -1 | 0
6391 0 | RL|S1|R3195 | 150 | 1 | -1 | -1 | 0
6392 0 | RL|S1|R3196 | 150 | 1 | -1 | -1 | 0
6393 0 | RL|S1|R3196 | 150 | 1 | -1 | -1 | 0
6394 0 | RL|S1|R3197 | 150 | 1 | -1 | -1 | 0
6395 0 | RL|S1|R3197 | 150 | 1 | -1 | -1 | 0
6396 0 | RL|S1|R3198 | 150 | 1 | -1 | -1 | 0
6397 0 | RL|S1|R3198 | 150 | 1 | -1 | -1 | 0
6398 0 | RL|S1|R3199 | 150 | 1 | -1 | -1 | 0
6399 0 | RL|S1|R3199 | 150 | 1 | -1 | -1 | 0
6400 1 | RL|S1|R3200 | 150 | 1 | 4479 | 4938059 | 0
[2022-10-24 05:17:37.577] [console] [info] is dataset paired end? true

Segmentation fault (core dumped)

hermidalc avatar Oct 24 '22 10:10 hermidalc