Skip to content

Instantly share code, notes, and snippets.

View ewels's full-sized avatar

Phil Ewels ewels

View GitHub Profile
@ewels
ewels / bioconda_badges.html
Created August 24, 2016 19:59
Bioconda Poster Badges
<!DOCTYPE html>
<html lang="en">
<head>
<!--
BIOCONDA POSTER BADGE GENERATOR
Author: Phil Ewels <phil.ewels@scilifelab.se> (@ewels)
Date: August 2016
To add more templates, create in Adobe Illustrator.
@ewels
ewels / NF_logo.png
Created June 14, 2017 15:16
NextFlow Multipart HTML Emails
Save NextFlow logo as this file.
@ewels
ewels / trace2json.py
Created September 14, 2017 15:17
Convert Nextflow Trace text file to JSON format
#!/usr/bin/env python
# Convert Nextflow text file to JSON format
import json
headers = []
data = {'trace': []}
with open ('NGI-RNAseq_trace.txt') as fh:
for l in fh:
s = l.split("\t")
@ewels
ewels / command.sh
Last active March 19, 2023 16:15
Analyse @nf-core AWS s3 storage
aws s3 ls s3://nf-core-awsmegatests --recursive > files.txt
@ewels
ewels / streamyard_hotkeys.js
Created March 1, 2024 09:22
StreamYard UserScript to add missing hotkeys
// ==UserScript==
// @name StreamYard overlay/music hotkeys
// @namespace https://phil.ewels.co.uk/
// @version 2024-02-29
// @description Add missing hotkeys for StreamYard
// @author Phil Ewels
// @match https://streamyard.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=streamyard.com
// @grant none
// ==/UserScript==