Skip to content

Instantly share code, notes, and snippets.

View SamStudio8's full-sized avatar

Sam Nicholls SamStudio8

View GitHub Profile
@SamStudio8
SamStudio8 / .gitlab-ci.nojob.yaml
Last active June 21, 2022 13:18
job with variable profiles
# Nicer syntax but leads to ugly job names,
# and doesn't work when variables strings are long
# See https://gitlab.com/gitlab-org/gitlab/-/issues/362262
my-job:
extends: base-job
parallel:
matrix:
- OWLS: 1
CATS: 0
- OWLS: 0
@SamStudio8
SamStudio8 / subset_xam
Last active October 25, 2023 16:15
Safely subset a BAM or CRAM with samtools+picard
#!/usr/bin/env bash
# Name subset_xam
# Description Safely subset a BAM (or CRAM) with samtools+picard
# Author @samstudio8
# Date 2022-11-01
# Version 1.0.3
PICARD_JAR=${PICARD_JAR:-}
xam=$1
ref=$2
seq=$3
@SamStudio8
SamStudio8 / template.j2
Created September 17, 2023 19:52
Samposium v1 index
---
title: "Samposium v1"
url: "/v1/"
layout: "old_archive"
---
This listing enumerates the posts from the previous iteration of Samposium.
Posts range between long rambling posts about my PhD that I never expected anyone to read, and things that I did to distract myself from finishing my PhD that I hoped people would read.
Each link will take you to a static snapshot of the decommissioned Wordpress post.