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

Cannot use FastaVariant without genotype #152

Closed
victorlin opened this issue Jul 18, 2019 · 2 comments
Closed

Cannot use FastaVariant without genotype #152

victorlin opened this issue Jul 18, 2019 · 2 comments
Assignees
Labels

Comments

@victorlin
Copy link

I am trying to generate a consensus with the ClinVar VCF file (FTP link: ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh37/clinvar_20190715.vcf.gz).
However, the file does not contain genotype information (no samples). This seems to trigger an IndexError while parsing in __init__.py (line 1111).

I'm fairly new to working with VCF files in general - please let me know if I'm overlooking anything.

@mdshw5
Copy link
Owner

mdshw5 commented Jul 18, 2019

This might be the wrong tool for the task. Currently, FastaVariant only incorporates genotypes from individual samples in a VCF, and only SNPs and MNPs, not indels (see #84). If you're trying to add ClinVar alleles prior to alignment, I might suggest you use something like hisat2 to build a graph-based index. Otherwise, if you want to make a consensus FASTA from this VCF, I think FastaAlternateReferenceMaker will do the trick.

@mdshw5 mdshw5 added the wontfix label Jul 18, 2019
@mdshw5 mdshw5 self-assigned this Jul 18, 2019
@victorlin
Copy link
Author

Thanks for the pointers. I'll look into the other tools you've mentioned.

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

No branches or pull requests

2 participants