Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Statistical-Genetics
jass_preprocessing
Commits
11ee29ad
Commit
11ee29ad
authored
Oct 01, 2021
by
Hanna JULIENNE
Browse files
typo
parent
14a70c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
jass_preprocessing/map_reference.py
View file @
11ee29ad
...
...
@@ -82,7 +82,7 @@ def map_on_ref_panel(gw_df , ref_panel, index_type="rs-number"):
else
:
raise
ValueError
(
"index_type can take only two values: 'rs-number' or 'positional'"
)
if
((
"pos"
in
merge_GWAS
.
columns
)
and
(
"POS"
in
merge_GWAS
.
columns
))
if
((
"pos"
in
merge_GWAS
.
columns
)
and
(
"POS"
in
merge_GWAS
.
columns
))
:
if
(
merge_GWAS
.
pos
==
merge_GWAS
.
POS
).
mean
()
>
0.95
):
merge_GWAS
=
merge_GWAS
.
loc
[(
merge_GWAS
.
pos
==
merge_GWAS
.
POS
)]
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment