Skip to content

Instantly share code, notes, and snippets.

@twaddlac
Created May 25, 2017 16:09
Show Gist options
  • Save twaddlac/30f966c83dcb4d8cfabbcb43f2468df5 to your computer and use it in GitHub Desktop.
Save twaddlac/30f966c83dcb4d8cfabbcb43f2468df5 to your computer and use it in GitHub Desktop.
steps used to generate statistics for gabby and laura's data
module load trimmomatic
cd /scratch/at120/gabby-laura-stats/
# for i in $(ls *fastq | perl -pe 's/\.fastq//g'); do mv $i.fastq $(echo $i | perl -pe 's/^C.+l0(\d)n0(\d)_(.+)\.3.+/$3_l$1.r$2.fastq/g'); done
java -jar /share/apps/trimmomatic/0.36/trimmomatic-0.36.jar PE -threads 12 $fastq.r1.fastq $fastq.r2.fastq -baseout $fastq.fastq ILLUMINACLIP:adapters.fa:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment