Skip to content

Instantly share code, notes, and snippets.

View kapsakcj's full-sized avatar
🏠
Working from home

Curtis Kapsak kapsakcj

🏠
Working from home
View GitHub Profile
@kapsakcj
kapsakcj / gist:58fc633468e1d39a0ca51ee24ce464d5
Created September 21, 2023 16:21
translate-PNUSA-to-SRR.txt
# jotting down so I don't forget this one!
# originally shared from Erin Young
# requires NCBI e-utils commands
esearch -db sra -query $PNUSA </dev/null | efetch -format docsum | xtract -pattern Runs -element Run@acc
#!/bin/bash
# by: Curtis Kapsak ([email protected])
# 2021-07-30; updated 2022-03-03
#
# This script is for concatenating fastq.gz files that from a Nanopore sequencing run,
# specifically with barcoded/multiplexed sequencing runs. It will not overwrite the original fastq files, but rather
# concatenate fastqs for each barcoded sample, and write them to a single output directory.
#
# REQUIREMENTS:
# This script requires that fastq.gz files are arranged in the normal output/directory
@kapsakcj
kapsakcj / bingo.R
Last active January 22, 2021 03:36
soil = c("Collembola", "Earthworms", "Myriapoda",
"Termites", "Ants", "Isopods", "Psuedoscorpion",
"Oribatid mites", "Protura", "Enchytraeids", "Nematodes",
"Tardigrades", "Arbuscular mycorrhiza","Ectomycorrhiza",
"Fungi", "Nitrifiers", "Denitrifiers", "Archaea", "Bacteria",
"Protists", "Proteobacteria", "Lichen","Enchytraeides", "Coleoptera",
"Slugs", "Spiders", "Ascomycota", "Basidiomycota", "Algae","Bacteriodes",
"Verrucomicrobia") # Generate names
# install.packages("devtools")
@kapsakcj
kapsakcj / Dockerfile-lyveset-2.0.1-ubuntu-bionic
Created April 8, 2019 18:12
Dockerfile for installing lyveset-2.0.1 in a container with ubuntu-bioinic as base image
#Use ubuntu as base image
FROM ubuntu:bionic
# metadata
LABEL base.image="ubuntu:bionic"
LABEL version="1"
LABEL software="Lyve-SET"
LABEL software.version="2.0.1"
LABEL description="LYVE-SET, a method of using hqSNPs to create a phylogeny, especially for outbreak investigations"
LABEL website="https://github.com/lskatz/lyve-SET"
@kapsakcj
kapsakcj / .block
Last active July 21, 2016 19:02
(Almost) 'Mericuh flag - SVG
license: gpl-3.0
@kapsakcj
kapsakcj / .block
Created July 21, 2016 18:57
(Almost) 'Mericuh flag - SVG
license: gpl-3.0
@kapsakcj
kapsakcj / .block
Last active July 21, 2016 18:57
'Mericuh flag - SVG
license: gpl-3.0