|
|
@@ -91,7 +91,7 @@ var writeSequence = 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);
|
|
|
- return [4 /*yield*/, fs_1.default.promises.writeFile(filePath, '>' + nSeqName + '\n' + ((_a = sequence.match(r)) === null || _a === void 0 ? void 0 : _a.join('\n')))];
|
|
|
+ return [4 /*yield*/, fs_1.default.promises.writeFile(filePath, '>' + nSeqName + '\n' + ((_a = sequence.match(r)) === null || _a === void 0 ? void 0 : _a.join('\n').toUpperCase()))];
|
|
|
case 1:
|
|
|
_b.sent();
|
|
|
resolve(true);
|