Commit 82caaca4 authored by David Trudgian's avatar David Trudgian
Browse files

Move glob back to web

parent 396c0c8d
...@@ -17,9 +17,8 @@ params.fastq = "$baseDir/../test_data/*.fastq" ...@@ -17,9 +17,8 @@ params.fastq = "$baseDir/../test_data/*.fastq"
params.index = "/project/apps_database/iGenomes/Homo_sapiens/UCSC/hg19/Sequence/BWAIndex/genome.fa" params.index = "/project/apps_database/iGenomes/Homo_sapiens/UCSC/hg19/Sequence/BWAIndex/genome.fa"
// First, get the list of fastqs. When multiple files are selected on the web // First, get the list of fastqs. When multiple files are selected on the web
// interface they will be passed as a comma-separated list. Therefore we use the // a glob pattern will be passed in
// { pattern1,pattern2 } glob syntax to pick all them up. fastqs = Channel.fromPath( params.fastq )
fastqs = Channel.fromPath( "{" + params.fastq+ ", }" )
// Now find the path to the BWA index directory // Now find the path to the BWA index directory
index_path = file(params.index).parent index_path = file(params.index).parent
// And get the name of the actual index inside that directory // And get the name of the actual index inside that directory
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment