The easiest way to do the alignment quickly is to split fasta file for each chromosome and then do the alignment for each chromosome separately. But is this the right way to do so. Are we not bound to get reads which should have mapped to X chromosome but is mapping to Y chromosome?
thanks
Doing so will surely decrease your search space but it will lead to lot of false positive mapping. For example, a read may have its origin on mitochondria but it may align on chromosome 1 with few mismatches. As Sean Davis said splitting your read file or fastq file and mapping it against the whole genome is a much better option.
Just an aside, splitting the FASTA files by chromosomes could be quite counterproductive with an aligner that scales linearly in the number of reads but is not very sensitive to the size of the genome. If there are 24 chromosomes, for such an aligner, the split by chromosome approach could take quite a bit longer than not splitting.