def test_query_dotstar_reporter(self):
human = self.json_ok(self.get_ok(self.api +
"/query?q=reporter:2842429&fields=reporter"),
filter=True)
mouse = self.json_ok(self.get_ok(self.api +
"/query?q=reporter:1452128_a_at&fields=reporter"),
filter=True)
rat = self.json_ok(self.get_ok(self.api +
"/query?q=reporter:1387540_at&fields=reporter"),
filter=True)
# human
eq_(human["total"], 3)
eq_(human["hits"][0]["reporter"]["HuGene-1_1"], "8110147")
assert "2889211" in human["hits"][0]["reporter"]["HuEx-1_0"]
assert "TC05002114.hg.1" in human["hits"][0]["reporter"]["HTA-2_0"]
eq_(human["hits"][0]["reporter"]["HG-U133_Plus_2"], "228805_at")
assert "gnf1h08801_at" in human["hits"][0]["reporter"]["GNF1H"]
eq_(human["hits"][0]["reporter"]["HuGene-1_1"], "8110147")
eq_(human["hits"][0]["reporter"]["HuGene-2_1"], "16992761")
# rat
eq_(rat["total"], 1)
eq_(rat["hits"][0]["reporter"]["RaEx-1_0"], "7082865")
eq_(rat["hits"][0]["reporter"]["Rat230_2"], "1387540_at")
eq_(rat["hits"][0]["reporter"]["RaGene-2_1"], "17661681")
eq_(rat["hits"][0]["reporter"]["RaGene-1_1"], "10747640")
assert "AF036760_at" in rat["hits"][0]["reporter"]["RG-U34A"]
# rat
eq_(mouse["total"], 1)
assert "1456141_x_at" in mouse["hits"][0]["reporter"]["Mouse430_2"]
eq_(mouse["hits"][0]["reporter"]["MTA-1_0"], "TC0X00000742.mm.1")
assert "165150_i_at" in mouse["hits"][0]["reporter"]["MG-U74Bv2"]
eq_(mouse["hits"][0]["reporter"]["MoEx-1_0"], "7012082")
eq_(mouse["hits"][0]["reporter"]["GNF1M"], "gnf1m11626_at")
eq_(mouse["hits"][0]["reporter"]["MoGene-2_1"], "17535957")
eq_(mouse["hits"][0]["reporter"]["MoGene-1_1"], "10600512")
评论列表
文章目录