Skip to content

Commit

Permalink
improve R1/R2 detection in Makefile (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-t-k committed Oct 17, 2022
1 parent 1c361ca commit 87b040e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
# Generates expression, fusions, and variants folders in outputs

# Look for any files with 1 or 2 followed by any non-numeric till the end
R1 = $(shell find samples -iregex ".+1[^0-9]*$$" | head -1)
R2 = $(shell find samples -iregex ".+2[^0-9]*$$" | head -1)
# Alternatively, look for R1_001.fastq.gz and R2 -- most common format we use.
R1 = $(shell find samples -iregex ".+\(1[^0-9]*\|R1_001.fastq.gz\)$$" | head -1)
R2 = $(shell find samples -iregex ".+\(2[^0-9]*\|R2_001.fastq.gz\)$$" | head -1)

REF_BASE ?= "http://hgdownload.soe.ucsc.edu/treehouse/reference"

Expand Down

0 comments on commit 87b040e

Please sign in to comment.