                 :refs      (pams/get-params :refdir)
                 :index     (fs/join (pams/get-params :refdir) "Index")
                 :bt1index  (fs/join (pams/get-params :refdir) "BT1Index")
+                :starindex (fs/join (pams/get-params :refdir) "STARindex")
                 :samples   (fs/join base "Samples")
                 :collapsed (fs/join base "Samples/Collapsed")
                 :out       (fs/join base "Out")
                 :bams      (fs/join base "Out/Bams")
+                :star      (fs/join base "Out/STAR")
                 :fcnts     (fs/join base "Out/Fcnts")
                 :maps      (fs/join base "Out/Maps")
                 :fit       (fs/join base "Out/Fitness")

  (let [exp (get-exp-info eid :exp)]
    (cond
      (#{"phase-0" "phase-0b" "phase-0c" "phase-0d"
         "phase-1" "bt2-phase-1" "bt1-phase-1"
         "phase-2" "phase-2b"
         "phase-2-rnaseq" "phase-2-termseq"
         "phase-2-5NTap" "phase-2-5PTap"} action)

        bt (if (-> template (get-in [:nodes :ph1 :name])
                   (cljstr/includes? "bowtie1"))
             :bt1 :bt2)
        star (-> template (get-in [:nodes :ph1 :name])
                 (cljstr/includes? "star"))
        sample-names (get-exp-info eid :sample-names)
        sample-names (if repk
                       (mapcat #((get-exp-info eid :replicate-names) %)
