Open
Description
Hi, I met the problem of WARNING(lofreq_call.c|main_call): 5 indel calls (before filtering) were made without indel alignment-quality! Did you forget to indel alignment-quality to your bam-file?
when I ran lofreq within Snakemake.
Here are the rules:
rule indelqual:
input:
bam = "03_map2covid.sort.bam"
output:
"05_map2covid.lofreq.indelqual.bam"
params:
ref = "NC_045512.2.fasta"
shell:
"lofreq indelqual --dindel -f {params.ref} -o {output} {input.bam}"
rule alnqual:
input:
bam = "05_map2covid.lofreq.indelqual.bam"
output:
"06_map2covid.lofreq.alqual.bam"
params:
ref = "NC_045512.2.fasta"
shell:
"lofreq alnqual -b {input.bam} {params.ref} > {output} "
rule lofreq_call:
input:
indelqual = "06_map2covid.lofreq.alqual.bam"
output:
"07_map2covid.lofreq.vcf"
params:
ref = "NC_045512.2.fasta"
shell:
"lofreq call --call-indels -f {params.ref} -o {output}
It's quite strange since there are no problems when run one file with snakemake, but if there are several files to run, it report error of indel alignment-quality.
Metadata
Metadata
Assignees
Labels
No labels