beacon-home.html 4.53 KB
Newer Older
1
2
<div ng-controller="BeaconController" ng-cloak class="container">
    <div class="jumbotron">
Michael Baudis's avatar
Michael Baudis committed
3
        <h1>Beacon arrayMap</h1>
4
        <p><a target="_blank" href="https://genomicsandhealth.org/work-products-demonstration-projects/beacon-project-0">Beacon</a>
Michael Baudis's avatar
Michael Baudis committed
5
            <a target="_blank" href="https://docs.google.com/document/d/1n7qtCBFwsExP_k2GPfWS_PN53Xeh8YxeCBOgyZ5itOw/edit#"> v0.4</a> implementation for <a target="_blank"  href="http://arraymap.org/">arrayMap</a>.</p>
6
7
8
    </div>
    <form class="form-horizontal">
        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
9
            <label for="referenceName" class="col-sm-2 control-label">Reference name</label>
10
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
11
                <input type="text" class="form-control" id="referenceName" ng-model="config.referenceName" placeholder="corresponds to chromosome name, ex: 11">
12
13
14
            </div>
        </div>
        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
15
            <label for="start" class="col-sm-2 control-label">Start</label>
16
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
17
                <input type="text" class="form-control" id="start" ng-model="config.start" placeholder="start position, ex: 34439881">
18
19
            </div>
        </div>
Daniel Teixeira's avatar
Daniel Teixeira committed
20
        <div class="form-group">
21
            <label for="referenceSelect" class="col-sm-2 control-label">Assembly ID</label>
Daniel Teixeira's avatar
Daniel Teixeira committed
22
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
23
                <select id="referenceSelect" ng-model="config.assemblyId" class="form-control">
Daniel Teixeira's avatar
Daniel Teixeira committed
24
25
26
27
                    <option ng-repeat="ref in references" value="{{ref}}" >{{ref}}</option>
                </select>
            </div>
        </div>
28
        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
29
            <label for="datasetSelect" class="col-sm-2 control-label">Dataset Ids</label>
30
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
31
                <select id="datasetSelect" ng-model="config.datasetIds" class="form-control">
32
                    <option ng-repeat="ds in datasets" value="{{ds.id}}" >({{ds.id}}) {{ds.description}}</option>
33
34
35
36
                </select>
            </div>
        </div>
        <div class="form-group">
Michael Baudis's avatar
Michael Baudis committed
37
            <label for="alternateBases" class="col-sm-2 control-label">Alternate bases</label>
38
            <div class="col-sm-4">
39
                <select id="alternateBases" ng-model="config.alternateBases" class="form-control">
40
41
42
43
44
                    <option value="DEL">DEL (Deletion)</option>
                    <option value="DUP">DUP (Duplication)</option>
                </select>
            </div>
        </div>
45

46
47
48
49
50
51
52
        <div class="form-group">
            <label for="length" class="col-sm-2 control-label">Length</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="length" ng-model="config.length" placeholder="">
            </div>
        </div>

53
        <!-- Do not allow minLength and maxLength to be compliant with 0.3
54
        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
55
            <label for="minlength" class="col-sm-2 control-label">Minimal length</label>
56
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
57
                <input type="text" class="form-control" id="minlength" ng-model="config.minlength" placeholder="1">
58
59
            </div>
        </div>
Severine Duvaud's avatar
Severine Duvaud committed
60
61

        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
62
            <label for="maxlength" class="col-sm-2 control-label">Maximal length</label>
Severine Duvaud's avatar
Severine Duvaud committed
63
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
64
                <input type="text" class="form-control" id="maxlength" ng-model="config.maxlength" placeholder="Max bases for the selected chromosome">
Severine Duvaud's avatar
Severine Duvaud committed
65
            </div>
66
        </div>-->
Severine Duvaud's avatar
Severine Duvaud committed
67

68
69
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
70
                <a target="beacon" ng-href="{{getNewApiUrl()}}">{{getNewApiUrl()}}</a>
71
72
            </div>
            <div class="col-sm-2">
73
                <a target="beacon" ng-href="{{getNewApiUrl()}}" class="btn btn-info">Beacon Query</a>
74
75
            </div>
        </div>
76

77
78
79
80
81
82
83
84
        <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>
85

86
87
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
Daniel Teixeira's avatar
Daniel Teixeira committed
88
                <a target="beacon" href="/samples?limit=10">Get 10 samples</a>
89
90
            </div>
        </div>
Daniel Teixeira's avatar
Daniel Teixeira committed
91

92
93
94
95
96
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                <a target="beacon" ng-href="{{getDatasetUrl()}}">{{getDatasetUrl()}}</a>
            </div>
        </div>
97

98
    </form>
Michael Baudis's avatar
Michael Baudis committed
99
</div>