I am currently using VEP for variant annotation.
I am facing an error as below:
[E::fai_build_core] Different line length in sequence 'Pn9'
I understand there is an issue with the difference in line length of Pn9 in the fasta file. However, the sequences of fasta file all have different line length. I don't get why there is an error specifically on Pn9.
I have tried using both snpEff and Annovar but doesn't work. Any thoughts on this would be really appreciated.
I am attaching the length of sequence here :
Hope you would guide me to rectify this error.
Thanks in advance.
Did you unzip the reference file using bgzip? Try making fasta sequences single lined using seqkit.
seqkit -w 0 seq input.fa -o output.fa
. Use output.fa for further work.The file was unzipped. I used bgzip to zip before using it for VEP. Thank you for your suggestion.
Sorry to say this but this didn't help !
what's the error and what is the command line you are using ?
I used the same command with my fasta file. But I am still getting the error :