beacon-home.html 4.47 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">
Daniel Teixeira's avatar
Daniel Teixeira committed
10
            <label for="referenceName" class="col-sm-2 control-label">Reference name</label>
11
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
12
                <input type="text" class="form-control" id="referenceName" ng-model="config.referenceName" placeholder="corresponds to chromosome name, ex: 11">
13
14
15
            </div>
        </div>
        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
16
            <label for="start" class="col-sm-2 control-label">Start</label>
17
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
18
                <input type="text" class="form-control" id="start" ng-model="config.start" placeholder="start position, ex: 34439881">
19
20
            </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">
Daniel Teixeira's avatar
Daniel Teixeira committed
24
                <select id="referenceSelect" ng-model="config.assemblyId" 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
        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
30
            <label for="datasetSelect" class="col-sm-2 control-label">Dataset Ids</label>
31
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
32
                <select id="datasetSelect" ng-model="config.datasetIds" class="form-control">
33
34
35
36
37
                    <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
                    <!--<option value="">Substitution (For precise variants)</option>-->
42
                    <option value="DEL">DEL (Deletion)</option>
43
                    <!--<option value="INS">INS (Insertion)</option>-->
44
                    <option value="DUP">DUP (Duplication)</option>
45
                    <!--<option value="INV">INV (Inversion)</option>
46
                    <option value="CNV">CNV (Copy Number Variation)</option>
47
                    <option value="BND">BND (Breakend???)</option>-->
48
49
50
                </select>
            </div>
        </div>
51
        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
52
            <label for="minlength" class="col-sm-2 control-label">Minimal length</label>
53
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
54
                <input type="text" class="form-control" id="minlength" ng-model="config.minlength" placeholder="1">
55
56
            </div>
        </div>
Severine Duvaud's avatar
Severine Duvaud committed
57
58

        <div class="form-group">
Daniel Teixeira's avatar
Daniel Teixeira committed
59
            <label for="maxlength" class="col-sm-2 control-label">Maximal length</label>
Severine Duvaud's avatar
Severine Duvaud committed
60
            <div class="col-sm-4">
Daniel Teixeira's avatar
Daniel Teixeira committed
61
                <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
62
63
64
            </div>
        </div>

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

74
75
76
77
78
79
80
81
        <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>
82

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

89
90
    </form>
</div>