Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
runCMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
runCMS
Commits
28c3224f
Commit
28c3224f
authored
7 years ago
by
Apolline GALLOIS
Browse files
Options
Downloads
Patches
Plain Diff
Add SGE script
parent
8a054470
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Script2_launch_analysis_SGE.sh
+0
-0
0 additions, 0 deletions
Script2_launch_analysis_SGE.sh
Script3_results_analysis.py
+1
-1
1 addition, 1 deletion
Script3_results_analysis.py
others/Script3_functions.py
+1
-0
1 addition, 0 deletions
others/Script3_functions.py
with
2 additions
and
1 deletion
Script2_launch_analysis.sh
→
Script2_launch_analysis
_SGE
.sh
+
0
−
0
View file @
28c3224f
File moved
This diff is collapsed.
Click to expand it.
Script3_results_analysis.py
+
1
−
1
View file @
28c3224f
...
...
@@ -47,7 +47,7 @@ data = pd.read_csv(results_file, sep = '\t')
# All significant associations (one line per Phenotype - SNP association)
results_snps
=
significant_snps
(
data
,
pheno_list
,
res_list
,
th
)
#
results_snps = add_genes_ucsc(results_snps, summary_directory) # Use UCSC database to match SNPs with genes
results_snps
=
add_genes_ucsc
(
results_snps
,
summary_directory
)
# Use UCSC database to match SNPs with genes
results_snps
.
to_csv
(
summary_snps_file
,
sep
=
'
\t
'
,
index
=
0
)
# Associations grouped by region, i.e. independent LD blocks (one line per Phenotype - Region association)
...
...
This diff is collapsed.
Click to expand it.
others/Script3_functions.py
+
1
−
0
View file @
28c3224f
...
...
@@ -134,6 +134,7 @@ def significant_snps(df, pheno_list, res_list, th):
# *chromEnd = End position in chromosome
#################################################################################################################################
def
add_genes_ucsc
(
results_snps
,
summary_directory
):
tmp_file
=
summary_directory
+
'
/tmp_ucsc
'
list_snps
=
np
.
unique
(
results_snps
[
'
SNP
'
])
# list of significant snps
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment