diff --git a/impute_jass/doc/source/_autosummary/impute_jass.windows.rst b/impute_jass/doc/source/_autosummary/impute_jass.windows.rst
index ff6b8645b2f79c5a80fdaf148f4fba41c9e15e90..251dc0005c9e09f8e2de1138c4f6994956ca2895 100644
--- a/impute_jass/doc/source/_autosummary/impute_jass.windows.rst
+++ b/impute_jass/doc/source/_autosummary/impute_jass.windows.rst
@@ -14,7 +14,6 @@ impute\_jass.windows
format_result_df
impg_like_imputation
in_region
- ld_region_centered_window_imputation
parse_region_position
prepare_zscore_for_imputation
print_progression
diff --git a/impute_jass/doc/source/index.rst b/impute_jass/doc/source/index.rst
index a4acc1c0d7d101848d49d8ff8e5a52ae00dc632e..aa2ece396ddf5f949daadfd026305f3d402b182d 100644
--- a/impute_jass/doc/source/index.rst
+++ b/impute_jass/doc/source/index.rst
@@ -21,10 +21,9 @@ The statistical model used to make the imputation is described in :cite:`Pasaniu
The imputation execution time is optimized by precomputing Linkage desiquilibrium between SNPs.
-Dependancies
+Dependencies
============
-RAISS require plink version 1.9
-
+RAISS requires plink version 1.9 : `<https://www.cog-genomics.org/plink2>`_
Installation
============
@@ -39,8 +38,8 @@ Precomputation of LD-correlation
The imputation is based the Linkage desiquilibrium between SNPs.
To save computation the LD is computed and saved perform the imputation is
-performed. To limit the number of SNP pairs, the LD is computed between SNPs in
-region of approximately LD-independant. For an european ancestry, you can use
+performed. To limit the number of SNP pairs, the LD is computed between pairs of
+SNPs in a approximately LD-independent regions. For an european ancestry, you can use
the region defined by :cite:`Berisa2015` that are provided in the package data folder.
To compute the LD you need to specify a reference panel splitted by chromosomes
@@ -70,7 +69,8 @@ all in the same folder with the following columns with the same header:
| rs6548219| 30762 | A | G | -1.133 |
+----------+-------+------+-----+--------+
-This format can be obtain with the Processing package.
+This format can be obtain with the `JASS PreProcessing package <https://gitlab.pasteur.fr/statistical-genetics/JASS_Pre-processing>`.
+
Launching imputation on one chromosome
======================================
@@ -81,14 +81,13 @@ 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
launch_imputation_all_gwas.sh contain an example for SLURM scheduler.
-
#TODO check command line interface
Output
======
-The raiss package output imputed GWAS files in the tabular format:
-
+The raiss package outputs imputed GWAS files in the tabular format:
+#TODO suppress complementary columns
+------------+---+--+----------------+-----+-----+----------------+------------------+---------+---------+
| |A0 |A1| Nsnp_to_impute |Var |Z |condition_number|correct_inversion |ld_score | pos |
+============+===+==+================+=====+=====+================+==================+=========+=========+
diff --git a/impute_jass/impute_jass/stat_models.py b/impute_jass/impute_jass/stat_models.py
index c8f2e599d1e21ad1087f7f019f525c0d43ef5f99..6f7acce81b298c7009c7b9045eb96d79d062cada 100644
--- a/impute_jass/impute_jass/stat_models.py
+++ b/impute_jass/impute_jass/stat_models.py
@@ -10,8 +10,8 @@ Fast and accurate imputation of summary statistics enhances evidence
of functional enrichment, Bioinformatics, Volume 30, Issue 20, 15 October 2014,
Pages 2906–2914
-
"""
+
import numpy as np
import scipy as sc
import scipy.linalg
diff --git a/impute_jass/setup.py b/impute_jass/setup.py
index d58e73591021659302c7bf50fa3c0ae3f5be3114..b931f301b05b28847980a2af3998d2e5f137f805 100644
--- a/impute_jass/setup.py
+++ b/impute_jass/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(name='impute_jass',
version='0.1',
- description='Preprocess GWAS summary statistic for JASS',
+ description='Imputation of summary statistics',
url='http:https://gitlab.pasteur.fr/statistical-genetics/JASS_Pre-processing',
author='Hanna Julienne',
author_email='hanna.julienne@pasteur.fr',