Skip to content

Commit

Permalink
for nuc density, only use forward strand
Browse files Browse the repository at this point in the history
  • Loading branch information
bhofmei committed Nov 3, 2016
1 parent 8c49693 commit 2d9c359
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions js/Store/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ function(
JSON,
nucleotidetable
){
var Util;
var Util;
var ntable = JSON.parse(nucleotidetable);
Util = {

Util = {

_transformNuc: function(inStr){
var n = inStr.length;
Expand Down Expand Up @@ -54,11 +55,11 @@ Util = {
// first get forward possibilities
var nucAr = Util._transformNuc(inStr);
// get reverse
var revAr = array.map(nucAr, function(x){
/*var revAr = array.map(nucAr, function(x){
return Util._reverseComplement(x);
});
// combine
nucAr.push.apply(nucAr, revAr);
nucAr.push.apply(nucAr, revAr);*/
return nucAr;
}
}
Expand Down

0 comments on commit 2d9c359

Please sign in to comment.