As part of the nf-core hackathon, I’m putting toge...
# nextflow-plugins
u
As part of the nf-core hackathon, I’m putting together a Nextflow plugin for tracking provenance (called
nf-prov
). For an initial proof of concept, I’m starting with generating a simple list of published files. Later on, I plan on incorporating additional metadata to produce a richer JSON manifest (e.g. using information from the
meta.yml
file for each module). I’ve forked and adapted the
nf-quilt
plugin that @Ben Sherman and @p worked on. Unfortunately, I’m currently stuck. Briefly, I can see in the Nextflow log file that the plugin is being started, but as far as I can tell (using
log.warn()
, the observer methods aren’t being run. I’ve opened a draft PR in case someone has some time to spare for a review. For context, I’m a novice with Groovy, so it might be a really simple fix. Edit: ✅ This has been fixed. Shout out to Paolo!
u
🧵
p
Hi Bruno! extension classes should be added to the
extensions.idx
file
u
I believe I already have that, unless I messed up the format.
m
I see there's more info here 🙂
p
I did this
Copy code
echo "includeBuild '../nextflow'" >> settings.gradle 
./gradlew assemble
then
Copy code
./launch.sh run pditommaso/hello -plugins nf-prov
got
Copy code
Cannot invoke "java.util.Map.get(Object)" because "this.config" is null
which is actually a good news because it means it’s working
u
After adding a
nextflow.config
file, I got the expected output. Thanks!
Copy code
prov {
	file = 'file-manifest.txt'
}
✅ 1