This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run this script in project root--expected structure: `./fastqc/<sample>/*.zip` | |
# This script aggregates images of each type in individual folders | |
# o looking across data is quick. | |
zips=`ls fastqc/*/*.zip` | |
for i in $zips; do | |
unzip -oq -d "$(dirname "$i")" $i; | |
done |