Skip to content

Instantly share code, notes, and snippets.

View BrunoGrandePhD's full-sized avatar

Bruno Grande BrunoGrandePhD

View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 7 columns, instead of 6 in line 4.
patient,gender,status,sample,lane,fastq_1,fastq_2
S000,XX,0,S000-1234N,S000-1234N_M1,https://raw.githubusercontent.com/nf-core/test-datasets/sarek/testdata/manta/normal/C097F_N_111207.1.AGTTGCTT_R1_xxx.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/sarek/testdata/manta/normal/C097F_N_111207.1.AGTTGCTT_R2_xxx.fastq.gz
S001,XX,0,S001-1234N,S001-1234N_M2,https://raw.githubusercontent.com/nf-core/test-datasets/sarek/testdata/manta/normal/C097F_N_111207.2.AGTTGCTT_R1_xxx.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/sarek/testdata/manta/normal/C097F_N_111207.2.AGTTGCTT_R2_xxx.fastq.gz
S002,XX,0,S002-1234N,S002-1234N_M4,https://raw.githubusercontent.com/nf-core/test-datasets/sarek/testdata/manta/normal/C09DF_N_111207.4.AGTTGCTT_R1_xxx.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/sarek/testdata/manta/normal/C09DF_N_111207.4.AGTTGCTT_R2_xxx.fastq.gz
S003,XX,0,S003-1234N,S003-1234N_M5,https://raw.githubusercontent.com/nf-core/test-datasets/sarek/testdata/manta/n
name: docker-ci
on:
push:
branches: [main]
tags: ['v[0-9]*', '[0-9]+.[0-9]+*'] # Match tags that resemble a version
workflow_dispatch: # Allow manually triggering the workflow
jobs:
docker-build:
@BrunoGrandePhD
BrunoGrandePhD / setup-ssh-via-ssm.sh
Created July 25, 2023 02:49
A shell script for setting up an EC2 instance with SSH keys via AWS Session Manager
#!/bin/bash
#
# This script uploads your public SSH key ('id_ed25519' by default)
# to the home directories of 'ec2-user' and 'ssm-user'. While both
# users are configured, it's recommended to use 'ec2-user' for SSH.
# Written by Bruno Grande.
#
# Script usage:
#