code: def get_qseq_dir(fc_dir):
      
      machine_bc = os.path.join(fc_dir, "Data", "Intensities", "BaseCalls")
      if os.path.exists(machine_bc):
          return machine_bc
      # otherwise assume we are in the qseq directory
      # XXX What other cases can we end up with here?
      else:
          return fc_dir
docs: Retrieve the qseq directory within Solexa flowcell output.