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

Feature request: pgenlibr: save pgen R data to file #194

Open
richelbilderbeek opened this issue Sep 28, 2021 · 2 comments
Open

Feature request: pgenlibr: save pgen R data to file #194

richelbilderbeek opened this issue Sep 28, 2021 · 2 comments

Comments

@richelbilderbeek
Copy link
Contributor

Dear @chrchang,

I was happy to find the pgenlibr R package to read .pgen files and I intend to use it in one of my packages.

The reading of .pgen files goes excellent, yet I miss the option to also save the data to another .pgen file.

Are there plans to add to the functionality of pgenlibr to save the data to a file?

I would be open to help in a way, e.g. by adopting it in my package.

Thanks for your reply and cheers, Richel Bilderbeek

@chrchang
Copy link
Owner

I will try to make a basic writer available within the next month. What type of data are you working with (any phase or dosage info)?

@richelbilderbeek
Copy link
Contributor Author

I work with the data in the PLINK tutorial ( https://zzz.bwh.harvard.edu/plink/tutorial.shtml ) and the PLINK2 general usage ( https://www.cog-genomics.org/plink/2.0/general_usage (I guess you wrote that one!).

It would be useful if people could save to a .pgen after loading a .pgen file, thanks for your help!

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