These are chat archives for nextflow-io/nextflow
flatMapstands for an association
-resumeto re-use this map
There is flatten which is more akin to the function
foo bla = [:]and I fill it with some (random) data. When I
-resumemy pipeline, it would seems the map is not kept between runs leading to re-filling the map with other (random) data. I would like to be able to say "keep this structure in the cache" if that makes sense
[a, [x, y]]do I get 1.
[a, x, y]or 2.
[[a, x], [a, y]]? 1. implies
flatten, while 2. suggests
[a, [x, y]]
[a, x, [1,2]]
[a, y, [1,2]]
[a, [x, y], 1]
[a, [x, y], 2]
Here's what the top of each of my pipelines looks like:
@GrabResolver(name='sgi_releases', root='http://internal_url/nexus/content/repositories/releases/') @Grab(group='com.syntheticgenomics.compbio', module='groovy_nextflow_utilities', version='0.3.14') // These already exist in the nextflow execution context, // so importing them again causes problems. @GrabExclude('org.codehaus.groovy:groovy-all') @GrabExclude('io.nextflow:nextflow') import com.syntheticgenomics.compbio.nextflow.Utils
I've got a small number of utility functions in
com.syntheticgenomics.compbio.nextflow.Utils. That project is just a normal java/groovy project that gets jarred up.
libfolder and it does the same
-resumewhich is not what I want
@pditommaso is it safe to
import com.google.common.hash.Hashing import com.google.common.base.Charsets
at the top of my
.nf file? Is there any better/other ways?
Version: 0.26.0-beta3 build 4591 Modified: 10-10-2017 20:23 UTC (22:23 CEST)