We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1151b85 commit b6084d1Copy full SHA for b6084d1
1 file changed
workflows/vcftomaf/main.nf
@@ -45,13 +45,7 @@ workflow VCFTOMAF {
45
//
46
47
if (params.vep_cache) {
48
- ch_vep_cache = vep_cache.map { it ->
49
- def new_id = ""
50
- if (it) {
51
- new_id = it[0].simpleName.toString()
52
- }
53
- [[id: new_id], it]
54
+ ch_vep_cache = vep_cache.map { it -> [[id: it[0].simpleName.toString()], it] }
55
// UNTAR if available
56
vep_cache_unpacked = UNTAR(ch_vep_cache).untar.map { unpacked -> unpacked[1] }
57
ch_versions = ch_versions.mix(UNTAR.out.versions)
0 commit comments