Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ST
ga4gh-arraymap
Commits
0c03c9d8
Commit
0c03c9d8
authored
Aug 05, 2016
by
Michael Baudis
Browse files
adding some TODO statements, speling
parent
432fa2fe
Changes
4
Show whitespace changes
Inline
Side-by-side
beacon-app/arraymap-beacon/v0.4/beacon-query.js
View file @
0c03c9d8
...
...
@@ -14,9 +14,9 @@ info['info']['info']['datasets'].forEach(function(dataset){
});
var
referenceMap
=
{
'
GRCh3
8
'
:
'
SEGMENTS_HG
3
8
'
,
'
GRCh3
6
'
:
'
SEGMENTS_HG
1
8
'
,
'
GRCh37
'
:
'
SEGMENTS_HG19
'
,
'
GRCh3
6
'
:
'
SEGMENTS_HG
1
8
'
'
GRCh3
8
'
:
'
SEGMENTS_HG
3
8
'
};
//correspondence to arraymap class
...
...
@@ -26,8 +26,8 @@ var alternateBasesMap = {
};
/*
By default doe Maximili
e
n takes Reference 37. https://github.com/maximilianh/ucscBeacon/blob/master/help.txt
TODO Should it be the same as Maximil
e
n? Is it specified through the Beacon documenta
i
ton?
By default doe Maximili
a
n takes Reference 37. https://github.com/maximilianh/ucscBeacon/blob/master/help.txt
TODO Should it be the same as Maximil
ia
n? Is it specified through the Beacon documentat
i
on?
*/
var
defaultReference
=
'
GRCh37
'
;
...
...
@@ -64,6 +64,10 @@ function checkPreconditions(params) {
};
}
/*
TODO: Change method for numeric test, since positions are 0-based.
*/
if
(
!
Number
(
params
.
start
))
{
return
{
hasError
:
true
,
...
...
beacon-app/public/js/index.js
View file @
0c03c9d8
...
...
@@ -15,7 +15,7 @@ arrayMap.config(['$routeProvider', '$locationProvider',
arrayMap
.
controller
(
'
BeaconController
'
,
[
'
$scope
'
,
'
$location
'
,
function
(
$scope
,
$location
)
{
$scope
.
references
=
[
'
GRCh3
8
'
,
'
GRCh37
'
,
'
GRCh3
6
'
];
$scope
.
references
=
[
'
GRCh3
6
'
,
'
GRCh37
'
,
'
GRCh3
8
'
];
$scope
.
config
=
{
"
referenceName
"
:
"
2
"
,
...
...
@@ -66,6 +66,9 @@ arrayMap.controller('BeaconController', ['$scope', '$location', function ($scope
((
conf
.
variantClass
===
""
)
?
""
:
"
&variantClass=
"
+
conf
.
variantClass
);
};
/*
TODO: Get datasets from beacon-info.js (or database query).
*/
$scope
.
datasets
=
[
{
...
...
@@ -1681,4 +1684,3 @@ arrayMap.controller('DocumentationCtrl', ['$scope', '$http', function ($scope, $
$scope
.
mkText
=
data
;
});
}]);
beacon-app/public/pages/doc.md
View file @
0c03c9d8
## Current implementation
This beacon queries 20K samples coming from ArrayMap from here:
This beacon queries <60k samples from arrayMap, containing genomic copy number aberration data from cancer samples and associated control experiments.
<a
href=
"http://arraymap.org/api/?db=arraymap&qcveto=1&api_out=samples&icdm_m=8,9&api_doctype=jsondata"
>
http://arraymap.org/api/?db=arraymap&qcveto=1&api_out=samples&icdm_m=8,9&api_doctype=jsondata
</a>
<img
src=
"/img/current_implementation.jpg"
class=
"img-thumbnail img-responsive"
>
...
...
mongo-queries/update-beacon-info.sh
View file @
0c03c9d8
./runquery.sh
get-datasets
.js |
grep
-E
'[\"\{\}\;]|\[|\]'
>
/Library/WebServer/Documents/ga4gh-arraymap/beacon-app/arraymap-beacon/v0.4/beacon-info.js
./runquery.sh
build-info
.js |
grep
-E
'[\"\{\}\;]|\[|\]'
>
/Library/WebServer/Documents/ga4gh-arraymap/beacon-app/arraymap-beacon/v0.4/beacon-info.js
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment