Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deal with NA column in MASH analysis #550

Open
rfeng2023 opened this issue Mar 13, 2023 · 1 comment
Open

How to deal with NA column in MASH analysis #550

rfeng2023 opened this issue Mar 13, 2023 · 1 comment

Comments

@rfeng2023
Copy link
Contributor

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?

@gaow
Copy link
Contributor

gaow commented Mar 14, 2023

Thanks for documenting @rfeng2023! as discussed in person this PM, please post update on this ticket to summarize what we concluded how to move forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants