Tabix is a program that is necessary to be able to index the bed file for upload and display in Jbrowse. Once this program is installed, the process is fairly easy.
- Sort your bed file by scaffold name and position. Typically this works like "sort -k1,1V -k2,2n bedfile.bed >sorted_bedfile.bed"
- Zip your file with bgzip. As simple as "bgzip sorted_bedfile.bed"
- Index your zipped file with tabix. "tabix -p bed sorted_bedfile.bed.gz"
- Select the correct "Genome" for your use in the top left.
- Select "Tracks" in the top left
- Under "Local files", click "Select Files" to get your local bam file and index.
- Once your files are selected, click "Open" and it should display.
Be aware that your scaffold names must match the JBrowse scaffold names in every respect (capitalization, underscores, numbering, etc). If you have a fourth column in your bed file, the JBrowse display may be finicky. Your bed file output will look similar to the "Ribosomal Genes" and "Tandem Repeats Finder" tracks below.