Open nlwashington opened 9 years ago
these may be accessible through the schema:
As you noticed, the therapy_variant is sparsely populated. That is because it implements a single table inheritance pattern: http://www.martinfowler.com/eaaCatalog/singleTableInheritance.html That table is only used for specifying "rules" for mapping variants to the treatment/phenotype/evidence in or linked by the therapy_genotype table.
The basic idea is that there are 6 rule types that can be stored in the therapy_variant table. A given row in the table represents only 1 of those rule types and would be invalid if it had the wrong combination of fields filled out. The 6 types are:
_get_fusion_copy_any_mutation_genotypes() will return both genes
from what i can tell, only one of the two genes in a gene fusion is curated in oscar's database. for example, selection of therapy_variant.id = 724 gives:
only linked to BCR. i don't see anywhere else that the ABL1 partner is referenced.