Skip to content

Instantly share code, notes, and snippets.

View ATpoint's full-sized avatar

Alexander Bender ATpoint

  • Germany
  • 10:36 (UTC +01:00)
View GitHub Profile
@lindenb
lindenb / README.md
Last active February 15, 2023 21:21
Biostar Images vs text carbon planet climate

Don't upload images when you can just copy and paste the text.

The following PNG image has a weight of 357,000 bytes

https://www.biostars.org/media/images/8be0316c-0f5a-4e5b-a769-1e4d0afb

while the text containing the very same information is about only 1,109 bytes, hence a much lower carbon footprint.

##sequence-region JAFJXZ010000052.1 1 250
@danilotat
danilotat / query_ensembl.py
Last active February 26, 2024 15:26
Fully remote, it downloads GTF annotation file from Ensembl FTP repo for the provided organism and version, than return .tsv file with gene_id and hgnc_symbol.
#!/usr/bin/python3
import sys
import os
import tempfile
import gzip
import argparse
from ftplib import FTP
@nanusdad
nanusdad / git_new_local_branch.md
Last active June 16, 2024 06:56
Git - create new local branch push to GitHub
@nathanhaigh
nathanhaigh / deinterleave_fastq.sh
Last active May 6, 2024 06:38
deinterleave FASTQ files
#!/bin/bash
# Usage: deinterleave_fastq.sh < interleaved.fastq f.fastq r.fastq [compress]
#
# Deinterleaves a FASTQ file of paired reads into two FASTQ
# files specified on the command line. Optionally GZip compresses the output
# FASTQ files using pigz if the 3rd command line argument is the word "compress"
#
# Can deinterleave 100 million paired reads (200 million total
# reads; a 43Gbyte file), in memory (/dev/shm), in 4m15s (255s)
#