INNER CODE UNIT · JavaScript

t

lh3/minigraph · misc/mgutils-es6.js:215

		let t = buf.toString().split(/\s+/);
		sample.push(t[0]);
	}
	file.close();
	file = new File(args[0]);
	while (file.readline(buf) >= 0) {
		const line = buf.toString();
		if (line[0] != "#" || (line[0] == "#" && line[1] == "#")) {
			print(buf);
		} else {
			print("#CHROM", "START", "END", "INFO", "FORMAT", sample.join("\t"));
		}
	}
	file.close();
	buf.destroy();
}

function mg_cmd_getlcr(args) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…