Skip to content

Commit

Permalink
update readme of h3agwas
Browse files Browse the repository at this point in the history
  • Loading branch information
jeantristanb committed Jul 21, 2022
1 parent 0bf6e9f commit 795d9a8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 23 deletions.
38 changes: 20 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

# H3Agwas Pipeline Version 3

[![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A520.04.0-brightgreen.svg)](https://www.nextflow.io/)
[![fair-software.eu](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F-green)](https://fair-software.eu)


[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5145/badge)](https://bestpractices.coreinfrastructure.org/projects/5145)


[biotools:h3agwas](https://bio.tools/h3agwas)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5145/badge)](https://bestpractices.coreinfrastructure.org/projects/5145)
[![biotools:h3agwas](https://img.shields.io/badge/biotools-h3agwas-blue)](https://bio.tools/h3agwas)
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/h3abionet/h3agwas)](https://quay.io/organization/h3abionet_org)

The major change from Version 2 to Version 3 is the reorganisation of the repo so that the different workflows are in separate directories.

Expand All @@ -25,17 +23,19 @@ In addition to this README we have a detailed tutorial and videos
* found example data-set and example in [h3agwas-examples github](https://github.com/h3abionet/h3agwas-examples)

pipeline do different step of GWAS :
* [Format input illuminat in plink format](call2plink/README.md)
* [Format output illumina in plink format](call2plink/README.md)
* [Quality control of array input illuminat in plink format](qc/README.md)
* [Association using different software : gcta, plink, gemma, Bolt-LMM, FastLMM and GxE with gemma and plink](assoc/README.md)
* Post meta analyses script :
* [meta analyse script and mtag approach](meta/README.md)
* [Computation of heritabilities or variance explained of phenotype](heritabilities/README.md)
* [Finemapping and cojo extraction of windows ](finemapping/README.md)
* [Meta analysis and Multi-Trait Analysis of GWAS ](meta/README.md)
* [Computation of heritabilities or variance explained of phenotype using summary statistisc or genetics](heritabilities/README.md)
* [Finemapping, cojo extraction of windows or conditional analysis using gemma](finemapping/README.md)
* [Annotation and plot of result](utils/annotation/README.md)
* [Simulation of dataset](utils/build_example_data/README.md)
* [Format data differents dataset](formatdata//README.md) :
* plink in vcf to prepared your data at imputation
* vcf in plink after imputation
* plink in vcf to prepared your data at imputation;
* vcf in plink, bgen, bimbam after imputation;
* summary statistics between build;
* h3agwas doesn't perform imputation, specific pipeline can be found in [h3abionet](https://github.com/h3abionet/chipimputation).

## Example and data-set
Expand Down Expand Up @@ -129,15 +129,19 @@ There are three separate workflows that make up *h3agwas*
* ̀heritabilities/esth2-assoc.nf` : estimate heritability and co-heritabilie with gcta, ldsc, gemma and bolt

6. `finemapping` :
* `finemapping/main.nf` : performed meta analysis using different data set
* `finemapping/main.nf` : performed fine-mapping on full summary statistics, using plink, gcta, FINEMAP...
* `finemapping/finemap_region.nf.nf` : performed fine-mapping on specific region
* `finemapping/cond-assoc` : performed conditional association on specificcs SNPs
* `finemapping/cojo-assoc.nf` : do Conditional & joint (COJO) analysis of GWAS summary statistics without individual-level genotype data with gcta

7. `utils/build_example_data`
* `utils/build_example_data/main.nf` : extract data set from vcf file and simulate dataset
* `utils/build_example_data/simul-assoc.nf` : simulation of phenotype using phenosim
* `utils/build_example_data/main.nf` : extract specifics positions from vcf file and used by default gwas catalog and phenotype to simulate dataset using gcta
* `utils/build_example_data/simul-assoc_gcta.nf` : simul phenotype using plink file, gcta and gwas catalog
* `utils/build_example_data/simul-assoc_phenosim.nf` : simulation of phenotype using phenosim using random positions

8. `utils/permutatation`
8. `utils/permutation`
* `utils/permutation/permutation-assoc.nf`: do a permutation test to reevaluate p.value with gemma

9. `formatdata` : additional script to format data added some missing information etc...
* see [README of formatdata/](formatdata/)

Expand Down Expand Up @@ -410,8 +414,6 @@ Nextflow provides [several options](https://www.nextflow.io/docs/latest/tracing.
This is useful for seeing how long different parts of your process took. Also useful is peak virtual memory used, which you may need to know if running on very large data to ensure you have a big enough machine and specify the right parmeters.




# 5. Running the workflow in different environments

In the quick start we gave an overview of running our workflows in different environments. Here we go through all the options, in a little more detail
Expand Down
18 changes: 13 additions & 5 deletions meta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,31 @@ The key options are:
MR-MEGA need chromosomes, positions and N (sample number) for each position, so in pipeline referent file (in file_config, 1 in IsRefFile) must be have chromosome and poosition

### option comparaison software

| | options |
| Software | `ma_genomic_cont` | `ma_inv_var_weigth` | `ma_overlap_sample` | `ma_random_effect` |
| --- | --- | --- | --- | --- |
| explanation | genomic control | invert variance weight | sample overlap | Random Effect |
| descriptionus| genomic control | invert variance weight | sample overlap | Random Effect |
| default | 0 | 0 | 0 | 0 |
| metal | yes | yes | yes | no |
| gwama | yes | default no | yes |
| Mr Mega| yes | no | no | no |
| plink | no | yes | no | no |
| Metasoft | no | no | no | default |
| --- | --- | --- | --- | --- |

1 'weighted-z' requests weighted Z-score-based p-values (as computed by the Abecasis Lab's METAL software)

#### Ressource
| Software | Manuals | |
| metal | [here](https://genome.sph.umich.edu/wiki/METAL_Documentation) | [here](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2922887/)|
| gwama | [here](https://genomics.ut.ee/en/tools) | [here](https://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-11-288)|

| Software | Manuals | References |
| --- | --- | --- |
| Metal | [here](https://genome.sph.umich.edu/wiki/METAL_Documentation) | [here](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2922887/)|
| Gwama | [here](https://genomics.ut.ee/en/tools) | [here](https://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-11-288)|
| Mr Mega| [here](https://genomics.ut.ee/en/tools)| [here](https://bmcbioinformatics.biomedcentral.com/track/pdf/10.1186/1471-2105-11-288.pdf)|
| plink | [here](https://zzz.bwh.harvard.edu/plink/metaanal.shtml) | |
| plink | [here](https://zzz.bwh.harvard.edu/plink/metaanal.shtml) | [here](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1950838/)|
| Metasof | [here](genetics.cs.ucla.edu/meta) | [here](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3146723/) |
| --- | --- | --- |

### References
[Comparison of Two Meta-Analysis Methods: Inverse-Variance-Weighted Average and Weighted Sum of Z-Scores](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5287121/)
Expand Down

0 comments on commit 795d9a8

Please sign in to comment.