This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3 ls s3://nf-core-awsmegatests --recursive > files.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Save NextFlow logo as this file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use CGI::Carp qw(fatalsToBrowser); # pipe errors to the browser instead of the terminal for debugging | |
use warnings; | |
use strict; | |
use Data::Dumper; | |
#print Dumper(\%args); | |
print "Content-type: text/plain\n\n"; | |
############################################################# | |
# Name: Cytobands - Coordinates: Online Version # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check bisulfite analysis results for any modes of failure that I can think of. | |
# Assumes data is processed by Cluster Flow / bismark and is in subdirectories. | |
# For a basic quick summary, just run: | |
# bash check_bismark_analysis.sh | |
# To filter which subdirectories are checked, pass a glob expression. For example: | |
# bash check_bismark_analysis.sh run2_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use warnings; | |
use strict; | |
############################################################# | |
# Name: Genome RE Sites # | |
# Author: Phil Ewels # | |
# Version 1.0 – 25/05/2011 # | |
# ————————————————————————————————————————————————————————— # | |
# Outputs a file with locations of restriction endonuclease # | |
# sites (not resulting fragments) # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/perl | |
use warnings; | |
use strict; | |
use Cwd; | |
use File::Find; | |
#### | |
# FIND UNCOMPRESSED FILES | |
# Prints the full path of any files larger than 50mb which are uncompressed | |
# One file path per newline, so output can be piped to other tools, eg: | |
# perl find_uncompressed_files.pl | xargs gzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="generator" content="pandoc" /> |
NewerOlder