Indexes the FASTA file, and generates a ‘chrom.sizes’ file with chromosome numbers and the size of each chromosome.
index_fa(fa_file, chromsize_file = "chrom.sizes", outdir = dirname(fa_file))
FASTA file of reference genome sequence.
Path of the output ‘chrom.sizes’ file.
Output directory (default: saves to the directory of the FASTA file).
if (FALSE) {
index_fa('hg38.fa', chromsize_file='hg38.chrom.sizes')
}