Very work-in-progress, but I'm trying something ou...
# metro-maps
j
Very work-in-progress, but I'm trying something out... https://github.com/pinin4fjords/nf-metro
🧜🏻‍♀️ 1
🧜‍♂️ 1
🧜‍♀️ 2
m
IT IS AMAZING
@Louis Le Nézet have you seen that?
l
Yes I saw, it is really nice !
j
I'm just fixing a few things, it will be more useful soon!
m
I am happy to see you managed to keep the animation
a bit too many circles in my opinion, but it does look fancy
I'll make contributions, so that I can do my pipelines as well
j
PRs welcome! If folks like it and start using it I don't mind moving it into the nf-core org
m
I have a feeling, @Louis Le Nézet and I are going to be your first users
l
Yep, that might indeed be the case !
j
I'm being a merge cowboy while I fix the early bugs, but then I'll maybe make a v1 and we can have stable dev from there.
m
Please cowboy ahead
j
I also need to make something work to make the mermaid code from Nextflow, but the subjectivity in it makes it a bit challenging
l
This is indeed tricky. What I did at some point was to filter from the execution log all the full path process name and filter the subworkflow / process name from it. It gives a broad overwiew of the pipeline but it miss some connection.
j
m
j
Bloody hell, that was quick!
m
🤖
Might as well streamline the install 😄
Also, don’t want to screw up my conda env by installing through pip 🤣
m
Approved
j
just be aware there's still iteration ongoing 😄
m
bioconda bot should pick it up and take it from here 🤷🏻
j
yep
m
So how about adding a “template” mmd file to the pipeline template, so pipeline devs can amend as they build the pipeline 🤔
Perhaps even an auto-render github action?
j
Possibly jumping the gun, I feel like more folks should decide if it's useful before talking about the template...
m
I’m trying it out in one of our pipelines right now. If it works well I can see this gaining traction very fast
j
Awesome! It's only a couple of days' old as a project, so maybe we get to v1 where I nobble most of the teething issues. I'm going to put out a new version this morning with some compatibility with the default nextflow mmd
(though it sill won't be much use for complex nf-core structures)
If there's consensus, it should probably move into the nf-core org to make it easier to admin maintainers etc
m
j
Ouch, yes. Was that from my nextflow translation work on dev?
m
this was made with the latest version on conda, based on my own pipeline
manually coded and still very much looking into how everything works, but I like it up to now
j
If you file good issues with repro instructions for any problems you encounter we can sort them quickly 🙂
❤️ 1
Now works with (basic) Nextflow Mermaid: https://pinin4fjords.github.io/nf-metro/0.4.0/nextflow/
❤️ 4