forked from NCATS-Tangerine/translator-testing-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgamma-auxilliary-tests.feature
31 lines (26 loc) · 1.92 KB
/
gamma-auxilliary-tests.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Feature: Check similarity and enrichment services from Gamma
Scenario: Allergic Rhinitis is phenotypically similar to Asthma
Given identifier MONDO:0004979 and type disease
When we call gamma similarity with result type disease, intermediate type phenotypic_feature, and threshold 0.0
Then we expect a HTTP "200"
And we expect the name of the most similar to be "allergic rhinitis"
Scenario: Physical activity is GWAS-similar to BMI
Given identifier EFO:0004340 and type disease_or_phenotypic_feature
When we call gamma similarity with result type disease_or_phenotypic_feature, intermediate type sequence_variant, and threshold 0.0
Then we expect a HTTP "200"
And we expect the name of the most similar to be "physical activity measurement"
Scenario: tyramine is gene-interaction similar to histamine
Given identifier CHEBI:18295 and type chemical_substance
When we call gamma similarity with result type chemical_substance, intermediate type gene, and threshold 0.0
Then we expect a HTTP "200"
And we expect the name of the most similar to be "tyramine"
Scenario: Inflammation is an enriched process in asthma, encephalitis, myocarditis, and colitis
Given identifiers MONDO:0004979,MONDO:0005292,MONDO:0019956,MONDO:0004496 and type disease
When we call gamma enrichment with result type biological_process_or_activity
Then we expect a HTTP "200"
And we expect the name of the most enriched to be "inflammatory response"
Scenario: OPRD1 is the most enriched gene from interactions of Fentanyl,Codeine,Morphine,Oxycodone,and Hydrocodone
Given identifiers CHEBI:17303,CHEBI:16714,CHEBI:7852,CHEBI:5779,CHEBI:119915 and type chemical_substance
When we call gamma enrichment with result type gene
Then we expect a HTTP "200"
And we expect the name of the most enriched to be "OPRD1"