Skip to content
Snippets Groups Projects
Commit 82caaca4 authored by David Trudgian's avatar David Trudgian
Browse files

Move glob back to web

parent 396c0c8d
Branches
No related merge requests found
......@@ -17,9 +17,8 @@ params.fastq = "$baseDir/../test_data/*.fastq"
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
// interface they will be passed as a comma-separated list. Therefore we use the
// { pattern1,pattern2 } glob syntax to pick all them up.
fastqs = Channel.fromPath( "{" + params.fastq+ ", }" )
// a glob pattern will be passed in
fastqs = Channel.fromPath( params.fastq )
// Now find the path to the BWA index directory
index_path = file(params.index).parent
// And get the name of the actual index inside that directory
......
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