Commit 396c0c8d authored by David Trudgian's avatar David Trudgian
Browse files

Pad glob with space so works for single file

parent e054b010
......@@ -19,7 +19,7 @@ params.index = "/project/apps_database/iGenomes/Homo_sapiens/UCSC/hg19/Sequence/
// 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+ ",}" )
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
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