Skip to content
New issue

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

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

Already on GitHub? # to your account

variant discrepancy between in ivar and snpeff annotated file #429

Open
wantingwei opened this issue May 13, 2024 · 2 comments
Open

variant discrepancy between in ivar and snpeff annotated file #429

wantingwei opened this issue May 13, 2024 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@wantingwei
Copy link

wantingwei commented May 13, 2024

Description of the bug

I am recently running the viralrecon 2.6.0 on some sars-cov-2 sequences; I noticed that ivar.tsv output doesn't match with the snpeff. annotated vcf as well as the variant long table when there is polymorphism. I have attached the output. also to visualize things easier
Here is the snpeff vcf file, there is only one mutation at position 23606
Screenshot 2024-05-13 at 12 49 47 PM
When looking at the tsv file, there is two variants at the same mutation.
Screenshot 2024-05-13 at 12 51 27 PM
I try to add the command in the config file but doesn't fix the issue. withName: 'IVAR_VARIANTS_TO_VCF' {
ext.args = params.protocol == 'amplicon' ? '--ignore_strand_bias --ignore_merge_codons' : '--ignore_merge_codons'
}
I would appreciate if people can take a look and help me solve it. Thank you!

Command used and terminal output

No response

Relevant files

stock-variant.zip

System information

No response

@wantingwei wantingwei added the bug Something isn't working label May 13, 2024
@wantingwei
Copy link
Author

I am wondering if it would be possible for the issue to be raised due to lines 449 -451 in the script. https://github.com/nf-core/viralrecon/blob/master/bin/ivar_variants_to_vcf.py

@saramonzon
Copy link
Contributor

Hi @wantingwei ! This issue is related to #337

As we talked in private, we are working on an updated version of ivar_variants_to_vcf script which will fix the issue.
We'll try to share it asap :)

@svarona svarona added this to the 2.7 milestone Jun 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants