Mercurial > repos > padge > mcdoe
comparison main.jl @ 1:4a5c94d1d8bb draft
planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit a920127294bcfcb708881e28144a77a5c10d46d2
author | padge |
---|---|
date | Wed, 31 Aug 2022 12:13:10 +0000 |
parents | cc0957c46408 |
children | d5832ac370e3 |
comparison
equal
deleted
inserted
replaced
0:cc0957c46408 | 1:4a5c94d1d8bb |
---|---|
265 | 265 |
266 elseif parsed_args["%COMMAND%"] == "sim" || parsed_args["%COMMAND%"] == "ccp" | 266 elseif parsed_args["%COMMAND%"] == "sim" || parsed_args["%COMMAND%"] == "ccp" |
267 | 267 |
268 filename = command_args["f"] | 268 filename = command_args["f"] |
269 sheet = 1 | 269 sheet = 1 |
270 data = DataFrame(XLSX.readtable(filename, sheet)...) | 270 data = DataFrame(XLSX.readtable(filename, sheet)) |
271 p_gRNA_reads = data[!,"gRNA_read"] | 271 p_gRNA_reads = data[!,"gRNA_read"] |
272 p_gRNA_reads_normalized = p_gRNA_reads/sum(p_gRNA_reads) # normalize | 272 p_gRNA_reads_normalized = p_gRNA_reads/sum(p_gRNA_reads) # normalize |
273 f = p_gRNA_reads_normalized | 273 f = p_gRNA_reads_normalized |
274 grna_dict["p_gRNA_reads"] = f | 274 grna_dict["p_gRNA_reads"] = f |
275 | 275 |
276 filename = command_args["e"] | 276 filename = command_args["e"] |
277 sheet = 1 | 277 sheet = 1 |
278 data = DataFrame(XLSX.readtable(filename, sheet)...) | 278 data = DataFrame(XLSX.readtable(filename, sheet)) |
279 p_gRNA_edit = data[!,"gRNA_edit_efficiency"] | 279 p_gRNA_edit = data[!,"gRNA_edit_efficiency"] |
280 e = p_gRNA_edit | 280 e = p_gRNA_edit |
281 grna_dict["p_gRNA_edit"] = e | 281 grna_dict["p_gRNA_edit"] = e |
282 | 282 |
283 x = command_args["x"] | 283 x = command_args["x"] |