The Homo_sapiens.GRCh38.dna.toplevel.fa.gz is 1.0 Gb but when i run Botwtie2 with
bowtie2-build -f ./Homo_sapiens.GRCh38.dna.toplevel.fa.gz ./GRCh38_idx.fa
the output is
...
Warning: Encountered reference sequence with only gaps
Warning: Encountered empty reference sequence
Time reading reference sizes: 00:00:26
Calculating joined length
Writing header
Reserving space for joined string
Joining reference sequences
Reference file does not seem to be a FASTA file
Time to join reference sequences: 00:00:01
Total time for call to driver() for forward index: 00:00:27
Error: Encountered internal Bowtie 2 exception (#1)
Command: bowtie2-build --wrapper basic-0 -f ./refSeq/Homo_sapiens.GRCh38.dna.toplevel.fa.gz ./refSeq/GRCh38_idx.fa
Deleting "./refSeq/GRCh38_idx.fa.3.bt2" file written during aborted indexing attempt.
Deleting "./refSeq/GRCh38_idx.fa.4.bt2" file written during aborted indexing attempt.
Deleting "./refSeq/GRCh38_idx.fa.1.bt2" file written during aborted indexing attempt.
Deleting "./refSeq/GRCh38_idx.fa.2.bt2" file written during aborted indexing attempt.
and no file is generated. Same thing when using GRCh37. When opened with a text editor the first 100,001 lines are:
>CHR_HSCHR15_4_CTG8 dna:chromosome chromosome:GRCh38:CHR_HSCHR15_4_CTG8:1:102071387:1 HAP
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN (x100000)
Download the GRCh38 from UCSC: http://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.chromFa.tar.gz