Segmental-duplication tracks for the F1 hybrid catfish (fClaHyb_v1.0)
====================================================================

Two methods, both haplotypes, ready to load in IGV/JBrowse. All tracks use the
short bundle sequence names (C_gar_LG01..28, C_mac_LG01..27), so load them
against the bundle assemblies fClaHyb_Gar.fa and fClaHyb_Mac (the same FASTAs
the tracks were built from).

WHICH METHOD IS WHICH
  biser_SD_ge1kb/       BISER v1.4 on the SOFT-MASKED genome. These are the real
                        segmental duplications: paralogous duplications >=1 kb at
                        >=90% identity, with repeats/satellites filtered out
                        (<=70% satellite, <=50% gap). This is the set reported in
                        the manuscript (Table 4.6).
                          Gar: 10,591 pairs -> 3,780 merged regions, 15.44 Mb (1.60%)
                          Mac:  6,018 pairs -> 1,938 merged regions, 10.72 Mb (1.20%)

  minimap2_selfalign_all/  minimap2 v2.24 self-alignment (-cx asm5 -DP --dual=no) of
                        each UNMASKED haplotype against itself. This captures ALL
                        paralogy, INCLUDING transposons and other repeats, so it is
                        NOT a segmental-duplication set; it is a complementary
                        whole-genome self-alignment view. Numbers are therefore much
                        larger than BISER and should not be read as SD counts.
                          Gar: 955,100 self-aligned pairs -> 19,965 merged loci, 67.53 Mb
                          Mac: 309,479 self-aligned pairs ->  6,999 merged loci, 27.41 Mb

FILES (per haplotype H = Gar or Mac)
  *.merged.bed.gz (+ .tbi)   merged duplicated regions; load in IGV as a feature track
  *.pairs.bedpe              duplication pairs; load in IGV as an interaction track to
                             see arcs linking the two copies of each duplication.
                             Columns: chr1 start1 end1 chr2 start2 end2 name identity
                             strand1 strand2 type(intra/inter)
  fClaHyb_H.biser_SD.perchr.tsv   per-chromosome SD content (length, sd_bp, sd_pct, n_pairs)
  fClaHyb.biser_SD.summary.tsv / fClaHyb.minimap2_selfaln.summary.tsv   global summaries
  genome/fClaHyb_H.chrom.sizes    chromosome sizes (from the genome .fai)

USING IN IGV
  1. Genomes > Load Genome from File... > fClaHyb_Gar.fa  (or the Mac genome FASTA)
  2. File > Load from File... > fClaHyb_Gar.biser_SD.merged.bed.gz   (SD regions)
  3. File > Load from File... > fClaHyb_Gar.biser_SD.pairs.bedpe     (SD arcs)
     Right-click the BEDPE track > set as needed; arcs connect paralogous copies.
  For the minimap2 pairs (large), gunzip the .bedpe.gz first if you want the arcs.

scripts/   the BISER run scripts, the minimap2 self-alignment command,
           summarize_biser.py, the short<->long name maps, and make_igv_tracks.sh
           (the reformatting used to build these tracks; no analysis was re-run).
