Skip to content

How to deal with NA column in MASH analysis #550

@rfeng2023

Description

@rfeng2023

When I was trying to Compute MASH posteriors in MASH analysis, there is a NA column in bhat and sbhat matrix in file /mnt/vast/hpc/csg/rf2872/Work/MASH_csg.q/output/RDS/ALL_Ast_End_Exc_Inh_Mic_OPC_Oli.log2cpm.bed.processed_phenotype.per_chrom_ALL_Ast_End_Exc_Inh_Mic_OPC_Oli.log2cpm.ALL_Ast_End_Exc_Inh_Mic_OPC_Oli.covariate.pca.resid.PEER.cov.chr9.norminal.cis_long_table.RMI1.rds, which is a split rds file form sumstat merger vcf (maybe more than 1 NA columns in other files).
image

I tried to delete the NA column, so the ncol of above matrices is 5, which is different from the mash model, and would cause the job crash in downstream analysis mash_compute_posterior_matrices. Is there any proper way to deal with this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions