Skip to content

Instantly share code, notes, and snippets.

@jelber2
Created August 10, 2022 10:34
Show Gist options
  • Save jelber2/e865d03ec3d27e09f61bb961305a1ead to your computer and use it in GitHub Desktop.
Save jelber2/e865d03ec3d27e09f61bb961305a1ead to your computer and use it in GitHub Desktop.

Adapter trimming with BBDuk 38.82

module load bbtools/38.82
module load bcftools/1.14
bbduk.sh threads=8 \
in1=raw/170283.mate1.fastq.gz \
in2=raw/170283.mate2.fastq.gz \
out1=fastq/170283-trimmed.mate1.fastq.gz \
out2=fastq/170283-trimmed.mate2.fastq.gz \
ref=auxData/bbduk-fasta.fa \
ktrim=r k=23 mink=11 hdist=1 tpe tbo qtrim=rl trimq=15 \
> logs/bbduk/170283.log 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment