hartwigmedical / hmftools

Various algorithms for analysing genomics data
GNU General Public License v3.0
189 stars 58 forks source link

sage error mRefContext #457

Closed alhafidzhamdan closed 1 year ago

alhafidzhamdan commented 1 year ago

Hi HMF team,

I'm running sage in an LSF cluster. I keep getting this mRefContext is NULL error at the processALTRead stage. Screenshots:

Screenshot 2023-08-26 at 12 44 58

In between these lines, there were endless lines of these: Screenshot 2023-08-26 at 12 45 47

Screenshot 2023-08-26 at 12 46 07

My commands are: Screenshot 2023-08-26 at 12 50 18

Using threads = 32

Any ideas? Thanks for looking into it

Al

charlesshale commented 1 year ago

Is your BAM definitely sorted?

alhafidzhamdan commented 1 year ago

I ran this

samtools sort -@ ${THREADS} -m 2G -T ${PATIENT_ID}T -O bam ${ALIGNED_BAM_FILE_NORMAL} -o ${ALIGNED_BAM_FILE_NORMAL_SORTED}

for both tumour and normal bams and tried sage again and the same error occured.

charlesshale commented 1 year ago

Could you try a later version of Sage (eg v3.3) to see if it also hits this error?

Are you able to email me a small slice of the BAM so I can debug what is going on? c.shale@hartwigmedicalfoundation.nl

thanks.

alhafidzhamdan commented 1 year ago

Hi Charles, The original bam file was aligned using ISAAC. I re-aligned my bam using BWA and it seemed to have worked.