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

Can't annotate CADD scores from dbNSFP #409

Open
la60312 opened this issue Apr 27, 2018 · 1 comment
Open

Can't annotate CADD scores from dbNSFP #409

la60312 opened this issue Apr 27, 2018 · 1 comment
Labels
Milestone

Comments

@la60312
Copy link

la60312 commented Apr 27, 2018

Dear Jannovar,

I would like to annotate VCF file with dbNSFP3.5. However, there was an error while annotating CADD score. The version I used is Jannovar 0.25.

I used this command to annotate CADD_phred.

java -jar ../../jannovar-cli-0.25.jar annotate-vcf -d ../../data/hg19_refseq.ser --dbnsfp-tsv  /data/project/dbNSFP/dbNSFP.gz --dbnsfp-col-contig 8 --dbnsfp-col-position 9 --dbnsfp-prefix CADD_SNV_ --dbnsfp-columns CADD_phred --ref-fasta ../../referenceGenome/data/human_g1k_v37.fasta -i 28827.vcf.gz -o test.vcf.gz

I got this error.

Exception in thread "main" java.lang.RuntimeException: Unknown field from dbNSFP or not yet supported: CADD_phred
        at de.charite.compbio.jannovar.cmd.annotate_vcf.JannovarAnnotateVCFOptions.setFromArgs(JannovarAnnotateVCFOptions.java:411)
        at de.charite.compbio.jannovar.cmd.annotate_vcf.AnnotateVCFCommand.<init>(AnnotateVCFCommand.java:87)
        at de.charite.compbio.jannovar.cmd.annotate_vcf.JannovarAnnotateVCFOptions.lambda$setupParser$0(JannovarAnnotateVCFOptions.java:200)
        at de.charite.compbio.jannovar.Jannovar.main(Jannovar.java:58)

I checked this page and I found the string "CADD_phred" is in the list, but it seems like you didn't run builder.put() with CADD scores. I also checked SIFT_score and it works.
https://github.com/charite/jannovar/blob/master/jannovar-cli/src/main/java/de/charite/compbio/jannovar/cmd/annotate_vcf/DbNsfpFields.java

Did I used the command incorrectly?

Thank you.

@holtgrewe
Copy link
Member

Hi, no, this is currently a limitation in dbNSFP support.

@holtgrewe holtgrewe added this to the Backlog milestone Feb 7, 2019
@holtgrewe holtgrewe added the task label Feb 7, 2019
@holtgrewe holtgrewe modified the milestones: Backlog, 0.29 Feb 28, 2019
@holtgrewe holtgrewe modified the milestones: 0.29, 0.30 May 7, 2019
@holtgrewe holtgrewe modified the milestones: 0.30, Backlog May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants