beacon-home.html 3.14 KB
Newer Older
1
2
3
4
5
<div ng-controller="BeaconController" ng-cloak class="container">
    <div class="jumbotron">
        <h1>Beacon ArrayMap</h1>
        <p>First Prototype of a <a target="_blank" href="https://genomicsandhealth.org/work-products-demonstration-projects/beacon-project-0">Beacon</a>
            <a target="_blank" href="https://docs.google.com/document/d/154GBOixuZxpoPykGKcPOyrYUcgEXVe2NvKx61P4Ybn4/edit"> v0.2</a> implementation for <a target="_blank"  href="http://arraymap.org/">ArrayMap</a>.</p>
Daniel Teixeira's avatar
Daniel Teixeira committed
6
        <p>See <a href="documentation">documentation and open questions</a>.</p>
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
    </div>
    <form class="form-horizontal">
        <div class="form-group">
            <label for="chromosome" class="col-sm-2 control-label">Chromosome</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="chromosome" ng-model="config.chromosome" placeholder="Chromosome">
            </div>
        </div>
        <div class="form-group">
            <label for="position" class="col-sm-2 control-label">Position</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="position" ng-model="config.position" placeholder="Position">
            </div>
        </div>
        <div class="form-group">
            <label for="datasetSelect" class="col-sm-2 control-label">Dataset</label>
            <div class="col-sm-4">
                <select id="datasetSelect" ng-model="config.dataset" class="form-control">
                    <option ng-repeat="ds in datasets" value="{{ds.code}}" >({{ds.code}}) {{ds.description}}</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label style="color:green" for="variantClass" class="col-sm-2 control-label">Variant Class</label>
            <div class="col-sm-4">
                <select id="variantClass" ng-model="config.variantClass" class="form-control">
                    <option value="">Substitution (For precise variants)</option>
                    <option value="DEL">DEL (Deletion)</option>
                    <option value="INS">INS (Insertion)</option>
                    <option value="DUP">DUP (Duplication)</option>
                    <option value="INV">INV (Inversion)</option>
                    <option value="CNV">CNV (Copy Number Variation)</option>
                    <option value="BND">BND (Breakend???)</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                <a target="beacon" ng-href="{{getApiUrl()}}">{{getApiUrl()}}</a>
            </div>
            <div class="col-sm-2">
                <a target="beacon" ng-href="{{getApiUrl()}}" class="btn btn-info">Beacon Query</a>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                <a target="beacon" ng-href="{{getInfoUrl()}}">{{getInfoUrl()}}</a>
            </div>
            <div class="col-sm-2">
                <a target="beacon" ng-href="{{getInfoUrl()}}" class="btn btn-info">Beacon Info</a>
            </div>
        </div>
    </form>
</div>