Created
September 25, 2014 20:21
-
-
Save danielecook/ef2220cc73be7a349583 to your computer and use it in GitHub Desktop.
Generate test FASTQs for developing a pipeline.
This file contains 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
# Generate tiny FASTQs for quick testing. | |
function test_set() { | |
for r in `ls *$1*.fq.gz`; do | |
gunzip -kfc $r | head -n 50000 | gzip > ${r/$1/$2} | |
done; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment