|
|
@@ -15,6 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
|
};
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
+exports.denovoAssemblage = void 0;
|
|
|
const child_process_1 = require("child_process");
|
|
|
const os_1 = __importDefault(require("os"));
|
|
|
const path_1 = __importDefault(require("path"));
|
|
|
@@ -78,15 +79,17 @@ const denovoAssemblage = (reads, rnames, spadesPath) => {
|
|
|
resolve(rsltDir);
|
|
|
}));
|
|
|
};
|
|
|
-(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
- const spadesPath = '/home/thomas/NGS/tools/SPAdes-3.15.0-Linux/bin/spades.py';
|
|
|
- const reads2 = '/home/thomas/Documents/Programmes/ttest/71-mer.fa';
|
|
|
- const rnames = ['33530080_3', '30971394_3', '77190111_3', '89825138_3',
|
|
|
- '22481866_3', '111937620_4', '24308941_6', '27758147_3',
|
|
|
- '87242990_14', '41688638_4', '114699822_3', '48573844_4',
|
|
|
- '91080996_3', '99644261_3', '77207124_3', '28986564_10',
|
|
|
- '84400117_4', '10884880_6', '116082011_12', '1739367_3',
|
|
|
- '13550404_3', '68446023_10', '50560660_3', '9046992_3'];
|
|
|
- console.log(yield denovoAssemblage(reads2, rnames, spadesPath));
|
|
|
-}))();
|
|
|
-//export { denovoAssemblage }
|
|
|
+exports.denovoAssemblage = denovoAssemblage;
|
|
|
+/*
|
|
|
+(async()=>{
|
|
|
+ const spadesPath = '/home/thomas/NGS/tools/SPAdes-3.15.0-Linux/bin/spades.py'
|
|
|
+ const reads2 = '/home/thomas/Documents/Programmes/ttest/71-mer.fa'
|
|
|
+ const rnames = ['33530080_3', '30971394_3', '77190111_3', '89825138_3',
|
|
|
+ '22481866_3', '111937620_4', '24308941_6', '27758147_3',
|
|
|
+ '87242990_14', '41688638_4', '114699822_3', '48573844_4',
|
|
|
+ '91080996_3', '99644261_3', '77207124_3', '28986564_10',
|
|
|
+ '84400117_4', '10884880_6', '116082011_12', '1739367_3',
|
|
|
+ '13550404_3', '68446023_10', '50560660_3', '9046992_3']
|
|
|
+ console.log(await denovoAssemblage(reads2, rnames, spadesPath));
|
|
|
+})()
|
|
|
+*/
|