Dear Sir/Madam,

I met a problem while running samtools faidx command. It shows like:

$ cd /biotool/samtools-1.3.1
$ ./samtools faidx /data/hg19.fasta
[fai_build] fail to open the FASTA file /data/hg19.fasta
Could not build fai index /data/hg19.fasta.fai

I tried 3 reference genomes respectively: hg19.fasta, ucsc.hg19.fasta and 
hg19.fa. They all show error messages like above.
However, if I use one single chromosome reference , like chrX.fa, instead of 
the whole hg19 reference, faidx command goes well and no error message appears.
Is there any way to fix that? I would be very appreciate if you reply me.



CHEN Ran
Sequencing Superviser
Molecular Biology Laboratory
Wuhan Kindstar Diagnostics Co., Ltd.
Kindstar Global (Beijing) Medical Technology Co., Ltd.
Mail: chen...@kindstar.com.cn<mailto:chen...@kindstar.com.cn>
Tel: (86) 027-85573007-8413
Phone: 18502711615
LinkedIn: https://cn.linkedin.com/in/chromochen/en

------------------------------------------------------------------------------
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to