norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.4K
active users

#snakemake

0 posts0 participants0 posts today
Christian Meesters<p>Last year at the Open Science Retreat (<a href="https://fediscience.org/tags/OSR24NL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OSR24NL</span></a>) I have been introduced to nanopubs by <span class="h-card" translate="no"><a href="https://social.edu.nl/@egonw" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>egonw</span></a></span> and created my first nanopub declaring citations for a paper using CiTOs (citation ontologies).</p><p>Now, travelling to <a href="https://fediscience.org/tags/OSR25CH" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OSR25CH</span></a>, due to issues with the train network foreseen with plenty of time, I used the opportunity and created a new one ( <a href="https://w3id.org/np/RAicq7k9QHX8EG8ho7Baib9GxHsU18O0tyFCZ4tbbGGPA" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">w3id.org/np/RAicq7k9QHX8EG8ho7</span><span class="invisible">Baib9GxHsU18O0tyFCZ4tbbGGPA</span></a> ) for my latest publication on teaching <a href="https://fediscience.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> on <a href="https://fediscience.org/tags/HPC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HPC</span></a> systems.</p><p>The teaching material is — again — in desperate need of additions and overhaul, but that is for another day.</p><p><a href="https://fediscience.org/tags/OpenScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenScience</span></a> <a href="https://fediscience.org/tags/ReproducibleResearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ReproducibleResearch</span></a> <a href="https://fediscience.org/tags/ReproducibleResearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ReproducibleResearch</span></a> <a href="https://fediscience.org/tags/AcademicChatter" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AcademicChatter</span></a></p>
Johannes Köster<p>This feels pretty huge! The <a href="https://fosstodon.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> docs now have an LLM powered chatbot (provided for free by <br><span class="h-card" translate="no"><a href="https://mastodon.social/@gurubaseio" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>gurubaseio</span></a></span>). It can be seen as a replacement for the normal doc search. This can help a lot, in particular when you are unsure about the keywords to use for a doc search.</p>
Johannes Köster<p>There have been several new <a href="https://fosstodon.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> releases in the last days. Apart from various fixes, the most important new feature is the ability to annotate input file access patterns. This enables storage backends tailor their provisioning mechanism for each file: <a href="https://snakemake.readthedocs.io/en/stable/snakefiles/storage.html#access-pattern-annotation" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">snakemake.readthedocs.io/en/st</span><span class="invisible">able/snakefiles/storage.html#access-pattern-annotation</span></a></p>
Pierre Lindenbaum<p>does "snakemake --config config=in.yml -n --export-cwl "out.cwl works ? I don't have any ouput ( snakemake 9.1.3)</p><p><a href="https://genomic.social/tags/snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>snakemake</span></a> <a href="https://genomic.social/tags/cwl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cwl</span></a> <a href="https://genomic.social/tags/workflow" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>workflow</span></a></p>
Yann Büchau :nixos:<p>&gt; Removing output files of failed job product2animation since they might be corrupted</p><p>😠😠😠</p><p>Thanks for nothing <a href="https://fosstodon.org/tags/SnakeMake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SnakeMake</span></a> for deleting a very precious output file, resulting from an hours/days-long process because it *might* 🪩 be corrupted 🤦</p><p>I though we were past this nonsense of build-systems deleting files at will, especially with a science-focused project such as snakemake!?</p>
Yann Büchau :nixos:<p>Ugh, <a href="https://fosstodon.org/tags/SnakeMake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SnakeMake</span></a> apparently has a hard requirement of all input (and previously-made output-) files to be present on-disk. Can't even do a dry-run `snakemake -n`. 😩</p><p><a href="https://fosstodon.org/tags/rdm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rdm</span></a> <a href="https://fosstodon.org/tags/reproducibleresearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>reproducibleresearch</span></a></p>
Yann Büchau :nixos:<p>I want a build system that:</p><p>- is as powerful and flexible as <a href="https://fosstodon.org/tags/SCons" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SCons</span></a><br>- as readable and concise as <a href="https://fosstodon.org/tags/SnakeMake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SnakeMake</span></a> <br>- has a fricking progress bar+ETA<br>- is :datalad: <a href="https://fosstodon.org/tags/datalad" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>datalad</span></a> / :gitannex: <a href="https://fosstodon.org/tags/gitannex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gitannex</span></a> agnostic (knows that files can be fetched from elsewhere<br>- remembers how long building things takes<br>- balances that to decide if rebuilding locally instead of fetching gigabytes via slow internet is favorable<br>- integrates well with :nixos: <a href="https://fosstodon.org/tags/nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nix</span></a> for reproducibility</p><p><a href="https://fosstodon.org/tags/rdm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rdm</span></a> <a href="https://fosstodon.org/tags/dataAnalysis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataAnalysis</span></a></p>
Yann Büchau :nixos:<p><a href="https://fosstodon.org/tags/SnakeMake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SnakeMake</span></a> has some nasty caching going on, where it sometimes reuses old versions of code you have long overwritten. Removing the .snakemake/ folder solves it. Also this behavior that if there's an error in your notebook, Snakemake will just *not* save the processed notebook so you can't actually have a look at the error.<br>Makes it kinda annoying to debug.</p>
Yann Büchau :nixos:<p>It is beyond me why build systems like <a href="https://fosstodon.org/tags/make" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>make</span></a> <a href="https://fosstodon.org/tags/scons" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scons</span></a> <a href="https://fosstodon.org/tags/snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>snakemake</span></a> et al. all don't have a flag like `--pattern '*2022-*'` that will make only those files it knows how to make matching a given pattern.</p><p>(using shell brace expansion and/or globbing is risky and doesn't work fully if not all the files exist yet)</p>
Christian Meesters<p>Today is the day of closed pull request for <a href="https://fediscience.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a>. The <a href="https://fediscience.org/tags/SnakemakeHackathon2025" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SnakemakeHackathon2025</span></a> participants worked at full speed!</p><p>We decided to write a white-paper summarizing our achievements rather than posting individual things. Suffice to say, that also the documentation made a great leap towards better readability!</p><p><a href="https://fediscience.org/tags/OpenScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenScience</span></a> <a href="https://fediscience.org/tags/ReproducibleComputing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ReproducibleComputing</span></a> <a href="https://fediscience.org/tags/ReproducibleResearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ReproducibleResearch</span></a></p>
Johannes Köster<p>The second day of the <a href="https://fosstodon.org/tags/SnakemakeHackathon2025" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SnakemakeHackathon2025</span></a> is over. Today I have merged 11 fantastic pull requests in the in main snakemake repo alone. And we have our first <a href="https://fosstodon.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> release during the hackathon, adding integration with xonsh for scripting and helpers for extracting params from input files.</p>
Johannes Köster<p><a href="https://fosstodon.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> has an update best practices guide: <a href="https://snakemake.readthedocs.io/en/stable/snakefiles/best_practices.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">snakemake.readthedocs.io/en/st</span><span class="invisible">able/snakefiles/best_practices.html</span></a></p>
Johannes Köster<p><a href="https://fosstodon.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> 8.29 has been released. It provides various improvements to the integrated reporting, as well as many small bug fixes: <a href="https://snakemake.readthedocs.io/en/stable/project_info/history.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">snakemake.readthedocs.io/en/st</span><span class="invisible">able/project_info/history.html</span></a></p>
Christian Meesters<p>There are many HPC admins who prohibit using considerable CPU time on login nodes. This is understandable.</p><p>I want to take this opportunity to provide a data point. My student has measured the accumulated CPU time (user + system) for a 9 h (precise: 33343 s) run of a Snakemake workflow. It was 225 s or about 0.67 % - including jobs which were carried out on this login node, e.g. `mv`, `ln` or download of data.</p><p>There is certainly room for improvements. There will ever be room for improvements.</p><p>But my dear fellow admins: Running Snakemake on login nodes as a shepherd of jobs, will impair nobodies work.</p><p>Over time, I will certainly gather more and different statistics. And will invest time in necessary improvements. Regarding CPU time for checking job status, however, I believe to have demonstrated, that this is a pretty high hanging fruit.</p><p><a href="https://fediscience.org/tags/HPC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HPC</span></a> <a href="https://fediscience.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> <a href="https://fediscience.org/tags/reproduciblecomputing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>reproduciblecomputing</span></a></p>
Christian Meesters<p>Tomorrow? Trip to Dresden. Towards a course, I give about reproducible computing with <a href="https://fediscience.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> on <a href="https://fediscience.org/tags/HPC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HPC</span></a> clusters.</p><p>I will take a few <a href="https://fediscience.org/tags/FediScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FediScience</span></a> flyers with me. Just in case someone is interested in <a href="https://fediscience.org/tags/OpenScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenScience</span></a> communication, here on <a href="https://fediscience.org/tags/Mastodon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mastodon</span></a>. 😉 </p><p><a href="https://fediscience.org/tags/Wisskomm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Wisskomm</span></a> <a href="https://fediscience.org/tags/sciencecommunication" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sciencecommunication</span></a></p>
Peter Cock<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@johanneskoester" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>johanneskoester</span></a></span> Random <a href="https://fediscience.org/tags/snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>snakemake</span></a> question for you - should with work with SLURM where the default shell is Dash not Bash?</p><p>I have some code and workflows which works on SLURM cluster A where /bin/sh is an alias for bash, but fail on SLURM cluster B where /bin/sh is an alias for dash:</p><p>WorkflowError:<br>SLURM sbatch failed. The error message was /bin/sh: 1: Syntax error: "(" unexpected</p><p>I don't have any brackets in my workflows, but there are some in the data files…</p>
Christian Meesters<p>Yesterday, I learned that we have only 16 - in letters: sixteen(!) - people attending my course in Dresden, so far.</p><p>So, if you are interested in creating sustainable data analysis workflows using <a href="https://fediscience.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> on <a href="https://fediscience.org/tags/HPC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HPC</span></a> systems, this course might be something for you:</p><p>On the 26th and 27th, I will be teaching a 2-day course in <a href="https://fediscience.org/tags/Saxony" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Saxony</span></a>, <a href="https://fediscience.org/tags/Dresden" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dresden</span></a>. See <a href="https://tu-dresden.de/zih/hochleistungsrechnen/nhr-training/bd-hpda/snakemake" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">tu-dresden.de/zih/hochleistung</span><span class="invisible">srechnen/nhr-training/bd-hpda/snakemake</span></a> for details and registration.</p><p><a href="https://fediscience.org/tags/RSE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RSE</span></a> <a href="https://fediscience.org/tags/ReproducibleResearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ReproducibleResearch</span></a> <a href="https://fediscience.org/tags/OpenScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenScience</span></a></p>
Christian Meesters<p>When reading this call (<a href="https://mast.hpc.social/@sneuwirth/113945330638974358" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mast.hpc.social/@sneuwirth/113</span><span class="invisible">945330638974358</span></a>) from <span class="h-card" translate="no"><a href="https://mast.hpc.social/@sneuwirth" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>sneuwirth</span></a></span> I think, I could tell a number of tales from my experience with developing the <a href="https://fediscience.org/tags/Slurm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Slurm</span></a> plugin for <a href="https://fediscience.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> (and other software over the years).</p><p>Particularly, issue reports telling what peculiarities fellow admins thought of (e.g. "we are not allowed to do this" and "we not that". "We have this setting" and "we that".) To develop <a href="https://fediscience.org/tags/HPC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HPC</span></a> software is a challenge in its own right. To support workflow software seems to develop into a nice challenge.</p><p>Could certainly deliver a funny few minutes. 😉 Perhaps I should collect anecdotes and write an article sometime? 🤔</p>
Johannes Köster<p>The <a href="https://fosstodon.org/tags/snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>snakemake</span></a> workflow catalog has since recently &gt;300 registered workflows with standardized and unified usage instructions . Furthermore, Michael Jahn from Emmanuelle Charpentier's lab is now the new maintainer of the catalog: <a href="https://snakemake.github.io/snakemake-workflow-catalog" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">snakemake.github.io/snakemake-</span><span class="invisible">workflow-catalog</span></a></p>
Christian Meesters<p>Again, we have a new patch-level release of the <a href="https://fediscience.org/tags/Snakemake" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Snakemake</span></a> executor for <a href="https://fediscience.org/tags/SLURM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SLURM</span></a> on <a href="https://fediscience.org/tags/HPC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HPC</span></a> systems.</p><p>Turned out, that some clusters do not allow account checking with `sacctmgr` (which was there for historic reasons), hence, we now have a fall-back to `sshare`. </p><p>See <a href="https://github.com/snakemake/snakemake-executor-plugin-slurm/releases/tag/v0.12.1" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/snakemake/snakemake</span><span class="invisible">-executor-plugin-slurm/releases/tag/v0.12.1</span></a> for details.</p><p><a href="https://fediscience.org/tags/OpenScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenScience</span></a> <a href="https://fediscience.org/tags/ReproducibleResearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ReproducibleResearch</span></a> <a href="https://fediscience.org/tags/ReproducibleComputing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ReproducibleComputing</span></a></p>