PharmGKB / PharmCAT

The Pharmacogenomic Clinical Annotation Tool
Mozilla Public License 2.0
120 stars 39 forks source link

Phased variants in multiple phase blocks produces Unknown/Unknown and/or other bugs. #175

Open holtjma opened 6 months ago

holtjma commented 6 months ago

We used this command template with v2.7.1 at the initial time of testing:

/pharmcat/pharmcat_pipeline \
            -o {params.out_dir} \
            --matcher-all-results \
            --missing-to-ref \
            --reporter-save-json \
            --base-filename {wildcards.sample} \
            {input.vcf}

Example phased VCF subset that produces the behavior:

#CHROM  POS ID  REF ALT QUAL    FILTER  INFO    FORMAT  sample_name
chr10   94949217    .   A   G   73.6    PASS    .   GT:GQ:DP:AD:VAF:PL:PS   0|1:69:113:51,62:0.548673:73,0,71:94949217
chr10   94981224    .   C   T   70.5    PASS    .   GT:GQ:DP:AD:VAF:PL:PS   0|1:65:193:95,98:0.507772:70,0,66:94972974

@whaleyr - It's possible some of the above information is out-of-date or has been fixed since I haven't run the full end-to-end pipeline recently. Let me know if you want me to try reproducing with a more recent version (not sure when I'll get to it, though).