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

Found multiple references in the fasta file #3

Open
snashraf opened this issue Sep 7, 2021 · 4 comments
Open

Found multiple references in the fasta file #3

snashraf opened this issue Sep 7, 2021 · 4 comments

Comments

@snashraf
Copy link

snashraf commented Sep 7, 2021

$ variantstore construct -r /gpfs/ngsdata/ref_data/Homo_sapiens/hs37d5/Sequences/BWAIndex/hs37d5.fa -v 210811_WGS30_B1.vcf.gz -p KF_SDR
[2021-09-07 09:16:39.170] [info] Creating variant graph
Found multiple references in the fasta file
Aborted

Any idea why I am getting this error?

Regards,
Najeeb

@prashantpandey
Copy link
Collaborator

Hi @snashraf ,

VariantStore expects a single reference in the fasta file corresponding to the VCF file. The error you are seeing should be because there are multiple references in the fasta file that you are using.

Thanks,
Prashant

@snashraf
Copy link
Author

snashraf commented Sep 8, 2021

Hi @prashantpandey

I have used the same reference file for variant calling so I am not sure why it's saying multiple fasta files. It's a standard hs37d5 file.

Regards,
Najeeb

@prashantpandey
Copy link
Collaborator

Hi @snashraf , does the fasta file contain multiple chromosomes?

You will have to create the fasta file for individual chromosomes. For example, you can look at the 1000 Genomes dataset. There VCF files are available for individual chromosomes and the fasta file should also contain the reference for a single chromosome.

Thanks,
Prashant

@snashraf
Copy link
Author

snashraf commented Sep 8, 2021 via email

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