Open pnrobinson opened 1 month ago
Note that you can use TranscriptCoordinates.get_codon_count() to get the protein length. It should almost always correspond to the protein length, right?
In principle, yes. We could also check that the two are equal, that would be a good check!
I added extraction of protein length from the UniProt API, and it seems to work. However, about ten tests create ProteinMetadata objects currently without length. I therefore set a default value of zero to be able to move forward. We need to refactor the tests and to remove the default value.