oxfordmmm / gnomonicus

Python code to integrate results of tb-pipeline and provide an antibiogram, mutations and variants
Other
4 stars 0 forks source link

Feat/fasta adjudication #42

Closed JeremyWesthead closed 11 months ago

JeremyWesthead commented 11 months ago

Due to adding black as a precommit hook before starting work on this, there appears to be a lot of changes... Most of these are styling changes. Actual feature changes are mostly line 1003 of gnomonicus/gnomonicus_lib.py onwards

This adds FASTA file adjudication to prediction calling. There are cases in which clockwork will produce a FASTA file of mostly N values, but may have some entries in the minos VCF - resulting in a situation where bases called in the VCF may not correlate to the FASTA file. This should apply null rules from a catalogue if the FASTA file calls N values (as if they were in the VCF as ./. calls)