We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5995c88 + aa86ef3 commit 0074225Copy full SHA for 0074225
subworkflows/local/input_check/main.nf
@@ -114,6 +114,13 @@ def create_channel_spaceranger(meta, fastq_dir) {
114
meta["id"] = meta.get("sample")
115
def slide = meta.get("slide")
116
def area = meta.get("area")
117
+
118
+ // Resolve symlinks for local filesystem paths only
119
+ def scheme = fastq_dir.toUri().getScheme()
120
+ if (scheme == null || scheme == 'file') {
121
+ fastq_dir = fastq_dir.toRealPath() // resolve symlink (if applicable)
122
+ }
123
124
def fastq_files = fastq_dir.listFiles().findAll { file ->
125
file.name.endsWith('.fastq.gz')
126
}
0 commit comments