Clinical-Genomics / genmod

Annotate models of genetic inheritance patterns in variant files (vcf files)
http://Clinical-Genomics.github.io/genmod/
MIT License
78 stars 19 forks source link

Unstable compounds order in output from genmod models #133

Closed fellen31 closed 2 months ago

fellen31 commented 2 months ago

Hi,

The output of compounds in genmod models is unstable, making it difficult to verify the md5sum of the output variants.

Could be fixed by adding .sort() to scored_compound_list in

https://github.com/Clinical-Genomics/genmod/blob/d8090a2355884cf55d6974df4d6aa9ddc6ccc876/genmod/score_variants/compound_scorer.py#L271

This would help testing and verifying pipeline outputs. Thanks!