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 save converted file #82

Open
manburst opened this issue Aug 31, 2022 · 2 comments
Open

How to save converted file #82

manburst opened this issue Aug 31, 2022 · 2 comments

Comments

@manburst
Copy link

manburst commented Aug 31, 2022

Dear Sir
Now I am learning to use SeqArray package.
I am trying to use the package to convert my Exome VCF SNP file into SNPGDS file for SNPrelate package for analysis relatedness.
I use seqVCF2GDS(gdsfile, "gds") and seqSNP2GDS(gdsfile, "gds") to convert VCF into GDS then SNP GDS
Or convert them back from SNP GDS to VCF file.
but how do I save the conveted file? (VCF, GDS and SNP GDS)

Thanks in advance
JK.

@zhengxwen
Copy link
Owner

seqVCF2GDS("your_vcf_file.vcf.gz", "your_output.gds")

The SNPRelate could read the SeqArray GDS file directly, without converting to SNP GDS.

@manburst
Copy link
Author

manburst commented Sep 1, 2022

Thank you for quick reply.

And how do I save or export the output file from R environment to local PC?

Thanks
JK.

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