-
Notifications
You must be signed in to change notification settings - Fork 86
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
issues convert vcf file to phylyp #50
Comments
Hi @lophostoma To diagnose the problem I need a few thousand lines from your VCF and probably the exact error message from vcf2phylip since I rarely use bcftools and could not predict what kind of output your command will make. Maybe the genotypes were not biallelic? Edgardo |
Ok Thanks for your reply. Attached you will find vcf file and the output file from vcf2phylip. Thanks for your time |
Hi again Carlos, Your vcf zip file seems to be corrupted, I re-downloaded a couple of times and can't be decompressed... |
I am having issues with the size of the file that I can send you trough GitHub. if possible can I send to a email account?? |
The new file is corrupted as well. My email has size limitations too. I just need at most 1000 lines, you can run this on your VCF:
Then compress the result and upload, it shouldn't be too big. Edgardo |
Atached the file: |
Hi, sorry I was assuming that the 1000 lines would contain some genotypes, I only got the headers of your reference contigs. Please add 1000 to the number of contigs in your reference (i.e. if your reference has 6500 contigs, repeat the head command with Edgardo |
Also, I checked the
Edgardo |
Hi, |
Hi,
I have the following issue. the vcf2phylip tool did not process the VCF file provided as expected. The output format 58 0 indicates that it detected 58 samples but 0 sites, which is not typical for a valid VCF file containing genotype information.
I used the following code to generate the vcf file prior to use vcf2phylyp
enroot start --mount $HOME --root --rw staphb+bcftools sh -c "
bcftools view -h /home/carlos.carrion/output_filtered.vcf > /home/carlos.carrion/output_reformat.vcf &&
bcftools query -f "%CHROM\t%POS\t%ID\t%REF\t%ALT\t%QUAL\t%FILTER\t%INFO[\t%SAMPLE=%GP]\n" /home/carlos.carrion/output_filtered.vcf >> /home/carlos.carrion/output_reformat.vcf"
Thanks
The text was updated successfully, but these errors were encountered: