Skip to content

Xpar option missing for IMPUTE4 #3

Description

@eyherabh

The file R/phasingImpute4.R has the comment

## impute for chrX PAR >> with an additional flag: --Xpar.

However, the lines following it and running IMPUTE4 do not have that flag set, i.e.

167:                ## impute for chrX PAR >> with an additional flag: --Xpar.
168-                system(paste0(impute4,   
169-                " -no_maf_align \ ",   
170-                " -m ", GENMAP_FILE, " \ ",  
171-                " -h ", HAPS.chrXPAR1, " \ ", 
172-                " -l ", LEGEND.chrXPAR1, " \ ", 
173-                " -g ", GWAS_HAPS_FILE, " \ ", 
174-                " -Ne ", effectiveSize, " \ ", 
175-                " -int ", chunkSTART, " ", chunkEND, " \ ", 
176-                " -buffer 1000  \ ",
177-                " -o ", OUTPUT_FILE, " \ " ))
178-            } else if (i == "X_PAR2") {  

Could you please clarify whether the effectiveSize is being reduced elsewhere in order to mimic the effect of the missing flag as per IMPUTE2?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions