I am trying to download a reference genome hg19 from UCSC site.
I tried to convert hg19.2bit to hg19.fa by twoBitToFa on UCSC tools.
It said "cannot execute binary file".
then I tried
"cat chr1.fa chr2.fa chr3.fa chr4.fa chr5.fa chr6.fa chr7.fa chr8.fa chr9.fa chr10.fa chr11.fa chr12.fa chr13.fa chr14.fa chr15.fa chr16.fa chr17.fa chr18.fa chr19.fa chr20.fa chr21.fa chr22.fa chrX.fa chrY.fa >hg19.fa"
But when I used this hg19.fa in bwa, it said
"[bwa_index] fail to open file 'hg19.fa'. Abort!
Aborted"
I am still not able to get any reference sequence build.
Note: I am using Linux and am a beginner.
I tried to convert hg19.2bit to hg19.fa by twoBitToFa on UCSC tools.
It said "cannot execute binary file".
then I tried
"cat chr1.fa chr2.fa chr3.fa chr4.fa chr5.fa chr6.fa chr7.fa chr8.fa chr9.fa chr10.fa chr11.fa chr12.fa chr13.fa chr14.fa chr15.fa chr16.fa chr17.fa chr18.fa chr19.fa chr20.fa chr21.fa chr22.fa chrX.fa chrY.fa >hg19.fa"
But when I used this hg19.fa in bwa, it said
"[bwa_index] fail to open file 'hg19.fa'. Abort!
Aborted"
I am still not able to get any reference sequence build.
Note: I am using Linux and am a beginner.
Comment