beacon-home.html 3.93 KB
Newer Older
1
2
3
4
<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>
5
6
            <a target="_blank" href="https://docs.google.com/document/d/1n7qtCBFwsExP_k2GPfWS_PN53Xeh8YxeCBOgyZ5itOw/edit#"> v0.3</a> implementation for <a target="_blank"  href="http://arraymap.org/">ArrayMap</a>.</p>
        <p>See <a href="documentation">documentation and open questions (OUTDATED)</a>.</p>
7
8
9
    </div>
    <form class="form-horizontal">
        <div class="form-group">
10
            <label for="chromosome" class="col-sm-2 control-label">Reference name</label>
11
12
13
14
15
            <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">
16
            <label for="position" class="col-sm-2 control-label">Start</label>
17
18
19
20
            <div class="col-sm-4">
                <input type="text" class="form-control" id="position" ng-model="config.position" placeholder="Position">
            </div>
        </div>
Daniel Teixeira's avatar
Daniel Teixeira committed
21
        <div class="form-group">
22
            <label for="referenceSelect" class="col-sm-2 control-label">Assembly ID</label>
Daniel Teixeira's avatar
Daniel Teixeira committed
23
            <div class="col-sm-4">
24
                <select id="referenceSelect" ng-model="config.reference" class="form-control">
Daniel Teixeira's avatar
Daniel Teixeira committed
25
26
27
28
                    <option ng-repeat="ref in references" value="{{ref}}" >{{ref}}</option>
                </select>
            </div>
        </div>
29
30
31
32
33
34
35
36
37
        <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">
38
            <label style="color:green" for="alternateBases" class="col-sm-2 control-label">Alternate bases</label>
39
            <div class="col-sm-4">
40
                <select id="alternateBases" ng-model="config.alternateBases" class="form-control">
41
42
43
44
45
46
47
48
49
50
                    <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>
51

52
53
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
54
                <a target="beacon" ng-href="{{getNewApiUrl()}}">{{getNewApiUrl()}}</a>
55
56
            </div>
            <div class="col-sm-2">
57
                <a target="beacon" ng-href="{{getNewApiUrl()}}" class="btn btn-info">Beacon Query</a>
58
59
            </div>
        </div>
60

61
62
63
64
65
66
67
68
        <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>
69
70

        <!--
71
72
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
73
                <a target="beacon" ng-href="{{getApiUrl()}}">{{getApiUrl()}}</a>
74
75
            </div>
            <div class="col-sm-2">
76
                <a target="beacon" ng-href="{{getApiUrl()}}" class="btn btn-info">Beacon v0.2</a>
77
78
            </div>
        </div>
79
        -->
80
81
    </form>
</div>