Skip to content

Instantly share code, notes, and snippets.

View TransGirlCodes's full-sized avatar
💭
*maniacal cackling*

TRΛNS-GIRL.C0DΞS TransGirlCodes

💭
*maniacal cackling*
View GitHub Profile
@TransGirlCodes
TransGirlCodes / tester_script.R
Created August 13, 2023 17:30
Testing use of validate_if inside of a box
box::use(./validate_if_box[...], data.table[...], data.validator[...])
test_tbl <- data.table(a = 1:5, b = 6:10)
test_schema <- data.table(name = c("a", "b"), class = c("numeric", "numeric"))
validate_columns_exist(validate(test_tbl), test_schema)

Keybase proof

I hereby claim:

  • I am transgirlcodes on github.
  • I am transgirlcodes (https://keybase.io/transgirlcodes) on keybase.
  • I have a public key ASCZD-CEOGt6bkjrs7kC-rIIO1DzwzFCZWZwf9GWiM0bvwo

To claim this, I am signing this object:

@TransGirlCodes
TransGirlCodes / main.nf
Last active May 16, 2022 17:43
Slurm executor problem
#!/us/bin/env nextflow
// Configuration & parameters
nextflow.enable.dsl = 2
// Processes
// ---------
process pullHifiReads {
input:
path tarball
@TransGirlCodes
TransGirlCodes / benchmarking_canonical.jl
Created April 25, 2022 14:16
Benchmarking canonical function for NTuple based Kmers
### A Pluto.jl notebook ###
# v0.17.7
using Markdown
using InteractiveUtils
# ╔═╡ 47e088e3-00ae-46b2-b0ba-325e52156381
import Pkg; Pkg.activate("/Users/bward/repos/github/BioJulia/Kmers.jl")
# ╔═╡ ead5355a-0262-4617-8551-d6b1d21c62bc
@TransGirlCodes
TransGirlCodes / benchmarking_canonical.jl
Created January 22, 2022 18:06
Benchmarking Canonical for Kmers
### A Pluto.jl notebook ###
# v0.17.7
using Markdown
using InteractiveUtils
# ╔═╡ 47e088e3-00ae-46b2-b0ba-325e52156381
import Pkg; Pkg.activate("/Users/bward/repos/github/BioJulia/Kmers.jl")
# ╔═╡ ead5355a-0262-4617-8551-d6b1d21c62bc

Keybase proof

I hereby claim:

  • I am SabrinaJaye on github.
  • I am sabrinajaye (https://keybase.io/sabrinajaye) on keybase.
  • I have a public key whose fingerprint is 1B61 8245 FD24 5F98 36B9 C8CD 328B 9904 045A 2D7E

To claim this, I am signing this object:

@TransGirlCodes
TransGirlCodes / kmer_experiment.jl
Last active May 30, 2020 15:30
Benchmarking a 128 primitive type kmer vs an NTuple based kmer
using BioSequences, BenchmarkTools
# In BioSequences.jl kmers are called Mer, not Kmer so there is no name clash.
struct Kmer{A<:NucleicAcidAlphabet{2},K,N}
data::NTuple{N,UInt64}
end
const DNAKmer{K,N} = Kmer{DNAAlphabet{2},K,N}
###

Keybase proof

I hereby claim:

  • I am BenJWard on github.
  • I am benjward (https://keybase.io/benjward) on keybase.
  • I have a public key whose fingerprint is 612E 4FB8 FF0A 78DB 5917 A2A8 ACF2 1E71 286A CAFB

To claim this, I am signing this object:

@TransGirlCodes
TransGirlCodes / make-REQUIRE.jl
Created December 11, 2018 00:15 — forked from tpapp/make-REQUIRE.jl
make-REQUIRE.jl
#!/usr/bin/env julia
######################################################################
# Overwrite REQUIRE using dependency information from Project.toml.
#
# Call from the root of the package repository.
#
# Has some basic sanity checks, but **use at your own risk**, `REQUIRE`
# will be overwritten.
#
# The purpose of this script is to appease attobot, until
@TransGirlCodes
TransGirlCodes / deferred-bench.jl
Created March 25, 2017 14:01
Compare old Automa parsers with Deferred parsing Automa parsers.
function scan(T, filename)
reader = open(T, filename)
record = eltype(reader)()
n = 0
try
while true
read!(reader, record)
n += 1
end
catch ex