Haplosaurus provides each haplotype as an unaligned sequence, and as an sequence aligned with the reference genome. I'm using the aligned sequences as a convenient way to grab the right coordinates and insert ClinVar mutations, using the `biopython` MSA object class. However, my checks indicate that the ref sequence is often far shorter than the ref sequence provided by ProteinGym in their clinical sub/indel files. This could be due to: 1. [x] ~A problem with Haplosaurus (eg truncating ref sequences when the haplotype sequence is truncated).~ 2. [ ] A problem with ProteinGym (e.g. the ref sequence is wrong, or the mutation data is wrong) 3. [ ] A mismatch in the reference genome being used to get the sequences between Haplosaurus and ProteinGym. 4. [x] A problem with my `gprofiler` submodule and how it's handling mapping.
Haplosaurus provides each haplotype as an unaligned sequence, and as an sequence aligned with the reference genome.
I'm using the aligned sequences as a convenient way to grab the right coordinates and insert ClinVar mutations, using the
biopythonMSA object class.However, my checks indicate that the ref sequence is often far shorter than the ref sequence provided by ProteinGym in their clinical sub/indel files.
This could be due to:
A problem with Haplosaurus (eg truncating ref sequences when the haplotype sequence is truncated).gprofilersubmodule and how it's handling mapping.