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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show local variant archive date also on SV pages #2047

Open
dnil opened this issue Jun 22, 2023 · 5 comments
Open

Show local variant archive date also on SV pages #2047

dnil opened this issue Jun 22, 2023 · 5 comments

Comments

@dnil
Copy link

dnil commented Jun 22, 2023

The little hover over local observations archive only shows the date on SNV pages. 馃槄

@dnil
Copy link
Author

dnil commented Jun 22, 2023

Ah, ok, the info actually not in the SV VCF. Perhaps it will be after the new dump, @jemten?

To show this, we expect one of the following in the variant VCF:

A Date string on the loqusdb software:

##Software=<ID=loqusdb,Version=2.5,Date="2020-08-21 09:02",CommandLineOptions="">

This appears missing from both SNV and SV files.

Or an obs INFO tag, showing the dated source of the dump in Description:

##INFO=<ID=Obs,Number=1,Type=Integer,Description="The number of observations for the variant (from /home/proj/production/rare-disease/references/references_11.0/grch37_loqusdb_snv_indel_variants_export-20220905-.vcf.gz)">

This is ok in the SNV VCF, but for the SV VCFs we have less informative Descriptions like

##INFO=<ID=clinical_genomics_loqusObs,Number=1,Type=Integer,Description="The number of occurances of the event in the database">

@dnil dnil transferred this issue from Clinical-Genomics/scout Jun 22, 2023
@dnil
Copy link
Author

dnil commented Jun 22, 2023

I suspect the latter may resolve with a new dump - I dont find that string in later versions of loqusdb? 馃槉

@jemten
Copy link
Collaborator

jemten commented Jun 22, 2023

We would need to update MIP for this to happen as we right now don't transfer the loqusdb header string to the annotated vcf. We can see about making a patch after the release of MIP 12.0.0

@dnil
Copy link
Author

dnil commented Jun 22, 2023

Ah it's only transferred to the SNV version? It's ok there..

@jemten
Copy link
Collaborator

jemten commented Jun 22, 2023

To me, this string ##Software=<ID=loqusdb,Version=2.5,Date="2020-08-21 09:02",CommandLineOptions=""> looks to be missing in both snv and SV. That string comes from the loqus vcf.
For SNVs we annotate with vcfanno which will add the filename of the source file. This filename contains the date of the loqus dump. For SVs we annotate with SVDB and the filename of the source annotation isn't added to the header. Would require some light tweaking to get this consistent.

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

2 participants