-
Notifications
You must be signed in to change notification settings - Fork 51
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
Exporting genotype to a file #348
Comments
Hi @vappiah. This looks like you need uncompressed VCF? Can you describe your workflow in a bit more detail- and hopefully we can help. ie:
PS This issue tracker is for bugs; user queries should be directed to: [email protected] |
Hi @hardingnj . My starting format is a vcf file generated using gatk pipeline. Using allel, I first convert to h5 format, open the h5 and create the genotypechunked array. So what I want is to save the genotypechunkedarray to another file and use that for downstream analysis. But I am yet to find a function in allel that can do the export. Below is the code callset=h5py.File(h5,mode='r') |
Hi- There is no function in scikit-allel to generate Alternatively- it would be fairly straightforward to loop though rows and write the columns required by the tool to a file. |
Is there a way to save genotype data structure to a file for furthur processing in allel?
I will like to generate manhattan plot and the tool requires data to be in the genotype format. Please find attached a sample of the expected output
The text was updated successfully, but these errors were encountered: