I tried to create a separate genome for a single gene (<1 kb). The index is generated fine. However, when I run the alignment, STAR just hangs. It does not exit and there are no errors. The latest progress.out message is "Started 1st pass mapping". Do you know how to resolve this?
I have used STAR in the past to align to small genomes. When the genome gets small enough, the --genomeSAindexNbases parameter needs to be adjusted for genome generation. This does not seem to be the problem.
I then tried adding my separate genome FASTA and GTF file to a common size genome (mm10) as just an extra chromosome. That worked, so my reference files are okay. Why do they do not work on their own then?
I also tried merging them with just a single chromosome of mm10. That also worked, but the alignment took much longer. It seems like as the genome gets smaller or the alignment rate get worse, alignment takes longer. Is there a way to overcome that?