Thomas пре 4 година
родитељ
комит
5bbbcbb94b
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      index.js
  2. 1 1
      index.ts

+ 1 - 1
index.js

@@ -83,7 +83,7 @@ const clusterSam = (input_sam, threshold, minReads) => {
         });
         let byClusters = {};
         Object.keys(byReads).map(rname => {
-            const tmpClusterName = byReads[rname].sort().join('+++');
+            const tmpClusterName = byReads[rname].sort().join('<--->');
             byClusters[tmpClusterName] = Array.isArray(byClusters[tmpClusterName]) ? [...new Set([...byClusters[tmpClusterName], rname])] : [rname];
         });
         Object.keys(byClusters).map(e => byClusters[e].length < minReads ? delete byClusters[e] : null);

+ 1 - 1
index.ts

@@ -96,7 +96,7 @@ const clusterSam = (
             }
             let byClusters: byClusters = {}
             Object.keys(byReads).map(rname => {
-                const tmpClusterName = byReads[rname].sort().join('+++')
+                const tmpClusterName = byReads[rname].sort().join('<--->')
                 byClusters[tmpClusterName] = Array.isArray(byClusters[tmpClusterName]) ? [... new Set([...byClusters[tmpClusterName], rname])] : [rname]
             })