class MiGA::Cli::Action::TaxTest

def perform

def perform
  d = cli.load_dataset
  cli.say 'Finding closest relative'
  cr = d.closest_relatives(1, cli[:ref_project])
  if cr.nil? or cr.empty?
    raise 'Action not supported for the project or dataset' if cr.nil?
    raise 'No close relatives found'
  else
    query_probability_distributions(d, cr[0])
  end
end