The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.Dear Haky,
My supervisor has given me your contact details, I hope you don’t mind me contacting you directly.
I am currently trying to run above tutorial but I am struggling with this part:
# The following imputes a portion of the imput GWAS.
# The imputation is meant to be split over many executions to improve paralellism
# so you would have to iterate `-chromosome` between [1,22] and `-sub_batch` between [0,_sub_batches],
# ideally in an HPVC environment
python $GWAS_TOOLS/gwas_summary_imputation.py \
-by_region_file $DATA/eur_ld.bed.gz \
-gwas_file $OUTPUT/harmonized_gwas/CARDIoGRAM_C4D_CAD_ADDITIVE.txt.gz \
-parquet_genotype $DATA/reference_panel_1000G/chr1.variants.parquet \
-parquet_genotype_metadata $DATA/reference_panel_1000G/variant_metadata.parquet \
-window 100000 \
-parsimony 7 \
-chromosome 1 \
-regularization 0.1 \
-frequency_filter 0.01 \
-sub_batches 10 \
-sub_batch 0 \
--standardise_dosages \
-output $OUTPUT/summary_imputation_1000G/CARDIoGRAM_C4D_CAD_ADDITIVE_chr1_sb0_reg0.1_ff0.01_by_region.txt.gzI get an error message saying that “AttributeError: 'MultiIndex' object has no attribute 'labels'” if I copy it like this.
Also I do not quite understand what is meant by “# The imputation is meant to be split over many executions to improve parallelism, so you would have to iterate `-chromosome` between [1,22] and `-sub_batch` between [0,_sub_batches],”.
Could you give me some more explanations how to run this part?
Thank you very much & Best Regards,
Lea
Lea Lemler
PhD Student
Colon Cancer Genetics Group,
4th Floor MRC-HGU,
Institute of Genetics and Cancer,
University of Edinburgh,
Crewe Road, Edinburgh EH4 2XU