-
Notifications
You must be signed in to change notification settings - Fork 14
Alignment is not BAM or CRAM file #71
Comments
GATK BaseRecalibration is almost certainly the issue. Most of our tools are written to use Illumina standard quality scores, BaseRecalibration will push the quality scores well outside the expected ranges. This will cause it to throw file format errors as it will think the file is either corrupt or malformed. |
Thank you for your quick reply! I attempted to use the BAM files before BaseRecalibration, which had only undergone BWA MEM mapping, SortSam, and MarkDuplicates. Unfortunately, I still encountered the same errors. What might be the problems?
|
It seems the BWA_WT: path is different from the one provided in in vars file: BAM_WT : myworkpath/Project/Project_tumor/basic_analysis/no_recal_bam/T1609B_clean_dedup.bam Commands expects bam and bai at same location. is this intended? |
Sorry for the misleading here. For confidentiality reasons, I have changed the folder names. But some of them were missed out. Anyway, it's actually in the same directory. The error should look like this:
|
Hi, I am trying to run cgpwgs within docker on my own data. Here is my code:
And it got errors as follows:
And the bam file was generated by GATK4 pipeline after mapping, sorting, removing duplicates and BaseRecalibration. I further check bam file, founding that all bam files are ok.
Any advice on how to fix this? Looking forward to your reply!
Thanks!
The text was updated successfully, but these errors were encountered: