Skip to content

Instantly share code, notes, and snippets.

View andrebolerbarros's full-sized avatar

André Barros andrebolerbarros

View GitHub Profile
theme_set(theme_bw()+
theme(strip.background=element_rect(fill="black"),
strip.text = element_text(color="white",size=12),
plot.title = element_text(size=16,hjust=0.5,face="bold"),
plot.subtitle = element_text(size=12,hjust=0.5,face="italic")))
@andrebolerbarros
andrebolerbarros / fastq_machine_run.sh
Created November 13, 2024 15:46
Machine ID & Run ID from fastqs
#!/bin/bash
# Function to display usage
usage() {
echo "Usage: $0 -d <path_to_fastq_folder> -t <file_terminus>"
exit 1
}
# Parse command-line arguments
while getopts "d:t:" opt; do