   parent_node_NCBI_id = @root_node_NCBI_id, 
   parent_multitree_node_id = @root_multitree_node_id, 
   is_immediate_NCBI_child = FALSE, 
-  clade_includes_published_calibrations = TRUE;
+  clade_includes_published_calibrations = FALSE,
+  is_browsing_landmark = TRUE;
+
+
+-- add any "landmark" nodes listed in NCBI_browsing_landmarks
+INSERT INTO tmp_calibration_browsing_tree 
+  (node_NCBI_id, multitree_node_id, parent_node_NCBI_id, parent_multitree_node_id, is_immediate_NCBI_child, clade_includes_published_calibrations, is_browsing_landmark)
+SELECT 
+  taxonid, 
+  IFNULL((SELECT multitree_node_id FROM node_identity WHERE source_node_id = taxonid AND source_tree = 'NCBI'), taxonid), 
+  parenttaxonid, 
+  IFNULL((SELECT multitree_node_id FROM node_identity WHERE source_node_id = parenttaxonid AND source_tree = 'NCBI'), parenttaxonid), 
+  FALSE, 
+  FALSE,
+  TRUE
+FROM NCBI_nodes 
+  WHERE taxonid IN (SELECT node_NCBI_id FROM NCBI_browsing_landmarks);
+
 
 SET no_more_rows = FALSE;
 OPEN direct_relationship_cursor;


 */

/*
 * Add a second table with abbrieviated hierarchy of "interesting" NCBI taxa that will actually appear
 * in the browse UI. These are taxa that either
 *  - have at least one directly related calibration
 *  - OR have more than one sub-clade with calibrations inside
 */
DROP TABLE IF EXISTS calibration_browsing_tree;
CREATE TABLE calibration_browsing_tree (

  parent_multitree_node_id MEDIUMINT(8),

  is_immediate_NCBI_child TINYINT,  -- if false, it's in a descendant
  clade_includes_published_calibrations TINYINT,  -- if false and NOT a landmark, show this only to admins
  is_browsing_landmark TINYINT,  -- these taxa should ALWAYS appear in the browsing UI, even if empty

  KEY (parent_node_NCBI_id),
  KEY (parent_multitree_node_id)
