diff --git a/src/bcbio/align/ref.clj b/src/bcbio/align/ref.clj index d397b39..0881f34 100644 --- a/src/bcbio/align/ref.clj +++ b/src/bcbio/align/ref.clj @@ -77,7 +77,7 @@ is-tab? (with-open [rdr (reader bed-file)] (.contains (first (drop-while #(.startsWith % "track") (line-seq rdr))) "\t"))] (fn [raw-line] - (when-not (.startsWith line "track") + (when-not (.startsWith raw-line "track") (let [line (string/trimr raw-line) parts (if is-tab? (string/split line #"\t")