From 58dfd7533d6e6ebc76c793e3d9add84256350504 Mon Sep 17 00:00:00 2001 From: chapmanb Date: Thu, 15 Jan 2015 11:01:25 -0500 Subject: [PATCH] Fix typo of previous commit for trimming BED file whitespace --- src/bcbio/align/ref.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")