-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Describe the bug
[W::sam_hdr_create] Ignored @SQ SN:HLA-C*16:01: : bad or missing LN tag
[E::sam_hrecs_update_hashes] Header includes @SQ line "HLA-C*16:01:" with no LN: tag
samtools view: failed to add PG line to the header
Seems like this related to LN tags for different contigs in the reference fasta (GRCh38-BI-20160721/alt-aware/genome.fa).
LN tag for main contigs:
>chr1 AC:CM000663.2 gi:568336023 LN:248956422 rl:Chromosome M5:6aef897c3d6ff0c78aff06ac189178dd AS:GRCh38
But lacking for HLA-specific contig
>HLA-C*16:01:01 HLA00475 3349 bp
Seems odd that this hasn't been an issue before (actually there is an old issue #88). Perhaps samples don't often have reads aligning to these contigs? Other samples in the cohort don't encounter this issue.
Can provide paths to configs, logs etc.
- Actual submission script (python submission script, "nextflow run ...", etc.)
- Sbatch or qsub command and logs if applicable
- Config files
- Path to the working directory
- Any logs produced by the pipeline
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.