I'm trying to align a genome for the first time ever.
I downloaded the hg38.fa reference genome (from here wget http://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.fa.gz) and unziped it.
When I try building the Genome index with star using this command:
./STAR/source/STAR --runMode genomeGenerate --runThreadN 24 --genomeDir ./GenomeIndex --genomeFastaFiles hg38.fa
I get the following error:
EXITING because of INPUT ERROR: could not open genomeFastaFile: hg38.fa
I tried downloading the hg38.fa files from other sources (like ENSEMBL) and I get the same error.
What am I doing wrong?