diff options
| author | Munyoki Kilyungi | 2024-12-12 14:05:45 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2024-12-12 14:05:45 +0300 |
| commit | 0872774cdcacddb1bc59051e274e50256a1126d0 (patch) | |
| tree | 95a93c9bfe61293c5bc2d884a47f97d1e57c9f15 | |
| parent | 1842488ffc2c23e99196f319ed62d46fa26f25b4 (diff) | |
| download | genenetwork3-0872774cdcacddb1bc59051e274e50256a1126d0.tar.gz | |
Remove quote marks for qtl output.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| -rw-r--r-- | gn3/computations/rqtl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/rqtl.py b/gn3/computations/rqtl.py index 16f1398..21c863a 100644 --- a/gn3/computations/rqtl.py +++ b/gn3/computations/rqtl.py @@ -321,7 +321,7 @@ def process_perm_output(file_name: str) -> Tuple[List, float, float]: continue line_items = line.split(",") - perm_results.append(float(line_items[1])) + perm_results.append(float(line_items[1].replace("\"", ""))) suggestive = np.percentile(np.array(perm_results), 67) significant = np.percentile(np.array(perm_results), 95) |
