Closed CholoTook closed 4 years ago
Is the issue applying GRCh38.p13_assembly_report.txt
after having created the index?
BTW, just for completeness, I got that file from here:
wget ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/001/405/GCF_000001405.39_GRCh38.p13/GCF_000001405.39_GRCh38.p13_assembly_report.txt -o GRCh38.p13_assembly_report.txt
The program should have complained about passing a "fna.gz", I think the code can't work with that. We can decompress VCFs but the stuff about the index makes it complicated for fastas and I think that the library that we use for reading the fasta doesn't support compressed fastas.
Long story short, I'm afraid you have to use the decompressed fasta. Preparing the fasta index will make it run faster:
../samtools-1.9/samtools faidx GRCh38_latest_genomic.fna
./vcf_assembly_checker_linux -i cardiomics-1000.vcf -f GRCh38_latest_genomic.fna -a GRCh38.p13_assembly_report.txt
We have a pending task of improving the messages about wrong parameters, I updated it to include this constraint with compressed fastas.
I'm sorry about these annoying bugs. I know you didn't want to deal with experimental stuff, but these are new features and there are no previous stable versions of them in this repo.
No probs, thanks for clear explanations.
On Tue, 5 Nov 2019, 16:57 jmmut, notifications@github.com wrote:
I'm sorry about these annoying bugs. I know you didn't want to deal with experimental stuff, but these are new features and there are no previous stable versions of them in this repo.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EBIvariation/vcf-validator/issues/196?email_source=notifications&email_token=ANKSZTQSHT4UUUSRD6QQT2LQSGQYPA5CNFSM4JJEGFW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDDOBTY#issuecomment-549904591, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKSZTXS2MHJMWE6RYKT6FLQSGQYPANCNFSM4JJEGFWQ .
This was fixed in EVA-1731: closing
Hi, I'm building a .fai using the following steps, but something must be wrong:
Which gives:
However:
vs: