Commit 432fa2fe authored by Michael Baudis's avatar Michael Baudis
Browse files

comment formatting

parent 8b1e6d86
...@@ -9,9 +9,9 @@ info['info']['info']['datasets'].forEach(function(dataset){ ...@@ -9,9 +9,9 @@ info['info']['info']['datasets'].forEach(function(dataset){
}); });
var referenceMap = { var referenceMap = {
'GRCh38': 'SEGMENTS_HG38', 'GRCh36': 'SEGMENTS_HG18',
'GRCh37': 'SEGMENTS_HG19', 'GRCh37': 'SEGMENTS_HG19',
'GRCh36': 'SEGMENTS_HG18' 'GRCh38': 'SEGMENTS_HG38'
}; };
//correspondence to arraymap class //correspondence to arraymap class
...@@ -21,8 +21,8 @@ var alternateBasesMap = { ...@@ -21,8 +21,8 @@ var alternateBasesMap = {
}; };
// By default doe Maximilien takes Reference 37. https://github.com/maximilianh/ucscBeacon/blob/master/help.txt // By default doe Maximilien takes Reference 37. https://github.com/maximilianh/ucscBeacon/blob/master/help.txt
//TODO Should it be the same as Maximilen? Is it specified by beacon documentaiton? //TODO Should it be the same as Maximilen? Is it specified by beacon documentaiton?
var defaultReference = 'GRCh38'; var defaultReference = 'GRCh36';
function checkPreconditions(params) { function checkPreconditions(params) {
...@@ -381,4 +381,4 @@ function checkDatasetIdentifiers(userDatasetIdentifiers, allDatasetIdentifiers) ...@@ -381,4 +381,4 @@ function checkDatasetIdentifiers(userDatasetIdentifiers, allDatasetIdentifiers)
module.exports.checkPreconditions = checkPreconditions; module.exports.checkPreconditions = checkPreconditions;
module.exports.buildMongoQuery = buildMongoQuery; module.exports.buildMongoQuery = buildMongoQuery;
module.exports.checkResultAndGetResponse = checkResultAndGetResponse; module.exports.checkResultAndGetResponse = checkResultAndGetResponse;
\ No newline at end of file
...@@ -25,9 +25,12 @@ var alternateBasesMap = { ...@@ -25,9 +25,12 @@ var alternateBasesMap = {
"DUP": 1 "DUP": 1
}; };
// By default doe Maximilien takes Reference 37. https://github.com/maximilianh/ucscBeacon/blob/master/help.txt /*
//TODO Should it be the same as Maximilen? Is it specified by beacon documentaiton? By default doe Maximilien takes Reference 37. https://github.com/maximilianh/ucscBeacon/blob/master/help.txt
var defaultReference = 'GRCh38'; TODO Should it be the same as Maximilen? Is it specified through the Beacon documentaiton?
*/
var defaultReference = 'GRCh37';
function checkPreconditions(params) { function checkPreconditions(params) {
...@@ -367,4 +370,4 @@ function checkDatasetIdentifiers(userDatasetIdentifiers, allDatasetIdentifiers) ...@@ -367,4 +370,4 @@ function checkDatasetIdentifiers(userDatasetIdentifiers, allDatasetIdentifiers)
module.exports.checkPreconditions = checkPreconditions; module.exports.checkPreconditions = checkPreconditions;
module.exports.buildMongoQuery = buildMongoQuery; module.exports.buildMongoQuery = buildMongoQuery;
module.exports.checkResultAndGetResponse = checkResultAndGetResponse; module.exports.checkResultAndGetResponse = checkResultAndGetResponse;
\ No newline at end of file
/** /*
Created by sduvaud on 23/02/16. Created by sduvaud on 23/02/16.
modified by mbaudis on 2016-08-04 modified by mbaudis on 2016-08-04
**/ */
var matches = []; var matches = [];
var groupByQuery = db.samples.aggregate( var groupByQuery = db.samples.aggregate(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment