Bifunctional nanotube scaffolds for diverse ligands are purified simply from Escherichia coli strains coexpressing two functionalized flagellar genes.