Hi,
I have a very fragmented reference genome https://www.g3journal.org/content/9/7/2039 samtool generate a huge fai index file of 1.35gb, which is way too big to load into Jbrowse2.
How can i "simplify" the fasta or the fai file? what tools could i use?
You could try scaffolding if it has a close relative with a more contiguous assembly. Would help reduce the number of contigs
The index file is 1.35G? That seems really odd. What was the exact command you used to generate the index?
the problem is the genome is very fragemented:
those are the quast results:
From Istvan's reply and yours, it looks like you're doing things right. Like he says, a graphical tool might not work best for your requirement. See if you can either work with a different tool or tweak your requirement.
il try to remove contigs with less than 1000bp and see how it goes
That's still a million contigs. Genome Browsers are built to deal with contigs that number in the 10s (<50) typically. I hope this subset works out for you.