Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RAISS
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
RAISS
Commits
a65d314e
Commit
a65d314e
authored
6 years ago
by
hjulienne
Browse files
Options
Downloads
Patches
Plain Diff
add scripts
parent
7327b8a9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
impute_jass/doc/source/index.rst
+2
-3
2 additions, 3 deletions
impute_jass/doc/source/index.rst
scripts/array_args_imputation.txt
+44
-0
44 additions, 0 deletions
scripts/array_args_imputation.txt
scripts/launch_imputation_all_gwas.sh
+25
-0
25 additions, 0 deletions
scripts/launch_imputation_all_gwas.sh
with
71 additions
and
3 deletions
impute_jass/doc/source/index.rst
+
2
−
3
View file @
a65d314e
...
@@ -79,14 +79,14 @@ RAISS has an interface with the command line (see Command Line Usage bellow).
...
@@ -79,14 +79,14 @@ RAISS has an interface with the command line (see Command Line Usage bellow).
If you have access to a cluster, an efficient way to use RAISS is to launch
If you have access to a cluster, an efficient way to use RAISS is to launch
the imputation of each chromosome on a separate cluster node. The script
the imputation of each chromosome on a separate cluster node. The script
`launch_imputation_all_gwas.sh <https://gitlab.pasteur.fr/statistical-genetics/raiss/blob/master/launch_imputation_all_gwas.sh>`_
`launch_imputation_all_gwas.sh <https://gitlab.pasteur.fr/statistical-genetics/raiss/blob/master/
scripts/
launch_imputation_all_gwas.sh>`_
contain an example of raiss usage with a SLURM scheduler.
contain an example of raiss usage with a SLURM scheduler.
Output
Output
======
======
The raiss package outputs imputed GWAS files in the tabular format:
The raiss package outputs imputed GWAS files in the tabular format:
#
TODO suppress complementary columns
..
TODO suppress complementary columns
+------------+---+--+----------------+-----+-----+----------------+------------------+---------+---------+
+------------+---+--+----------------+-----+-----+----------------+------------------+---------+---------+
| |A0 |A1| Nsnp_to_impute |Var |Z |condition_number|correct_inversion |ld_score | pos |
| |A0 |A1| Nsnp_to_impute |Var |Z |condition_number|correct_inversion |ld_score | pos |
...
@@ -94,7 +94,6 @@ The raiss package outputs imputed GWAS files in the tabular format:
...
@@ -94,7 +94,6 @@ The raiss package outputs imputed GWAS files in the tabular format:
| rs11584349 |C | T| 18 | 0.85|-0.28| 116.9 | False | 1.34 | 1000156 |
| rs11584349 |C | T| 18 | 0.85|-0.28| 116.9 | False | 1.34 | 1000156 |
+------------+---+--+----------------+-----+-----+----------------+------------------+---------+---------+
+------------+---+--+----------------+-----+-----+----------------+------------------+---------+---------+
# Keep only useful columns
Command Line Usage
Command Line Usage
==================
==================
...
...
This diff is collapsed.
Click to expand it.
scripts/array_args_imputation.txt
0 → 100644
+
44
−
0
View file @
a65d314e
GIANT_HEIGHT chr1
GIANT_HEIGHT chr2
GIANT_HEIGHT chr3
GIANT_HEIGHT chr4
GIANT_HEIGHT chr5
GIANT_HEIGHT chr6
GIANT_HEIGHT chr7
GIANT_HEIGHT chr8
GIANT_HEIGHT chr9
GIANT_HEIGHT chr10
GIANT_HEIGHT chr11
GIANT_HEIGHT chr12
GIANT_HEIGHT chr13
GIANT_HEIGHT chr14
GIANT_HEIGHT chr15
GIANT_HEIGHT chr16
GIANT_HEIGHT chr17
GIANT_HEIGHT chr18
GIANT_HEIGHT chr19
GIANT_HEIGHT chr20
GIANT_HEIGHT chr21
GIANT_HEIGHT chr22
GIANT_BMI chr1
GIANT_BMI chr2
GIANT_BMI chr3
GIANT_BMI chr4
GIANT_BMI chr5
GIANT_BMI chr6
GIANT_BMI chr7
GIANT_BMI chr8
GIANT_BMI chr9
GIANT_BMI chr10
GIANT_BMI chr11
GIANT_BMI chr12
GIANT_BMI chr13
GIANT_BMI chr14
GIANT_BMI chr15
GIANT_BMI chr16
GIANT_BMI chr17
GIANT_BMI chr18
GIANT_BMI chr19
GIANT_BMI chr20
GIANT_BMI chr21
GIANT_BMI chr22
This diff is collapsed.
Click to expand it.
scripts/launch_imputation_all_gwas.sh
0 → 100755
+
25
−
0
View file @
a65d314e
#!/bin/bash
#SBATCH --mem=32000
#SBATCH -o /pasteur/projets/policy01/PCMA/WKD_Hanna/impute_for_jass/genome_imputation_script/imputation_log/IMPFJ_%a.log
#SBATCH -e /pasteur/projets/policy01/PCMA/WKD_Hanna/impute_for_jass/genome_imputation_script/error_log/error_%a.log
#define data location
module load Python/3.6.0
output_folder
=
"/pasteur/projets/policy01/PCMA/1._DATA/ImFJ_imputed_zfiles"
ref_folder
=
"/pasteur/projets/policy01/PCMA/1._DATA/ImpG_refpanel"
zscore_folder
=
"/pasteur/projets/policy01/PCMA/1._DATA/ImpG_zfiles"
ld_folder
=
"/pasteur/projets/policy01/PCMA/WKD_Hanna/impute_for_jass/berisa_ld_block"
args
=
$(
head
-n
${
SLURM_ARRAY_TASK_ID
}
$1
|
tail
-n
1
)
study
=
$(
echo
$args
|
cut
-d
' '
-f1
)
chrom
=
$(
echo
$args
|
cut
-d
' '
-f2
)
#quick fix to access entry point on tars
alias
impute_jass
=
"python3 /pasteur/homes/hjulienn/.local/lib/python3.6/site-packages/impute_jass/__main__.py"
#study="GIANT_HEIGHT"
#chrom="chr22"
echo
"Study:
${
study
}
; Chrom:
${
chrom
}
"
#time impute_jass --chrom ${chrom} --gwas ${study} --ref-folder ${ref_folder} --ld-folder ${ld_folder} --zscore-folder ${zscore_folder} --output-folder ${output_folder}
time
python3 /pasteur/homes/hjulienn/.local/lib/python3.6/site-packages/impute_jass/__main__.py
--chrom
${
chrom
}
--gwas
${
study
}
--ref-folder
${
ref_folder
}
--ld-folder
${
ld_folder
}
--zscore-folder
${
zscore_folder
}
--output-folder
${
output_folder
}
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