EBISPOT / gwas-sumstats-harmoniser

GWAS Summary Statistics Data Harmonisation
19 stars 13 forks source link

Nextflow #40

Closed jdhayhurst closed 1 year ago

jdhayhurst commented 2 years ago

executed on codon by:

module load nextflow-21.10.6-gcc-9.3.0-tkuemwd
nextflow main.nf --to_harm_folder <path> --inputPath <path>

Review (TODO):

jdhayhurst commented 2 years ago

Review (TODO):

jdhayhurst commented 2 years ago

@jiyue1214 I've got the map to build working (I committed some changes to read the chromosomes from the NF params). It's breaking for me on this line https://github.com/EBISPOT/gwas-sumstats-harmoniser/blob/278d31ce44242ff655ef98a6614fc1e6f95095a7/modules/local/ten_percent_counts.nf#L18. shuf is not installed in the docker image. There's two approaches 1. install shuf into the docker image or 2. rewrite that either with bash utils that are installed or with python.

jiyue1214 commented 2 years ago

@jiyue1214 I've got the map to build working (I committed some changes to read the chromosomes from the NF params). It's breaking for me on this line

https://github.com/EBISPOT/gwas-sumstats-harmoniser/blob/278d31ce44242ff655ef98a6614fc1e6f95095a7/modules/local/ten_percent_counts.nf#L18

. shuf is not installed in the docker image. There's two approaches 1. install shuf into the docker image or 2. rewrite that either with bash utils that are installed or with python.

Hi, @jdhayhurst . I checked the docker image of ebispot/gwas-sumstats-harmoniser:latest and I found shuf had already included in the current docker image. However, pysam package had not yet. It may be the reason you may see the pipeline broken at this line. I created a new docker image, which contains wget and pysam at here which may helps: 'docker://athenaji/gwas_harm_test:latest' .

jdhayhurst commented 2 years ago

@jiyue1214 I haven't been testing with "latest" because that is only built for releases. I've been using a local docker image built from the dockerfile in this branch of the repository, which has wget and pysam installed.