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

ERROR: You're either using an outdated samtools, or --ref-fasta is not the same genome build as your --input-vcf. #326

Open
melodyeeeee opened this issue Aug 22, 2022 · 2 comments

Comments

@melodyeeeee
Copy link

Hi,
When I running this command :
`vcf2maf=/data/jiaf/wes_cancer/biosoft/vcf2maf/vcf2maf.pl
vep_path=~/miniconda3/envs/vep/bin/
GENOME=/data/jiaf/wes_cancer/biosoft/gsutil/gatk/hg19/v0/Homo_sapiens_assembly19.fasta
vep_data=/data/jiaf/wes_cancer/data/vep/homo_sapiens/100_GRCh37

cat config | while read id
do
arr=(${id})
tumor=${arr[0]}
perl ${vcf2maf}
--input-vcf filter/clean/${tumor}.clean.vcf
--output-maf annotation/vep/${tumor}_vep.maf
--ref-fasta ${GENOME}
--vep-path ${vep_path}
--vep-data ${vep_data}
--species homo_sapiens
--ncbi-build GRCh37
1>annotation/vep/${tumor}_vep.log 2>&1

done
And here is the error that I'm getting: [W::fai_fetch] Reference chr10:101563814-101563816 not found in FASTA file, returning empty sequence Failed to fetch sequence in chr10:101563814-101563816 ERROR: You're either using an outdated samtools, or --ref-fasta is not the same genome build as your --input-vcf. I tried to search the solution to get rid of it, and based on the https://github.com/mskcc/vcf2maf/issues/257, I have changed the fasta file to "chr" format and still get this issue, is there any other solution? my fastagrep "chr10" Homo_sapiens_assembly19.fasta
chr10 dna:chromosome chromosome:GRCh37:10:1:135534747:1`

Thank you!

@melodyeeeee
Copy link
Author

I'm very sorry for the incorrect formatting, as this is the first time I've asked a question here, and would appreciate your understanding.

@chywang17
Copy link

Hi @melodyeeeee , I meet same problems. I wander know whether you have solved this issue.

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