4c4c0b323e2b979d9b0b3dbe1b6fd66abd920584
max
  Sat Jul 25 19:35:32 2026 -0700
Add genark tool for managing GenArk assembly hubs

New subcommand-based utility in src/utils/genark:
- addContrib <name>: install a contributed track collection into the GenArk
assembly hubs (symlink the .bb/.bw data files and doc pages into each
assembly's contrib/<name>/ dir, write a per-assembly trackDb with hub-root
relative paths, and wire that block into the assembly's useOneFile hub.txt;
--remove uninstalls).
- checkContrib <name>: run hubCheck across the assemblies carrying the
collection and separate contrib-specific problems from the assemblies' own
pre-existing hub warnings.

refs #35415

diff --git src/utils/genark/makefile src/utils/genark/makefile
new file mode 100644
index 00000000000..b6f52181ca1
--- /dev/null
+++ src/utils/genark/makefile
@@ -0,0 +1,18 @@
+kentSrc = ../..
+include ../../inc/common.mk
+
+SCRIPT_FILES = genark
+
+all: ${SCRIPT_FILES:%=${SCRIPTS}/%}
+
+${SCRIPTS}/%: %
+	@${MKDIR} ${SCRIPTS}
+	chmod a+rx $<
+	rm -f $@
+	cp -pf $< $@
+
+test::
+	@echo "# no tests in src/utils/genark"
+
+clean::
+	@echo nothing to clean in src/utils/genark