Thomas 3 lat temu
rodzic
commit
9cb0ddd203
2 zmienionych plików z 0 dodań i 3 usunięć
  1. 0 1
      dist/index.js
  2. 0 2
      index.ts

+ 0 - 1
dist/index.js

@@ -91,7 +91,6 @@ var makeReference = function (sequenceName, sequence, filePath, lineN) {
                                 r = new RegExp(".{1," + lineN + "}", "g");
                                 regex_sam_restriction = /[>0-9A-Za-z!#$%&+\./:;?@^_|~-]|[\n\t]/g;
                                 nSeqName = invReplace(regex_sam_restriction, sequenceName);
-                                console.log(nSeqName);
                                 return [4 /*yield*/, fs_1.default.promises.writeFile(filePath, '>' + nSeqName + '\n' + ((_a = sequence.match(r)) === null || _a === void 0 ? void 0 : _a.join('\n')))];
                             case 1:
                                 _b.sent();

+ 0 - 2
index.ts

@@ -22,8 +22,6 @@ const makeReference = async (sequenceName:string, sequence:string, filePath: str
       const r = new RegExp(".{1," + lineN + "}","g");
       const regex_sam_restriction: RegExp = /[>0-9A-Za-z!#$%&+\./:;?@^_|~-]|[\n\t]/g;
       const nSeqName = invReplace(regex_sam_restriction, sequenceName)
-      console.log(nSeqName);
-      
       await fs.promises.writeFile(filePath, '>' + nSeqName + '\n' + sequence.match(r)?.join('\n'))
       await async_exec('bwa', ['index',filePath], () => console.log)
       resolve(true)