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

QUAL missing #96

Open
fgvieira opened this issue Sep 8, 2022 · 5 comments
Open

QUAL missing #96

fgvieira opened this issue Sep 8, 2022 · 5 comments

Comments

@fgvieira
Copy link

fgvieira commented Sep 8, 2022

Dear all,
is there a reason with SVs called by TIDDIT do not have a QUAL value?
Would it make sense to use SVtyper?

@J35P312
Copy link
Member

J35P312 commented Sep 15, 2022

Hello!
No good reason ;P.
There used to be a Qual value, but it "disapeared" when updating to 3.0.0! I will consider adding it again!
Meanwhile, feel free to try SVtyper or paragraph (https://github.com/Illumina/paragraph)

@fgvieira
Copy link
Author

I tried SVtyper but got an error. Is tiddit supposed to work with SVtyper?

@J35P312
Copy link
Member

J35P312 commented Sep 15, 2022

Though luck! I have not tried SVtyper in a long while! Hence im not sure.
Back when I did, it only worked on Lumpy. What error did you get? If the error is reasonable I can fix it, but if it assumes lumpy vcf I will not.

@fgvieira
Copy link
Author

I got this error:

$ svtyper -B $GERMLINE_BAM -i $PrefixName_vcf > test
Traceback (most recent call last):
  File "/services/tools/anaconda2/4.4.0/bin/svtyper", line 10, in <module>
    sys.exit(cli())
  File "/services/tools/anaconda2/4.4.0/lib/python2.7/site-packages/svtyper/classic.py", line 575, in cli
    sys.exit(main())
  File "/services/tools/anaconda2/4.4.0/lib/python2.7/site-packages/svtyper/classic.py", line 568, in main
    args.max_ci_dist)
  File "/services/tools/anaconda2/4.4.0/lib/python2.7/site-packages/svtyper/classic.py", line 234, in sv_genotype
    if [var.info](http://var.info/)['MATEID'] in breakend_dict:
KeyError: 'MATEID'

@J35P312
Copy link
Member

J35P312 commented Oct 25, 2022

Though luck! But thanks for trying! I also tried a file with no BND, but then it crashed on CIPOS instead:

File "/usr/local/lib/python2.7/site-packages/svtyper/classic.py", line 265, in sv_genotype
ciA = confidence_interval(var, 'CIPOS', 'CIPOS95', max_ci_dist)
File "/usr/local/lib/python2.7/site-packages/svtyper/parsers.py", line 12, in confidence_interval
ci = map(int, var.info[tag].split(','))

i.e it will probably not be possible to make tiddit run with svtyper. I will continue working on adding a quality score!

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