Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: contig mode does not find all snps #564

Open
Saarkie opened this issue Sep 14, 2023 · 0 comments
Open

bug: contig mode does not find all snps #564

Saarkie opened this issue Sep 14, 2023 · 0 comments

Comments

@Saarkie
Copy link

Saarkie commented Sep 14, 2023

Hi,
I'm using snippy v4.6.0 in the --ctg contig mode. It does not detect snps at the ends of the contigs.
Something seems to be wrong with the uniform coverage of the pseudo reads. The coverage is rather in a mountain shape. Therefore at the ends, where the coverage is <10 the variants are not called by freebayes. If I set --mincov 1 it conflicts with the default -C 2 (min alternate count) option of freebayes. The option --fbopt "-C 1" is not parsed to freebayes correctly, the -C flag occurs two times in the command then (freebayes-parallel reference/ref.txt 8 -p 2 -P 0 -C 2 -F 0.05 --min-coverage 2 --min-repeat-entropy 1.0 -q 13 -m 60 --strict-vcf -C 1 -f reference/ref.fa AS164896.1_foptC1.bam > AS164896.1_foptC1.raw.vcf). If I set --mincov higher than 1, the actual coverage sometimes is smaller then the --mincov, so at this sites the variants are not called.

My "contigs" are gene sequences of ~1000bp, one sequence per separate fasta. I use it the following: $ snippy --prefix xxx --outdir xxx --ref x.gb --ctgs genex.fasta

regards, Sara

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant